JP4882041B2 - Random number generation system, random number generation method, and computer - Google Patents
Random number generation system, random number generation method, and computer Download PDFInfo
- Publication number
- JP4882041B2 JP4882041B2 JP2007216100A JP2007216100A JP4882041B2 JP 4882041 B2 JP4882041 B2 JP 4882041B2 JP 2007216100 A JP2007216100 A JP 2007216100A JP 2007216100 A JP2007216100 A JP 2007216100A JP 4882041 B2 JP4882041 B2 JP 4882041B2
- Authority
- JP
- Japan
- Prior art keywords
- random number
- generated
- number generation
- random
- time interval
- 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.)
- Active
Links
Images
Description
この発明は、ネットワークにおけるパケット応答時間のランダム性を利用して、真性乱数と同等の再現性を持たない乱数を生成する乱数生成システム、乱数生成方法及びその方法を実現するコンピュータシステムに関するものであり、特に、クライアント側に半導体熱素子を備え或いは真性乱数生成回路等の特殊ハードウエアを備える必要をなくした乱数生成システム、乱数生成方法及びその方法を実現するコンピュータシステムに関するものである。 The present invention relates to a random number generation system, a random number generation method, and a computer system that realizes the method that generate random numbers that do not have reproducibility equivalent to true random numbers by using randomness of packet response time in a network. In particular, the present invention relates to a random number generation system, a random number generation method, and a computer system that implements the method, which do not require a semiconductor thermal element on the client side or special hardware such as a true random number generation circuit.
従来、各種の情報を管理或いは情報通信などを行う分野においては、暗号化セキュリティを図るようになってきており、この暗号化セキュリティにおける「安全な鍵生成」のために、再現性がなく且つ質の高い乱数の生成が必須となっている。旧来にあっては、コンピュータにおいてソフトウエアプログラムにおいて乱数(擬似乱数)の生成を行っているが、係る手法により生成された乱数は再現性がないとは言えず、乱数生成シード(SEED)が知れると簡単に鍵を再生することが可能となり、十分なものではなかった。 Conventionally, in the field of managing various types of information or performing information communication, etc., encryption security has come to be achieved. Due to “safe key generation” in this encryption security, there is no reproducibility and quality. Generation of high random numbers is essential. Traditionally, a computer generates a random number (pseudorandom number) in a software program, but the random number generated by such a method cannot be said to be reproducible, and a random number generation seed (SEED) is known. And it became possible to play the key easily and was not enough.
一方、再現性のない乱数(真性乱数)を得る手法としては、半導体熱素子や真性乱数生成回路等のハードウエアを用いるものがあるが、汎用のパーソナルコンピュータにおいては上記ハードウエアを別途用意する必要があり、より簡易な構成による乱数生成手法の提供が求められている。 On the other hand, as a technique for obtaining a random number with no reproducibility (intrinsic random number), there is a method using hardware such as a semiconductor thermal element or a true random number generation circuit, but a general-purpose personal computer needs to prepare the hardware separately. There is a need to provide a random number generation method with a simpler configuration.
上記ハードウエアを用いる手法に対して、近年においては、ネットワークにおけるクライアント・サーバ間のパケット応答時間のランダム性を乱数抽出源として利用し、真性乱数と同等の乱数を生成する手法が提供されている。この手法の1つとしては、非特許文献1に記載されたものがあり、その手法は、クライアントからサーバへのFTPもしくはHTTP転送要求に対し、サーバはクライアントへ向けてFTPもしくはHTTPパケットを返信し、クライアントは各パケットの到着時刻の計測を幾度か繰り返し、前後する重複のない2つの到着時刻のビット列について、差があるビットのみを抽出して乱数を得るものである。
In contrast to the above-described method using hardware, in recent years, there has been provided a method for generating random numbers equivalent to true random numbers by using the randomness of packet response time between a client and a server in a network as a random number extraction source. . One of these methods is described in
しかしながら、上記非特許文献1で示される手法にあっては、クライント・サーバ間の物理的距離が近い場合には応答時間がランダムになり難いことが容易に予測される上に、同非特許文献1に係る手法により得られた乱数は、必ずしも良質な乱数性能を有するとは限らない旨が、非特許文献2において指摘されている。すなわち、現実的に利用できるような良質な乱数を得るには、何らかの工夫を加える必要があると思料される。
However, in the method shown in
また、非特許文献2と特許文献1には、非特許文献1に記載の手法を改良するものが記載されており、その手法は、クライアントからサーバへパケットを送信し、これに対しサーバから返信されるパケットの到着時刻を計測して、クライアント−サーバ間の応答時間を用いるもので、予測アルゴリズムを用いて過去の応答時間から未来の応答時間を予測し、実測値との差を乱数として利用するものである。しかしながら、この手法にあっては、乱数性能の改善はなされるが、乱数抽出毎にクライアント−サーバ間をパケットが往復する必要があるため、パケット転送負荷が大きく、また一方で、予測アルゴリズム中に高次元の連立方程式を解く過程が含まれるなど、応答時間計測後のクライアント側での処理が重たいという問題がある。
発明が解決しようとする課題は、真性乱数を得るためにはクライアント側に特別のハードウエアを設ける必要があるという点にあり、また、これを避けるための手法であるネットワークにおけるクライアント・サーバ間のパケット応答時間のランダム性を乱数抽出源として利用するものにあっては、クライアント・サーバ間の物理的距離にランダム性が左右され易い点であり、また、これを回避するためにはクライアント側での処理が重たくなるという点である。本発明は係る課題を解決して、クライアント側のハードウエア的な増加或いはソフトウエア的な処理の増加を防ぎ、質の高い乱数を適切に得ることが可能な乱数生成システム、乱数生成方法及びコンピュータシステムを提供することを目的とする。 The problem to be solved by the invention is that it is necessary to provide special hardware on the client side in order to obtain a true random number, and it is a technique for avoiding this between the client and the server in the network. In the case of using the randomness of the packet response time as a random number extraction source, the randomness is easily influenced by the physical distance between the client and the server, and in order to avoid this, the client side It is a point that processing of becomes heavy. The present invention solves such problems, prevents an increase in hardware or software processing on the client side, and can appropriately obtain high-quality random numbers, a random number generation method, and a computer The purpose is to provide a system .
本発明に係る乱数生成システムは、ネットワークを介して到達する送信要求信号に応じて、それぞれランダムな遅延時間の経過後に複数の返信信号を送出するランダム返信手段を備える第1のコンピュータと、ネットワークを介して前記第1のコンピュータに対して送信要求信号を送出し、返送される返信信号の到達時刻または返信信号間の時間間隔を検出し、当該到達時刻情報または時間間隔情報に基づき乱数を生成する乱数生成手段を備える第2のコンピュータとを具備することを特徴とする。 Random number generation system according to the present invention, in response to the transmission request signal arriving via the network, a first computer, each comprising a random reply means for sending a plurality of return signal after a random delay, the network A transmission request signal is transmitted to the first computer, the arrival time of the returned reply signal or the time interval between the reply signals is detected, and a random number is generated based on the arrival time information or the time interval information And a second computer provided with random number generation means.
本発明に係る乱数生成システムでは、乱数生成手段は、送信要求信号の送出を1回実行し、送信要求信号に対して複数回返送される返信信号の到達時刻の全て、または、返信信号間の時間間隔の全てを用いることを特徴とする。 In the random number generation system according to the present invention, the random number generation means executes transmission of the transmission request signal once, and reaches all of the arrival times of the return signals returned between the transmission request signals a plurality of times or between the return signals. All the time intervals are used.
本発明に係る乱数生成システムでは、乱数生成手段は、1つの到達時刻情報または1つの時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a part of a random number bit string in units of one arrival time information or one time interval information, and repeats this to generate a random number of a predetermined length. It is characterized by.
本発明に係る乱数生成システムでは、乱数生成手段は、1つの到達時刻情報または1つの時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a first-stage random value by extracting from one arrival time information or one time interval information, and for the generated first-stage random value, And generating a part of a random number bit string and repeating this to generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、1つの到達時刻情報または1つの時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a first-stage random value by a process using one arrival time information or one time interval information, and from the generated first-stage random value. Extraction is performed to generate a part of a random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、複数の到達時刻情報または複数の時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a part of a random number bit string in units of a plurality of arrival time information or a plurality of time interval information, and repeats this to generate a random number of a predetermined length. It is characterized by.
本発明に係る乱数生成システムでは、乱数生成手段は、複数の到達時刻情報または複数の時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a first-stage random value by extracting from a plurality of arrival time information or a plurality of time interval information, and for the generated first-stage random value, And generating a part of a random number bit string and repeating this to generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、複数の到達時刻情報または複数の時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a first-stage random value by processing using a plurality of arrival time information or a plurality of time interval information, and from the generated first-stage random value Extraction is performed to generate a part of a random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、送信要求信号の送出を1回実行し、送信要求信号に対して複数回返送される返信信号の到達時刻情報の全てから所定ルールで選択または排除を行って得た所定数の到達時刻情報、または、返信信号間の時間間隔情報の全てから所定ルールで選択または排除を行って得た所定数の時間間隔情報を用いることを特徴とする。 In the random number generation system according to the present invention, the random number generation means executes transmission of the transmission request signal once, and selects from all the arrival time information of the return signal that is returned a plurality of times in response to the transmission request signal according to a predetermined rule. A predetermined number of time interval information obtained by selecting or excluding a predetermined number of arrival time information obtained by exclusion or time interval information between reply signals according to a predetermined rule is used.
本発明に係る乱数生成システムでは、乱数生成手段は、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a part of a random number bit string in units of one arrival time information or one time interval information obtained by selection or exclusion according to a predetermined rule. To generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a first-stage random number value by extracting from one arrival time information or one time interval information obtained by selecting or eliminating according to a predetermined rule, Processing is performed on the generated first-stage random number value to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
乱数生成手段は、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 The random number generation means generates a first-stage random value by processing using one arrival time information or one time interval information obtained by selecting or eliminating according to a predetermined rule, and the generated first-stage random number Extracting from a numerical value generates a part of a random number bit string and repeats this to generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a part of a random number bit string in units of a plurality of arrival time information or a plurality of time interval information obtained by selection or exclusion according to a predetermined rule. To generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a first-stage random number value by extracting from a plurality of arrival time information or a plurality of time interval information obtained by performing selection or exclusion according to a predetermined rule, Processing is performed on the generated first-stage random number value to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係る乱数生成システムでは、乱数生成手段は、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation system according to the present invention, the random number generation means generates a first-stage random number value by processing using a plurality of arrival time information or a plurality of time interval information obtained by selection or exclusion according to a predetermined rule. Then, extraction is performed from the generated first-stage random number value to generate a part of a random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係る乱数生成方法は、ネットワークを介して到達する送信要求信号に応じて、それぞれランダムな遅延時間の経過後に複数の返信信号を送出するランダム返信手段を備える第1のコンピュータと、ネットワークを介して前記第1のコンピュータに対して送信要求信号を送出し、返送される返信信号の到達時刻または返信信号間の時間間隔を検出する第2のコンピュータとを使用し、前記第2のコンピュータにおいて、当該到達時刻情報または時間間隔情報に基づき乱数を生成することを特徴とする。 Random number generating method according to the present invention includes a first computer having a random reply means in response to the transmission request signal arriving via the network, and sends a plurality of reply signals after a random delay time, respectively, the network The second computer for transmitting a transmission request signal to the first computer via the second computer and detecting the arrival time of the return signal to be returned or the time interval between the return signals. A random number is generated based on the arrival time information or the time interval information.
本発明に係る乱数生成方法では、乱数生成の際には、送信要求信号の送出を1回実行し、送信要求信号に対して複数回返送される返信信号の到達時刻の全て、または、返信信号間の時間間隔の全てを用いることを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, transmission of the transmission request signal is executed once, and all of the arrival times of the return signals returned to the transmission request signal a plurality of times or the return signal All of the time intervals between are used.
本発明に係る乱数生成方法では、乱数生成の際には、1つの到達時刻情報または1つの時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, when generating random numbers, a part of a random number bit string is generated with one arrival time information or one time interval information as a unit, and this is repeated to generate a random number of a predetermined length. It is characterized by doing.
本発明に係る乱数生成方法では、乱数生成の際には、1つの到達時刻情報または1つの時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, a first-stage random value is generated by extracting from one arrival time information or one time interval information, and the generated first-stage random value is generated. To generate a part of a random number bit string, and repeat this process to generate a random number of a predetermined length.
本発明に係る乱数生成方法では、乱数生成の際には、1つの到達時刻情報または1つの時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, a first-stage random number value is generated by processing using one arrival time information or one time interval information, and the generated first-stage random number is generated. Extracting from a numerical value generates a part of a random number bit string and repeats this to generate a random number of a predetermined length.
本発明に係る乱数生成方法では、乱数生成の際には、複数の到達時刻情報または複数の時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, when generating random numbers, a part of a random number bit string is generated in units of a plurality of arrival time information or a plurality of time interval information, and this is repeated to generate a random number of a predetermined length. It is characterized by doing.
本発明に係る乱数生成方法では、乱数生成の際には、複数の到達時刻情報または複数の時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, when generating a random number, a first-stage random value is generated by extracting from a plurality of arrival time information or a plurality of time interval information, and the generated first-stage random value is generated. To generate a part of a random number bit string, and repeat this process to generate a random number of a predetermined length.
本発明に係る乱数生成方法では、乱数生成の際には、複数の到達時刻情報または複数の時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, when generating a random number, a first-stage random number value is generated by processing using a plurality of arrival time information or a plurality of time interval information, and the generated first-stage random number is generated. Extracting from a numerical value generates a part of a random number bit string and repeats this to generate a random number of a predetermined length.
本発明に係る乱数生成方法では、乱数生成の際には、送信要求信号の送出を1回実行し、送信要求信号に対して複数回返送される返信信号の到達時刻情報の全てから所定ルールで選択または排除を行って得た所定数の到達時刻情報、または、返信信号間の時間間隔情報の全てから所定ルールで選択または排除を行って得た所定数の時間間隔情報を用いることを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, the transmission request signal is transmitted once, and the arrival time information of the return signal returned multiple times in response to the transmission request signal is determined according to a predetermined rule. A predetermined number of arrival time information obtained by performing selection or exclusion, or a predetermined number of time interval information obtained by performing selection or exclusion according to a predetermined rule from all the time interval information between reply signals, To do.
本発明に係る乱数生成方法では、乱数生成の際には、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする請求項24に記載の乱数生成方法。
In the random number generation method according to the present invention, when generating random numbers, a part of a random number bit string is generated in units of one arrival time information or one time interval information obtained by selection or exclusion according to a predetermined rule. 25. The random number generation method according to
本発明に係る乱数生成方法では、乱数生成の際には、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, a first-stage random number value is generated by extracting from one arrival time information or one time interval information obtained by selection or exclusion according to a predetermined rule. Then, processing is performed on the generated first-stage random number value to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係る乱数生成方法では、乱数生成の際には、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, the random number value of the first stage is obtained by processing using one arrival time information or one time interval information obtained by selecting or eliminating according to a predetermined rule. And generating a part of a random number bit string by extracting from the generated first-stage random number value, and generating a random number of a predetermined length by repeating this.
本発明に係る乱数生成方法では、乱数生成の際には、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, when generating a random number, a part of a random number bit string is generated in units of a plurality of arrival time information or a plurality of time interval information obtained by selection or exclusion according to a predetermined rule. This is repeated to generate a random number of a predetermined length.
本発明に係る乱数生成方法では、乱数生成の際には、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, a first-stage random number value is generated by extracting from a plurality of arrival time information or a plurality of time interval information obtained by selection or exclusion according to a predetermined rule. Then, processing is performed on the generated first-stage random number value to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係る乱数生成方法では、乱数生成の際には、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the random number generation method according to the present invention, at the time of random number generation, the random number value of the first stage is obtained by processing using a plurality of arrival time information or a plurality of time interval information obtained by performing selection or exclusion according to a predetermined rule. And generating a part of a random number bit string by extracting from the generated first-stage random number value, and generating a random number of a predetermined length by repeating this.
本発明に係るコンピュータシステムは、ネットワークを介して到達する送信要求信号に応じて、それぞれランダムな遅延時間の経過後に複数の返信信号を送出するランダム返信手段を備える第1のコンピュータと、ネットワークを介して前記第1のコンピュータに対して送信要求信号を送出し、応答に基づき乱数を生成する第2のコンピュータにより構成されるコンピュータシステムであって、第2のコンピュータは、返送される返信信号の到達時刻または返信信号間の時間間隔を検出し、当該到達時刻情報または時間間隔情報に基づき乱数を生成する乱数生成手段を備えることを特徴とする。 Computer system according to the present invention, in response to the transmission request signal arriving via the network, a first computer provided with a random reply means for sending a plurality of return signal after a random delay time, respectively, via the network a transmission request signal is sent to the first computer Te, a computer system composed of a second computer for generating a random number based on the response, the second computer, the arrival of the reply signal is sent back Random number generation means for detecting a time interval between times or reply signals and generating a random number based on the arrival time information or the time interval information is provided.
本発明に係るコンピュータシステムでは、乱数生成手段は、送信要求信号の送出を1回実行し、送信要求信号に対して複数回返送される返信信号の到達時刻の全て、または、返信信号間の時間間隔の全てを用いることを特徴とする。 In the computer system according to the present invention, the random number generating means executes transmission of the transmission request signal once, and all of the arrival times of the return signals returned to the transmission request signal a plurality of times or the time between the return signals. All of the intervals are used.
本発明に係るコンピュータシステムでは、乱数生成手段は、1つの到達時刻情報または1つの時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a part of a random number bit string in units of one arrival time information or one time interval information, and repeats this to generate a random number of a predetermined length. Features.
本発明に係るコンピュータシステムでは、乱数生成手段は、1つの到達時刻情報または1つの時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random value by extracting from one arrival time information or one time interval information, and for the generated first-stage random value, Processing is performed to generate a part of a random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係るコンピュータシステムでは、乱数生成手段は、1つの到達時刻情報または1つの時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random value by a process using one arrival time information or one time interval information, and extracts from the generated first-stage random value. To generate a part of a random number bit string and repeat this to generate a random number of a predetermined length.
本発明に係るコンピュータシステムでは、乱数生成手段は、複数の到達時刻情報または複数の時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a part of a random number bit string in units of a plurality of arrival time information or a plurality of time interval information, and repeats this to generate a random number of a predetermined length. Features.
本発明に係るコンピュータシステムでは、乱数生成手段は、複数の到達時刻情報または複数の時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random value by extracting from a plurality of arrival time information or a plurality of time interval information, and for the generated first-stage random value, Processing is performed to generate a part of a random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係るコンピュータシステムでは、乱数生成手段は、複数の到達時刻情報または複数の時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random value by processing using a plurality of arrival time information or a plurality of time interval information, and extracts from the generated first-stage random value. To generate a part of a random number bit string and repeat this to generate a random number of a predetermined length.
本発明に係るコンピュータシステムでは、乱数生成手段は、送信要求信号の送出を1回実行し、送信要求信号に対して複数回返送される返信信号の到達時刻情報の全てから所定ルールで選択または排除を行って得た所定数の到達時刻情報、または、返信信号間の時間間隔情報の全てから所定ルールで選択または排除を行って得た所定数の時間間隔情報を用いることを特徴とする。 In the computer system according to the present invention, the random number generation means executes transmission of the transmission request signal once, and selects or excludes according to a predetermined rule from all arrival time information of the return signal returned in response to the transmission request signal. A predetermined number of time interval information obtained by selecting or excluding a predetermined number of arrival time information obtained by performing a predetermined rule from all of the time interval information between reply signals is used.
本発明に係るコンピュータシステムでは、乱数生成手段は、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a part of a random number bit string in units of one arrival time information or one time interval information obtained by selection or exclusion according to a predetermined rule. A random number having a predetermined length is repeatedly generated.
本発明に係るコンピュータシステムでは、乱数生成手段は、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random number value by extracting from one arrival time information or one time interval information obtained by selection or exclusion according to a predetermined rule. The first stage random number value is processed to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係るコンピュータシステムでは、乱数生成手段は、所定ルールで選択または排除を行って得た1つの到達時刻情報または1つの時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random number value by processing using one arrival time information or one time interval information obtained by selecting or eliminating according to a predetermined rule, Extraction is performed from the generated first-stage random number value to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係るコンピュータシステムでは、乱数生成手段は、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報を単位として乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a part of a random number bit string in units of a plurality of arrival time information or a plurality of time interval information obtained by selection or exclusion according to a predetermined rule. A random number having a predetermined length is repeatedly generated.
本発明に係るコンピュータシステムでは、乱数生成手段は、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報から抽出して第1段階の乱数値を生成し、生成された第1段階の乱数値に対して処理を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random number value by extracting from a plurality of arrival time information or a plurality of time interval information obtained by selecting or eliminating according to a predetermined rule. The first stage random number value is processed to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明に係るコンピュータシステムでは、乱数生成手段は、所定ルールで選択または排除を行って得た複数の到達時刻情報または複数の時間間隔情報を用いた処理により第1段階の乱数値を生成し、生成された第1段階の乱数値から抽出を行って乱数のビット列の一部を生成し、これを繰り返して所定長の乱数を生成することを特徴とする。 In the computer system according to the present invention, the random number generation means generates a first-stage random number value by processing using a plurality of arrival time information or a plurality of time interval information obtained by performing selection or exclusion according to a predetermined rule, Extraction is performed from the generated first-stage random number value to generate a part of the random number bit string, and this is repeated to generate a random number of a predetermined length.
本発明によれば、ネットワークを介して到達する送信要求信号に応じて、ランダムな遅延時間の経過後に返信信号を送出するコンピュータを採用しているために、送信要求を行う側には特別な構成を備えることなく、返信信号の到達時刻或いは返信信号の到達時と送信要求信号の送出時との時間間隔がランダムな値となり、これを用いて生成された乱数は真性乱数と同等の再現性を持たない乱数となる効果を奏する。特にコンピュータ間が近接しているような場合においても、再現性のない良質な乱数を得ることができるという効果がある。更に、送信要求を行う側の構成が増加することがないため、ICカードや小型端末器への応用が容易であるという効果がある。 According to the present invention, a computer that sends a reply signal after a random delay time elapses in response to a transmission request signal that arrives via a network is employed. The random time generated using the return signal arrival time or the time interval between the arrival of the return signal and the transmission request signal is a random value. The effect is a random number that does not have. In particular, even when computers are close to each other, there is an effect that a high-quality random number without reproducibility can be obtained. Furthermore, since the configuration on the transmission request side does not increase, there is an effect that application to an IC card or a small terminal is easy.
本発明では、送信要求信号の到達を受けて返信号を送出する側のコンピュータに、送信要求信号に応じてランダムな遅延時間の経過後に返信信号を送出する構成を採用することで、クライアント側のハードウエア的な増加或いはソフトウエア的な処理の増加を防ぎ、質の高い乱数を適切に得るという目的を達成したものである。以下添付図面を参照して、本発明に係る乱数生成システム、乱数生成方法及びコンピュータの実施例を説明する。各図において同一の構成要素には同一の符号を付し、重複する説明を省略する。 In the present invention, by adopting a configuration in which a reply signal is transmitted after a random delay time elapses in accordance with the transmission request signal, on the computer that transmits a return signal upon arrival of the transmission request signal, This achieves the purpose of appropriately obtaining high-quality random numbers by preventing an increase in hardware or software processing. Embodiments of a random number generation system, a random number generation method, and a computer according to the present invention will be described below with reference to the accompanying drawings. In the drawings, the same components are denoted by the same reference numerals, and redundant description is omitted.
図1に第1の実施例に係る乱数生成システムの構成図を示す。ネットワーク1に対し、サーバ(第1のコンピュータ)2とクライアント(第2のコンピュータ)3とが接続されている。サーバ2には、ネットワーク1を介して送られてくる信号を受信する受信手段21が備えられ、更に、ランダム返信手段22が備えられている。
FIG. 1 shows a configuration diagram of a random number generation system according to the first embodiment. A server (first computer) 2 and a client (second computer) 3 are connected to the
ランダム返信手段22は、ネットワーク1を介して到達する送信要求信号の到達毎に、ランダムな遅延時間の経過後に返信信号を送出するものである。ランダムな遅延時間を経過させるため、ランダム値機構23が備えられており、ランダム値機構23は受信手段21がネットワーク1を介して送信要求信号を受信したことに応じて、受信手段21から更新信号が与えられ、ランダム値を更新する。ランダム返信手段22は、受信手段21から返信指示を受けると、ランダム値機構23を参照し或いはランダム値機構23の出力を受けてランダム値を得る。
The random reply means 22 sends a reply signal after a random delay time elapses every time a transmission request signal arrives via the
ランダム値機構23は、当該サーバ2以外に開示されないシードから擬似乱数を生成するアルゴリズムを実現するソフトウエアプログラム、或いは当該サーバ2に接続された乱数生成用のハードウエアなどの公知の構成により実現される。また、擬似乱数生成アルゴリズムに提供する乱数シード、乱数生成用ハードウエアに対する入力値としては、受信手段21が送信要求信号を受け取った時刻情報における下位ビット(所定ビット数)を用いること、または送信要求信号の到達を受けてカウントアップするカウンタの出力を用いることなどが可能である。
The
一方、クライアント3には、統括制御手段31による制御によりサーバ2に対して送信要求を送出する送信手段32、返信信号を受け取る受信手段33が備えられている。更にクライアント3には、検出手段34、乱数値出力手段35、乱数列記憶手段36が備えられている。上記の検出手段34、乱数値出力手段35及び乱数列記憶手段36は、乱数生成手段4を構成する。
On the other hand, the
検出手段34は、統括制御手段31により制御されて稼働状態となり、サーバ2から返送される返信信号の到達時刻情報または返信信号間の時間間隔情報を検出するものである。乱数値出力手段35は、統括制御手段31により制御されて稼働状態となり、検出手段34により検出される到達時刻情報または時間間隔情報に基づき乱数値を生成して出力するものである。乱数列記憶手段36は、所要ビット長の乱数列が記憶されるものであり、この乱数列記憶手段36に対し、乱数値出力手段35が生成し出力した所定ビットが所定に順にセットされて所要ビットの長さを持つ乱数列が作成されるものである。
The
以上の通りに構成された乱数生成システムにおいて、サーバ2は図2または図3に示されるフローチャートに対応するプログラムにより動作するので、これらのフローチャートに基づき動作説明を行う。
In the random number generation system configured as described above, the
サーバ2では受信手段21が図2に示すように送信要求信号の到達を監視しており(S1)、送信要求信号が到達すると受信手段21は返信指示をランダム返信手段22へ与えると共に、ランダム値機構23へ通知を行いランダム値の更新を行い、ランダム返信手段22がランダム値機構23を参照し或いはランダム値機構23の出力を受けてランダム値を得る(S2)。
In the
ステップS3においてランダム返信手段22は、取得したランダム値対応の時間経過を監視し(S3)、ランダム値対応の時間経過があるとクライアント3を宛先とする返信信号をネットワーク1を介して送出する(S4)。このような返信信号の送信手法は、ピンポン型の返信と称することができ、図4に示すように、要求信号と返信信号が対になって処理が進行する。
In step S3, the random reply means 22 monitors the time lapse corresponding to the acquired random value (S3), and when there is a lapse of time corresponding to the random value, sends a reply signal addressed to the
これに対して、図3のフローチャートに示すように、ステップS4において返信信号を送信した後に、予め設定された所定回数の返信信号を送信したかについて検出を行い(S5)、所定回数に満たなければステップS2へ戻って処理を繰り返すことにより、所定数の返信信号の送信を行う。このような返信信号の送信手法は、連射型の返信と称することができ、図5に示すように、一度の要求信号に対し複数の返信信号が連射されるが如くに送信されて処理が進行する。以下の実施例では、この連射型と称される返信信号の送信手法を採用したものとする。 On the other hand, as shown in the flowchart of FIG. 3, after transmitting a reply signal in step S4, it is detected whether a predetermined number of reply signals have been transmitted (S5). For example, by returning to step S2 and repeating the process, a predetermined number of reply signals are transmitted. Such a reply signal transmission method can be referred to as a continuous reply, and as shown in FIG. 5, a plurality of reply signals are transmitted in a single request signal, and the process proceeds. To do. In the following embodiments, it is assumed that a transmission method of a return signal called a continuous fire type is adopted.
以上のサーバ2による処理に対して、クライアント3の処理は、図6のフローチャートに示すように行われる。クライアント3における統括制御手段31は図6に示すように乱数生成のトリガ発生を検出し(S11)、例えば乱数生成の指示入力がキーボード操作などによりなされた場合に乱数生成のトリガ発生ありと判定してYESへ分岐し、各手段を稼働状態とすると共に送信手段32へ送信の指示を与える。これにより、送信手段32はサーバ2を宛先として送信要求信号を送出する(S12)。
In contrast to the processing by the
上記に対してクライアント3では、受信手段33が返信信号の到達を監視しており(S13)、返信信号の到達があると受信手段33は受け取りを検出手段34へ通知し、時刻タイマ(時計)による到達時刻情報の検出または時間間隔タイマによる時間間隔情報の検出を実行させる(S15)。時間間隔タイマの起動は、連射型であるため、初期時には返信要求信号の送信時、その後においては、返信信号の到達時である。このステップS15の後には、連射型の返信であるため、ステップS13からステップS15が所定回数繰り返される(S16)。
On the other hand, in the
<実施例A>
以上のような検出手段の処理に対し、乱数値出力手段35では、図7に示されるように、検出された全ての到達時刻情報または全ての時間間隔情報を用いて乱数生成を行う(S17)。
<Example A>
In contrast to the processing of the detecting means as described above, the random value output means 35 generates random numbers using all detected arrival time information or all time interval information as shown in FIG. 7 (S17). .
<実施例A−1>
この実施例A−1は、実施例Aをより具体化し詳細にしたものであり、図8に示されるように、1つの到達時刻情報または1つの時間間隔情報を単位として乱数のビット列の一部を生成し(S19)、これを乱数のビット列に配置し(S20)、所定長となったかを検出し(S21)、所定長となるまでステップS19、S20を繰り返して乱数を得るというものである。
<Example A-1>
The embodiment A-1 is a more specific and detailed embodiment A. As shown in FIG. 8, a part of a random number bit string with one arrival time information or one time interval information as a unit. Is generated (S19), is placed in a random number bit string (S20), is detected whether a predetermined length is reached (S21), and steps S19 and S20 are repeated until the predetermined length is obtained to obtain a random number. .
この実施例A−1の具体例としては、(抽出例1)情報(到達時刻情報、時間間隔情報)の最下位1ビットを抽出し、乱数列の最上位ビットからセットする。(抽出例2)情報の最下位から2ビット目と最下位から4ビット目を抽出し、2ビットを乱数列の最上位ビットからセットする。(抽出例3)情報の最下位から上位方向へ3ビットを抽出し、この3ビットを乱数列の最上位ビットからセットする。(抽出例4)情報の全ビットを抽出し、この全ビットを乱数列の最上位ビットからセットする、などを挙げることができる。また、情報に対し所定関数により処理を行って乱数ビット列の一部としても良い。 As a specific example of the embodiment A-1, the least significant 1 bit of (extraction example 1) information (arrival time information, time interval information) is extracted and set from the most significant bit of the random number sequence. (Extraction example 2) The second bit and the fourth bit from the least significant bit of the information are extracted, and 2 bits are set from the most significant bit of the random number sequence. (Extraction example 3) Three bits are extracted from the least significant to the most significant, and these three bits are set from the most significant bit of the random number sequence. (Extraction example 4) All bits of information can be extracted, and all the bits can be set from the most significant bit of the random number sequence. Further, the information may be processed by a predetermined function to be a part of the random number bit string.
<実施例A−1−1>
この実施例A−1−1は、実施例A−1の下位概念に属する実施例である。図9に示されるように、1つの到達時刻情報または1つの時間間隔情報を単位として抽出により第1段階の乱数のビット列を得て(S22)、これを処理して得られた値を、乱数のビット列に配置し(S23)、所定長となったかを検出し(S24)、所定長となるまでステップS22、S23を繰り返して乱数を得るというものである。
<Example A-1-1>
This Example A-1-1 is an example belonging to the subordinate concept of Example A-1. As shown in FIG. 9, a first-stage random number bit string is obtained by extraction using one arrival time information or one time interval information as a unit (S22), and the value obtained by processing this is represented by a random number. (S23), it is detected whether or not a predetermined length is reached (S24), and steps S22 and S23 are repeated until the predetermined length is reached to obtain a random number.
ステップS22における抽出は、実施例A−1において説明した通りの抽出例1〜4の手法によることができる。また、ステップS23における処理としては、(処理例1)抽出される値に対応した適当な数値を記憶させた変換テーブルを用いるもの、(処理例2)抽出された値を引数として適当な関数(一次関数、二次関数など算術演算、或いは論理演算など任意の関数)により処理を行って結果を得るもの、(処理例3)シードとして公知の擬似乱数生成法を用いて擬似乱数を生成させるもの、(処理例4)抽出された値を入力とする真性乱数生成器の出力を用いるものなどを挙げることができる。 The extraction in step S22 can be performed by the methods of extraction examples 1 to 4 as described in Example A-1. Further, the processing in step S23 includes (processing example 1) using a conversion table storing an appropriate numerical value corresponding to the extracted value, and (processing example 2) an appropriate function (using the extracted value as an argument). (Actual operation such as linear function, quadratic function, or any function such as logical operation) to obtain the result, (Processing Example 3) Generate pseudo-random number using known pseudo-random number generation method as seed , (Processing Example 4) that uses the output of a true random number generator that receives the extracted value.
<実施例A−1−2>
この実施例A−1−2も、実施例A−1の下位概念に属する実施例である。図10に示されるように、1つの到達時刻情報または1つの時間間隔情報を用いた処理により乱数のビット列を生成し(S25)、生成された乱数から抽出により得られた値を、乱数のビット列に配置し(S26)、所定長となったかを検出し(S27)、所定長となるまでステップS25、S26を繰り返して乱数を得るというものである。
<Example A-1-2>
This Example A-1-2 is also an example belonging to the subordinate concept of Example A-1. As shown in FIG. 10, a random number bit string is generated by processing using one arrival time information or one time interval information (S25), and a value obtained by extraction from the generated random number is converted into a random bit string. (S26), it is detected whether the predetermined length has been reached (S27), and steps S25 and S26 are repeated until the predetermined length is reached to obtain a random number.
具体的には、実施例A−1−1における処理例1〜4などをステップS25において行い、実施例A−1における抽出例1〜4などをステップS26において行う。 Specifically, processing examples 1 to 4 in Example A-1-1 are performed in step S25, and extraction examples 1 to 4 in Example A-1 are performed in step S26.
<実施例A−2>
この実施例A−2は、実施例Aをより具体化し詳細にしたものであり、図11に示されるように、複数の到達時刻情報または複数の時間間隔情報を単位として乱数のビット列の一部を生成し(S31)、これを乱数のビット列に配置し(S32)、所定長となったかを検出し(S33)、所定長となるまでステップS31、S32を繰り返して乱数を得るというものである。
<Example A-2>
The embodiment A-2 is a more specific and detailed embodiment A. As shown in FIG. 11, a part of a random number bit string in units of a plurality of arrival time information or a plurality of time interval information. Is generated (S31), is placed in a random number bit string (S32), is detected whether a predetermined length is reached (S33), and steps S31 and S32 are repeated until the predetermined length is obtained to obtain a random number. .
この実施例A−2における「複数」の具体例としては、到達時刻情報(または、時間間隔情報)の第1番目と第3番目、第2番目と第4番目、・・・というように一つおきの情報を利用するもの、第1番目、第3番目及び第5番目の3情報を一組とし、第2番目、第4番目及び第6番目の3情報を一組とし、・・・というように3情報を一組として用いるものを挙げることができる。 As a specific example of “plurality” in the embodiment A-2, first and third arrival time information (or time interval information), second and fourth, etc. Using every other information, 1st, 3rd and 5th 3 information as a set, 2nd, 4th and 6th 3 information as a set, ... Thus, there can be mentioned one using three pieces of information as a set.
また、実施例A−2における「生成」の具体例を説明する。例えば、情報の第1番目と第3番目、第2番目と第4番目、・・・を用いる場合には、各情報の下位1ビットを抽出し、各ビットをそのままの順で或いは順を逆さにして乱数列の最上位ビットからセットする。先に説明した抽出例2〜4を用いて、抽出した値をそのままの順で或いは順を変更して乱数列の最上位ビットからセットするようにしても良い。 A specific example of “generation” in Example A-2 will be described. For example, when using the first and third information, the second and fourth information, etc., the lower 1 bit of each information is extracted, and each bit is left as it is or in reverse order. Set from the most significant bit of the random number sequence. Using the extraction examples 2 to 4 described above, the extracted values may be set from the most significant bit of the random number sequence in the order as they are or by changing the order.
<実施例A−2−1>
この実施例A−2−1は、実施例A−2の下位概念に属する実施例である。図12に示されるように、複数の到達時刻情報または複数の時間間隔情報を単位として抽出により第1段階の乱数のビット列を得て(S34)、これを処理して得られた値を、乱数のビット列に配置し(S35)、所定長となったかを検出し(S36)、所定長となるまでステップS22、S23を繰り返して乱数を得るというものである。
<Example A-2-1>
This Example A-2-1 is an example belonging to the subordinate concept of Example A-2. As shown in FIG. 12, a bit string of a first stage random number is obtained by extraction using a plurality of arrival time information or a plurality of time interval information as a unit (S34), and the value obtained by processing this is obtained as a random number. (S35), it is detected whether or not a predetermined length has been reached (S36), and steps S22 and S23 are repeated until the predetermined length is reached to obtain a random number.
上記ステップS34における「抽出」にあっては、実施例A−2において説明した抽出手法を用いることができる。また、上記ステップS35における「処理」としては、既述のテーブル変換、関数処理(算術演算、論理演算)、擬似乱数生成、真性乱数生成等を挙げることができる。一つの例として、「抽出」により得られた情報の第1番目と第3番目をx1、x3とすると、x1とx3との排他的論理和演算を行って乱数列の一部を得ると共に、第2番目と第4番目、・・・についても同様に処理を行う。 For the “extraction” in step S34, the extraction method described in Example A-2 can be used. Examples of the “processing” in step S35 include table conversion, function processing (arithmetic operation, logical operation), pseudorandom number generation, and true random number generation. As an example, if the first and third information obtained by “extraction” are x1 and x3, an exclusive OR operation of x1 and x3 is performed to obtain a part of the random number sequence, The same processing is performed for the second, fourth,...
また、「抽出」により情報の第1番目は最下位ビットを抽出してx1とし、第3番目では全ビットを抽出してx3とし、第3番目の全ビットx3を演算処理し結果y3を得て、x1とy3を結合(並べる)して乱数列の一部を得ると共に、第2番目と第4番目、・・・についても同様に処理を行う。また別の例では、「抽出」により情報の第1番目と第3番目はそれぞれ最下位ビットを抽出してx1、x3とし、第5番目では全ビットを抽出してx5とする。x3についてはテーブル変換で結果y3を得る一方、x5については擬似乱数生成法により結果y5を得て、これらx1、y3、y5を結合した値を入力とする真性乱数生成器の出力を乱数列の一部とすると共に、第2番目と第4番目と第6番目、・・・についても同様に処理を行う。 In addition, by extracting, the first least significant bit of information is extracted as x1 and the third is extracted as all bits x3, and the third all bit x3 is arithmetically processed to obtain a result y3. Then, x1 and y3 are combined (arranged) to obtain a part of the random number sequence, and the second, fourth,. In another example, the first and third pieces of information extracted by “extraction” respectively extract the least significant bit as x1 and x3, and the fifth extracts all bits as x5. For x3, the result y3 is obtained by table conversion, while for x5, the result y5 is obtained by the pseudo-random number generation method, and the output of the true random number generator having the input value obtained by combining these x1, y3, and y5 as the input In addition, the second, fourth, sixth,... Are processed in the same manner.
<実施例A−2−2>
この実施例A−2−2も、実施例A−2の下位概念に属する実施例である。図13に示されるように、複数の到達時刻情報または複数の時間間隔情報を用いた処理により乱数のビット列を生成し(S37)、生成された乱数から抽出により得られた値を、乱数のビット列に配置し(S38)、所定長となったかを検出し(S39)、所定長となるまでステップS37、S38を繰り返して乱数を得るというものである。
<Example A-2-2>
This Example A-2-2 is also an example belonging to the subordinate concept of Example A-2. As shown in FIG. 13, a random number bit string is generated by a process using a plurality of arrival time information or a plurality of time interval information (S37), and a value obtained by extraction from the generated random number is converted into a random number bit string. (S38), it is detected whether or not a predetermined length has been reached (S39), and steps S37 and S38 are repeated until the predetermined length is reached to obtain a random number.
ステップS37の処理では、複数の到達時刻情報または複数の時間間隔情報を結合し、既述のテーブル変換、関数処理(算術演算、論理演算)、擬似乱数生成、真性乱数生成等により処理することを挙げることができる。第1の例として、情報の第1番目と第3番目をx1、x3とすると、x1とx3との算術演算を行ってこの結果をy13とし、第2番目と第4番目、・・・についても同様に演算を行う。また、情報の第1番目と第3番目をx1、x3とすると、x1とx3との排他的論理和演算を行ってこの結果をz13とし、第2番目と第4番目、・・・についても同様に演算を行うものであっても良い。 In the process of step S37, a plurality of arrival time information or a plurality of time interval information are combined and processed by the above-described table conversion, function processing (arithmetic operation, logical operation), pseudorandom number generation, intrinsic random number generation, or the like. Can be mentioned. As a first example, if the first and third information are x1 and x3, the arithmetic operation of x1 and x3 is performed and the result is y13, and the second, fourth,... Performs the same operation. If the first and third information are x1 and x3, the exclusive OR operation of x1 and x3 is performed and the result is z13, and the second, fourth,. Similarly, an operation may be performed.
ステップ38の「抽出」においては、上記算術演算によりy13を得た例では、このy13の最下位から2ビット目と4ビット目を抽出することを例として挙げることができる。また、排他的論理和の結果z13を得た例では、このz13をそのまま乱数列の一部として用いることを例として挙げることができる。 In the “extraction” in step 38, in the example where y13 is obtained by the above arithmetic operation, extraction of the second and fourth bits from the least significant bit of y13 can be cited as an example. Further, in the example in which the exclusive OR result z13 is obtained, this z13 can be used as a part of the random number sequence as an example.
<実施例B>
以上のような実施例A系統では、到達時刻情報または時間間隔情報の検出により得られた情報を全て用いるものであった。これに対し、実施例Bでは、全ての到達時刻情報または全ての時間間隔情報の中から或るルールにより選択した到達時刻情報または時間間隔情報を用いる。即ち、図14に示すようにクライアント3Bには、選択ルール情報30が備えられ、乱数値出力手段35Bがこの選択ルール情報30を用いて選択を行う。
<Example B>
In the system of Example A as described above, all information obtained by detecting arrival time information or time interval information is used. On the other hand, in the embodiment B, arrival time information or time interval information selected according to a certain rule from all arrival time information or all time interval information is used. That is, as illustrated in FIG. 14, the
先に図4〜図7に示すような検出手段の処理に対し、乱数値出力手段35Bでは、図15に示されるように、検出された全ての到達時刻情報または全ての時間間隔情報から選択ルール情報30に基づき選択した到達時刻情報または時間間隔情報を用いて乱数生成を行う(S40)。 In contrast to the processing of the detection means as shown in FIGS. 4 to 7, the random value output means 35B selects a rule based on all detected arrival time information or all time interval information as shown in FIG. Random number generation is performed using arrival time information or time interval information selected based on the information 30 (S40).
選択ルール情報30としては、予め固定的に決定して備えることができる。例えば、(ルール1)偶数番目を排除する、(ルール2)5の倍数番目を排除する、(ルール3)3n+1(n≧1)を選択する等を挙げることができる。
The
選択ルール情報30としては、選択に際してその都度ユーザが決定して備えることができる。(決定手法1)無作為にキーボード入力を行ったりマウス操作を行ったりして得られた値を選択(或いは排除)する情報の序数とする。(決定手法2)決定手法1により得られた値をシードとする擬似乱数生成法により得られた値を選択(或いは排除)する情報の序数とする。(決定手法3)決定手法1により得られた値をシードとする真性乱数生成器により得られた値を選択(或いは排除)する情報の序数とする。(決定手法4)決定手法1により得られた値に基づき、コンピュータにより乱数生成を行わせて得られた値を選択(或いは排除)する情報の序数とする。上記決定手法1〜4を複合的に用いるなどが考えられる。複合的にとは、最初は決定手法1、次には決定手法2、・・・というようなものや、決定手法4により得られた値を決定手法2の入力として用いるようなものが考えられる。
The
その他、システムのみが知り得る情報や過去に生成された乱数を入力として決定手法2〜4などを用いて決定する手法などが用いられる。システムのみが知り得る情報とは、決定手法に入力したことが他に知られていないことを意味するもので、例えば時刻などのように他が知り得ても、何時の時刻が採用されたかを知られていなければ良いものである。図16には、選択ルール情報30により選択を行って、各回の抽出データについて「選択」と「廃棄」を決定した結果の一例が示されている。一見して、選択がランダムになされた如くの結果を呈している。
In addition, a method that uses information that can be known only by the system or a random number generated in the past as an input and that uses
<実施例B−1>
この実施例B−1は、実施例Bをより具体化し詳細にしたものであり、実施例A−1のフローチャートである図8に示される処理を行う。選択された到達時刻情報または時間間隔情報についての処理である点を除き全く同じ動作が行われるので、説明を省略する。
<Example B-1>
This Example B-1 is a more specific and detailed example B, and performs the process shown in FIG. 8 which is a flowchart of the Example A-1. Exactly the same operation is performed except that it is a process for the selected arrival time information or time interval information, and the description thereof will be omitted.
<実施例B−1−1>
この実施例B−1−1は、実施例B−1の下位概念に属する実施例である。この実施例B−1−1では、実施例A−1−1のフローチャートである図9に示される処理を行う。選択された到達時刻情報または時間間隔情報についての処理である点を除き全く同じ動作が行われるので、説明を省略する。
<Example B-1-1>
This Example B-1-1 is an example belonging to the subordinate concept of Example B-1. In Example B-1-1, the process shown in FIG. 9 which is a flowchart of Example A-1-1 is performed. Exactly the same operation is performed except that it is a process for the selected arrival time information or time interval information, and the description thereof will be omitted.
<実施例B−1−2>
この実施例B−1−2も、実施例B−1の下位概念に属する実施例である。この実施例B−1−2では、実施例A−1−2のフローチャートである図10に示される処理を行う。選択された到達時刻情報または時間間隔情報についての処理である点を除き全く同じ動作が行われるので、説明を省略する。
<Example B-1-2>
This Example B-1-2 is also an example belonging to the subordinate concept of Example B-1. In this Example B-1-2, the process shown in FIG. 10 which is a flowchart of the Example A-1-2 is performed. Exactly the same operation is performed except that it is a process for the selected arrival time information or time interval information, and the description thereof will be omitted.
<実施例B−2>
この実施例B−2は、実施例Bをより具体化し詳細にしたものであり、この実施例B−2では、実施例A−2のフローチャートである図11に示される処理を行う。選択された到達時刻情報または時間間隔情報についての処理である点を除き全く同じ動作が行われるので、説明を省略する。
<Example B-2>
The embodiment B-2 is a more specific and detailed embodiment B. In the embodiment B-2, the processing shown in FIG. 11 which is a flowchart of the embodiment A-2 is performed. Exactly the same operation is performed except that it is a process for the selected arrival time information or time interval information, and the description thereof will be omitted.
<実施例B−2−1>
この実施例B−2−1は、実施例B−2の下位概念に属する実施例である。この実施例B−2−1では、実施例A−2−1のフローチャートである図12に示される処理を行う。選択された到達時刻情報または時間間隔情報についての処理である点を除き全く同じ動作が行われるので、説明を省略する。
<Example B-2-1>
This Example B-2-1 is an example belonging to the subordinate concept of Example B-2. In this Example B-2-1, the process shown in FIG. 12, which is a flowchart of the Example A-2-1, is performed. Exactly the same operation is performed except that it is a process for the selected arrival time information or time interval information, and the description thereof will be omitted.
<実施例B−2−2>
この実施例B−2−2も、実施例B−2の下位概念に属する実施例である。この実施例B−2−2では、実施例A−2−2のフローチャートである図13に示される処理を行う。選択された到達時刻情報または時間間隔情報についての処理である点を除き全く同じ動作が行われるので、説明を省略する。
<Example B-2-2>
This Example B-2-2 is also an example belonging to the subordinate concept of Example B-2. In Example B-2-2, the process shown in FIG. 13 which is a flowchart of Example A-2-2 is performed. Exactly the same operation is performed except that it is a process for the selected arrival time information or time interval information, and the description thereof will be omitted.
1 ネットワーク
2 サーバ
3、3B クライアント
4 乱数生成手段
21 受信手段
22 ランダム返信手段
23ランダム値機構
30 選択ルール情報
31 統括制御手段
32 送信手段
33 受信手段
34 検出手段
35、35B 乱数値出力手段
36 乱数列記憶手段
DESCRIPTION OF
Claims (45)
ネットワークを介して前記第1のコンピュータに対して送信要求信号を送出し、返送される返信信号の到達時刻または返信信号間の時間間隔を検出し、当該到達時刻情報または時間間隔情報に基づき乱数を生成する乱数生成手段を備える第2のコンピュータと
を具備することを特徴とする乱数生成システム。 Depending on the arrival of the transmission request signal arriving via the network, a first computer, each comprising a random reply means for sending a plurality of return signal after a random delay,
A transmission request signal is transmitted to the first computer via the network, an arrival time of a return signal to be returned or a time interval between return signals is detected, and a random number is determined based on the arrival time information or the time interval information. A random number generation system comprising: a second computer including random number generation means for generating.
前記第2のコンピュータにおいて、当該到達時刻情報または時間間隔情報に基づき乱数を生成することを特徴とする乱数生成方法。 In response to the transmission request signal arriving via the network, a first computer provided with a random reply means for sending a plurality of return signal after a random delay time, respectively, to said first computer via a network Using a second computer that sends a transmission request signal and detects the arrival time of the returned reply signal or the time interval between the reply signals;
In the second computer, a random number is generated based on the arrival time information or the time interval information.
第2のコンピュータは、返送される返信信号の到達時刻または返信信号間の時間間隔を検出し、当該到達時刻情報または時間間隔情報に基づき乱数を生成する乱数生成手段を備えることを特徴とするコンピュータ。 In response to the transmission request signal arriving via the network, a first computer provided with a random reply means for sending a plurality of return signal after a random delay time, respectively, to said first computer via a network A computer system comprising a second computer that sends a transmission request signal and generates a random number based on the response,
The second computer includes a random number generation unit that detects an arrival time of a reply signal to be returned or a time interval between the reply signals, and generates a random number based on the arrival time information or the time interval information. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007216100A JP4882041B2 (en) | 2007-08-22 | 2007-08-22 | Random number generation system, random number generation method, and computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007216100A JP4882041B2 (en) | 2007-08-22 | 2007-08-22 | Random number generation system, random number generation method, and computer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009048553A JP2009048553A (en) | 2009-03-05 |
| JP4882041B2 true JP4882041B2 (en) | 2012-02-22 |
Family
ID=40500681
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007216100A Active JP4882041B2 (en) | 2007-08-22 | 2007-08-22 | Random number generation system, random number generation method, and computer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4882041B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0289425A (en) * | 1988-09-27 | 1990-03-29 | Toshiba Corp | Shift data processing circuit |
| JP2006302116A (en) * | 2005-04-22 | 2006-11-02 | Nec Corp | Authentication system, authentication server, terminal device, authentication method and program |
| JP4399407B2 (en) * | 2005-09-06 | 2010-01-13 | 国立大学法人 千葉大学 | Random number generation system, random number generation method, and random number generation program |
| JP4868407B2 (en) * | 2007-03-30 | 2012-02-01 | 東芝情報システム株式会社 | Random number generation system, random number generation method, and computer system |
-
2007
- 2007-08-22 JP JP2007216100A patent/JP4882041B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009048553A (en) | 2009-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Song et al. | AddrMiner: A fast, efficient, and comprehensive global active IPv6 address detection system | |
| JP6693508B2 (en) | Secret calculation system, server device, secret calculation method, and program | |
| Bocchi et al. | Personal cloud storage benchmarks and comparison | |
| Vassilev et al. | The importance of entropy to information security | |
| Winnie et al. | Enhancing data security in IoT healthcare services using fog computing | |
| US8781116B2 (en) | Generator of chaotic sequences and corresponding generating system | |
| JP4868407B2 (en) | Random number generation system, random number generation method, and computer system | |
| WO2020123031A1 (en) | Creating and displaying a graph representation of a computer network topology for an executing application | |
| Halgamuge et al. | Time estimation for a new block generation in blockchain-enabled Internet of Things | |
| Blaut et al. | Exploring randomness in blockchains | |
| JP4882041B2 (en) | Random number generation system, random number generation method, and computer | |
| Peinado et al. | Improving the period and linear span of the sequences generated by DLFSRs | |
| Bulygin | More on linear hulls of PRESENT-like ciphers and a cryptanalysis of full-round EPCBC-96 | |
| Luong et al. | Generating key-dependent involutory MDS matrices through permutations, direct exponentiation, and scalar multiplication | |
| Peinado et al. | Optimal modes of operation of pseudorandom sequence generators based on DLFSRs | |
| Guitouni et al. | An efficient hardware implementation of SHA-3 using 3D cellular automata for secure wireless sensor networks | |
| Victor et al. | Performability assessment and sensitivity analysis of a home automation system | |
| JP4399407B2 (en) | Random number generation system, random number generation method, and random number generation program | |
| KR20090048014A (en) | Method for reducing correlation of entropy sources and random number generator using the same | |
| Zayani et al. | Improving link prediction in intermittently connected wireless networks by considering link and proximity stabilities | |
| Krikis et al. | Design and implementation of efficient reconfigurable cipher algorithms for wireless sensor networks | |
| Thajte et al. | Tima-puf: Time measurement based arbiter puf | |
| Keller et al. | Function computation over linear channels | |
| Shah et al. | of a Pseudo-Random Number Generator Against Various Attacks | |
| Jiang et al. | Trust models in wireless sensor networks and online social networks: A comparative study |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091026 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20091026 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110628 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110829 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111018 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111019 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141216 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4882041 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |