Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3518985B2 - Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program - Google Patents
[go: Go Back, main page]

JP3518985B2 - Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program - Google Patents

Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program

Info

Publication number
JP3518985B2
JP3518985B2 JP02242198A JP2242198A JP3518985B2 JP 3518985 B2 JP3518985 B2 JP 3518985B2 JP 02242198 A JP02242198 A JP 02242198A JP 2242198 A JP2242198 A JP 2242198A JP 3518985 B2 JP3518985 B2 JP 3518985B2
Authority
JP
Japan
Prior art keywords
value
terminal
random number
register
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP02242198A
Other languages
Japanese (ja)
Other versions
JPH11219281A (en
Inventor
和男 酒井
克己 岸田
智樹 渡部
剛一 丸山
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.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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 Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP02242198A priority Critical patent/JP3518985B2/en
Publication of JPH11219281A publication Critical patent/JPH11219281A/en
Application granted granted Critical
Publication of JP3518985B2 publication Critical patent/JP3518985B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、端末独立な乱数生
成法に係り、詳しくは、放送パスを通じて全視聴者端末
の動作を制御する際に、各端末の動作を端末側が生成す
る乱数によりばらつかせ確率的に制御する場合に好適な
端末独立な乱数生成方法及び装置、更には端末独立な乱
数生成プログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal-independent random number generation method, and more specifically, when controlling the operation of all viewer terminals through a broadcast path, the operation of each terminal is distributed by a random number generated by the terminal side. The present invention relates to a terminal-independent random number generation method and device suitable for stochastic control, and a recording medium recording a terminal-independent random number generation program.

【0002】[0002]

【従来の技術】端末独立な乱数は、例えば、放送センタ
が放送パスを通じて、各端末の動作をばらつかせ確率的
に制御する場合に必要となる。従来の乱数生成法は、現
在時刻からnビットの初期seed値を生成し、以降
は、そのseed値から次のseed値を擬似乱数値と
して取得し、次々と擬似乱数系列を生成するというもの
であった。
2. Description of the Related Art Terminal-independent random numbers are necessary, for example, when a broadcasting center randomly controls the operation of each terminal through a broadcast path. The conventional random number generation method is to generate an initial seed value of n bits from the current time, and thereafter, obtain the next seed value from the seed value as a pseudo random number value and generate a pseudo random number sequence one after another. there were.

【0003】[0003]

【発明が解決しようとする課題】上記従来の乱数発生法
は、単一の端末内で時系列的な乱数を生成することに主
眼が置かれており、放送パスを通じて端末群を確率的に
制御する目的には適していない。これについて以下に説
明する。
The above-described conventional random number generation method is focused on generating time-series random numbers within a single terminal, and controls the terminal group stochastically through a broadcast path. It is not suitable for the purpose. This will be described below.

【0004】TV放送の視聴者は、同時刻に同じ番組を
視聴するため、端末を起動したり、プログラムを起動し
たりするタイミングは、非常に短い時間帯に集中する。
そのため、初期seed値を生成する時刻もほぼ同一と
なり、同一の初期seed値を得る端末が多数発生す
る。同一の初期seed値となった端末同士は以降、同
じ擬似乱数系列を生成するため、その動作は同一とな
る。すなわち、この乱数は、同一な端末で時系列的に生
成される乱数を見ると0〜2^n-1(“^”は冪乗)の
範囲に均等に散らばるが、同タイミングに全端末で得ら
れる乱数を見ると、偏りが生じる。つまり、端末独立な
乱数とはならない。
Since viewers of TV broadcasts watch the same program at the same time, the timing of activating a terminal or activating a program is concentrated in a very short time period.
Therefore, the times at which the initial seed value is generated are almost the same, and many terminals obtain the same initial seed value. Since the terminals having the same initial seed value generate the same pseudo random number sequence thereafter, the operation is the same. That is, this random number is evenly distributed in the range of 0 to 2 ^ n-1 ("^" is a power) when looking at the random numbers generated in time series on the same terminal, but at the same timing on all terminals. When we look at the random numbers obtained, a bias occurs. In other words, it is not a terminal-independent random number.

【0005】本発明は、従来の上述の問題に鑑みなされ
たもので、各端末において端末独立な一様な擬似乱数系
列を得ることを目的とする。
The present invention has been made in view of the above problems of the related art, and an object thereof is to obtain a terminal-independent uniform pseudo-random number sequence.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、ユーザの端末操作ごとに現在の時刻デー
タを取得し、該取得した時刻データの下位ビットを変数
レジスタに順次格納し、前記変数レジスタに所定ビット
長のデータが格納されるごとに、該変数レジスタの値を
新たなseed値として擬似乱数を生成することを特徴
とする端末独立な乱数生成方法を提供する。
[Means for Solving the Problems] To achieve the above object
In addition, the present invention provides the present time data for each terminal operation by the user.
Data, and the lower bit of the acquired time data is a variable
Sequentially store in registers, and set predetermined bits in the variable register
Each time long data is stored, the value of the variable register is
Characterized by generating a pseudo-random number as a new seed value
A terminal-independent random number generation method is provided.

【0007】また、本発明は、ユーザの端末操作ごとに
現在の時刻データを取得し、該取得した時刻データの下
位ビットを変数レジスタに順次格納し、前記変数レジス
タに所定ビット長のデータが格納されるごとに、該変数
レジスタの値と現在のseed値とを排他的論理和した
値を新たなseed値として擬似乱数を生成することを
特徴とする端末独立な乱数生成方法を提供する。
Further , the present invention is provided for each terminal operation by the user.
Get the current time data, and under the acquired time data
Sequential bits are sequentially stored in the variable register, and the variable register
Whenever data of a predetermined bit length is stored in the
Exclusive ORed register value and current seed value
Generate a pseudo-random number with the value as a new seed value.
Provided is a terminal-independent random number generation method.

【0008】さらに、本発明は、端末装置の2次記憶媒
体に端末独立な乱数の生成過程の中間データを記憶し、
次回に端末装置またはプログロムを再立ち上げした時
に、それらの中間データを復元することを特徴とする端
末独立な乱数生成方法を提供する。
Furthermore, the present invention provides a secondary storage medium for a terminal device.
Memorize intermediate data of random terminal generation process in the body,
Next time the terminal device or program is restarted
In addition, the end characterized by restoring those intermediate data
Provides a random independent random number generation method.

【0009】また、本発明は、ユーザの端末操作ごとに
現在の時刻データを取得する手段と、前記取 得された時
刻データの下位ビットを変数レジスタに順次格納し、前
記変数レジスタに所定ビット長のデータが格納されるご
とに、該変数レジスタの値を出力する手段と、前記変数
レジスタの出力値を新たなseed値としてseed値
レジスタに設定して、擬似乱数を生成する手段とを有す
ることを特徴とする端末独立な乱数生成装置を提供す
る。
Further , according to the present invention, each terminal operation of the user is performed.
Means for obtaining the current time data, when said being acquisition
Sequentially store the lower bits of the
The variable register stores data of a specified bit length.
And means for outputting the value of the variable register, and the variable
Seed value with register output value as new seed value
It has a means to set it in a register and generate a pseudo-random number.
A random number generator independent of the terminal is provided.
It

【0010】また、本発明は、ユーザの端末操作ごとに
現在の時刻データを取得する手段と、前記取得された時
刻データの下位ビットを変数レジスタに順次格納し、前
記変数レジスタに所定ビット長のデータが格納されるご
とに、該変数レジスタの値を出力する手段と、前記変数
レジスタの出力値とseed値レジスタの現在のsee
d値とを排他的論理和した値を新たなseed値として
seed値レジスタに設定して、擬似乱数を生成する手
段とを有することを特徴とする端末独立な乱数生成装置
を提供する。
Further , according to the present invention, each terminal operation of the user is performed.
Means for acquiring the current time data and the time when the data is acquired
Sequentially store the lower bits of the
The variable register stores data of a specified bit length.
And means for outputting the value of the variable register, and the variable
Output value of register and current seed of seed value register
The value obtained by exclusive ORing the d value as a new seed value
Set the seed value register to generate a pseudo-random number.
A random number generating device independent of a terminal
I will provide a.

【0011】また、本発明は、端末独立な乱数生成プロ
グラムを記録したコンピュータ読取り可能な記録媒体で
あって、ユーザの端末操作ごとに現在の時刻データを取
得する処理ステップと、前記取得された時刻データの下
位ビットを変数レジスタに順次格納し、前記変数レジス
タに所定ビット長のデータが格納されるごとに、該変数
レジスタの値を出力する処理ステップと、前記変数レジ
スタの出力値を新たなseed値としてseed値レジ
スタに設定して、擬似乱数を生成する処理ステップとを
コンピュータで実行させるためのプログラムを記録した
記録媒体を提供する。
The present invention is also a terminal-independent random number generation program.
With a computer-readable recording medium that records grams
Therefore, the current time data is collected for each user's terminal operation.
Below the acquired processing time and the acquired time data
Sequential bits are sequentially stored in the variable register, and the variable register
Whenever data of a predetermined bit length is stored in the
The processing step of outputting the value of the register and the variable register
The output value of the star as a new seed value
And the processing steps for generating pseudo-random numbers.
Recorded the program to be executed on the computer
A recording medium is provided.

【0012】また、本発明は、端末独立な乱数生成プロ
グラムを記録したコンピュータ読取り可能な記録媒体で
あって、ユーザの端末操作ごとに現在の時刻データを取
得する処理ステップと、前記取得された時刻データの下
位ビットを変数レジスタに順次格納し、前記変数レジス
タに所定ビット長のデータが格納されるごとに、該変数
レジスタの値を出力する処理ステップと、前記変数レジ
スタの出力値とseed値レジスタの現在のseed値
とを排他的論理和した値を新たなseed値としてse
ed値レジスタに設定して、擬似乱数を生成する処理ス
テップとをコンピュータで実行させるためのプログラム
を記録した記録媒体を提供する。
The present invention also provides a terminal-independent random number generation program.
With a computer-readable recording medium that records grams
Therefore, the current time data is collected for each user's terminal operation.
Below the acquired processing time and the acquired time data
Sequential bits are sequentially stored in the variable register, and the variable register
Whenever data of a predetermined bit length is stored in the
The processing step of outputting the value of the register and the variable register
Output value of the star and the current seed value of the seed value register
The value obtained by exclusive-ORing and is set as a new seed value.
Set the ed value register to generate a pseudo-random number.
A program to run a computer program
A recording medium on which is recorded is provided.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施例の形態
(一実施例)について図面により説明する。図1は、本
発明による端末独立な乱数生成装置の一実施例を表わし
たもので、基本端末独立乱数取得部10と乱数埋め込み
部20と擬似乱数系列生成部30からなる。図2は、本
端末独立な乱数生成装置全体の処理フローチャートの一
例であり、以下ではこれに基づいて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION A mode (one embodiment) of one embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of a terminal-independent random number generation device according to the present invention, which comprises a basic terminal-independent random number acquisition unit 10, a random number embedding unit 20, and a pseudo-random number sequence generation unit 30. FIG. 2 is an example of a process flow chart of the entire random number generation device independent of the present terminal, and will be described below based on this.

【0014】基本端末独立乱数取得部10では、画面に
表示されたボタンをマウスでクリックするなどの、ユー
ザの端末操作のトリガを受ける度に(ステップ10
1)、当該端末の時計1の現在時刻データを取得して現
在時刻取得レジスタ11に設定する(ステップ10
2)。放送番組の呼びかけに応答して端末操作をした場
合、その時刻の散らばり方は、一般に正規分布となる。
そのミリセカント単位で取得した時刻データの有効桁の
下位1ビットに着目すると0,1がほぼ均等に表れる。
すなわち、1ビットの端末独立な一様乱数(基本端末独
立乱数)が得られる。なお、1ビットに限らず、少ない
ビット数までならば、十分一様乱数と見なせる。基本端
末独立乱数取得部10は、現在時刻取得レジスタ11に
現在時刻データが設定されるごとに、下位1ビット(基
本端末独立乱数)を乱数埋め込み部20へ送る。
In the basic terminal independent random number acquisition unit 10, each time a user operates a terminal such as clicking a button displayed on the screen with a mouse (step 10).
1), the current time data of the clock 1 of the terminal is acquired and set in the current time acquisition register 11 (step 10).
2). When a terminal is operated in response to a call for a broadcast program, the time distribution is generally a normal distribution.
Focusing on the lower 1 bit of the significant digit of the time data acquired in the unit of millisecond, 0 and 1 appear almost evenly.
That is, a 1-bit terminal-independent uniform random number (basic terminal-independent random number) is obtained. It should be noted that the number is not limited to 1 bit and can be regarded as a sufficiently uniform random number if the number of bits is small. The basic terminal independent random number acquisition unit 10 sends the lower 1 bit (basic terminal independent random number) to the random number embedding unit 20 every time the current time data is set in the current time acquisition register 11.

【0015】乱数埋め込み部20では、受けとった1ビ
ットを、nビットの一時格納変数(Tmp)レジスタ2
1に、左シフトしながら下位ビットから詰め込んでいく
(ステップ103)。数回の詰め込みののち、一時格納
変数レジスタ21のnビット全てに詰め込みが終ると
(ステップ104)、その値(Tmp)を擬似乱数系列
生成部30に送り、seed値レジスタ31の現see
d値をすべて入れ替える(ステップ105)。その後、
乱数埋め込み部20は、一時格納変数レジスタ21をク
リアする(ステップ106)。
The random number embedding unit 20 converts the received 1 bit into an n-bit temporary storage variable (Tmp) register 2
1 is shifted to the left and packed from the lower bits (step 103). After packing several times, when packing is completed for all n bits of the temporary storage variable register 21 (step 104), the value (Tmp) is sent to the pseudo random number sequence generation unit 30, and the current seed of the seed value register 31 is set.
All d values are exchanged (step 105). afterwards,
The random number embedding unit 20 clears the temporary storage variable register 21 (step 106).

【0016】一方、擬似乱数系列生成部30は、乱数要
求関数の呼び出しをトリガとして(ステップ111)、
seed値レジスタ31の現seed値を返値とし出力
する(ステップ112)。そして、擬似乱数生成部32
において、この現時点のseed値を元に擬似乱数を生
成し(ステップ113)、次のseed値としてsee
d値レジスタ31に設定する(ステップ114)。
On the other hand, the pseudo-random number sequence generator 30 uses the calling of the random number request function as a trigger (step 111),
The current seed value of the seed value register 31 is output as a return value (step 112). Then, the pseudo random number generation unit 32
In step 113, a pseudo random number is generated based on the present seed value, and the next seed value is set to seed.
It is set in the d value register 31 (step 114).

【0017】以上の実施例では、一時格納変数Tmpの
全てのビットの埋め込みを終えてから、seed値に埋
め込んでいるが、ある程度の下位ビットが埋め込まれた
時点で随時seed値に埋め込んでもよい。また、Tm
pと現seed値とのビット毎の排他的論理をとってs
eed値を入れ替えてもよい。
In the above embodiment, the embedding of all the bits of the temporary storage variable Tmp is completed before embedding it in the seed value. However, it may be embedded in the seed value at any time when a certain number of lower bits are embedded. Also, Tm
s by taking the bitwise exclusive logic of p and the current seed value
The eed value may be exchanged.

【0018】また、実施例では、一時格納変数Tmpの
値をseed値に埋め込んだが、seed値は擬似乱数
生成部32で生成した値のままにして、乱数要求関数呼
び出しトリガでseed値にTmpを埋め込むか、両者
の排他的論理和をほどこして乱数要求に対する返値とし
ても、同様の効果が得られる。
In the embodiment, the value of the temporary storage variable Tmp is embedded in the seed value. However, the seed value is left as the value generated by the pseudo-random number generator 32, and Tmp is added to the seed value by the random number request function call trigger. The same effect can be obtained by embedding or by performing an exclusive OR of both as a return value for a random number request.

【0019】さらに、端末独立乱数生成の過程の中間デ
ータを2次記憶に記録し、次回に端末装置またはプログ
ロムを再立ち上げした時に、それらの中間データを復元
するようにすると、端末独立性が継続的に維持される効
果がある。
Further, if the intermediate data in the process of generating the terminal independent random number is recorded in the secondary storage and the intermediate data is restored when the terminal device or program is restarted next time, the terminal independence is improved. Has the effect of being continuously maintained.

【0020】次に、図3により本発明による端末独立な
乱数生成の利用例を説明する。図3は、放送センタが放
送を通じて端末群を確率的に制御するシステムを概念的
に示した図である。各参加者端末310では、図1及び
図2で説明したようにして、各々端末独立な乱数を生成
している。放送センタ300は、放送により各参加端末
310に一斉に指示を出す。各参加端末310は、放送
センタ300から放送を受信すると、該放送を乱数要求
関数呼び出しトリガとして、その時点のseed値から
生成された乱数を返値として取得し、その値に基づいて
所定の処理を行い、放送センタ300へ返信する。
Next, a use example of random number generation independent of the terminal according to the present invention will be described with reference to FIG. FIG. 3 is a diagram conceptually showing a system in which a broadcasting center stochastically controls a group of terminals through broadcasting. Each participant terminal 310 generates a terminal-independent random number as described with reference to FIGS. 1 and 2. The broadcasting center 300 simultaneously issues an instruction to each participating terminal 310 by broadcasting. Upon receiving the broadcast from the broadcast center 300, each of the participating terminals 310 acquires the random number generated from the seed value at that time as a return value using the broadcast as a random number request function call trigger, and performs a predetermined process based on the value. And send it back to the broadcasting center 300.

【0021】ここで、放送センタ300の放送内容は、
次の通りとする。 1.3つのチームに分かれるように指示。 2.1/10の確率でデータ(選択チーム名)をセンタ
に報告するよう指示(以降、1/9,1/8,・・・,
1/1と確率を変更して繰り返し指示)。 3.時々、チームを再編成する。
Here, the broadcasting contents of the broadcasting center 300 are as follows.
As follows: 1. Directed to split into 3 teams. Instructed to report data (selected team name) to the center with a probability of 2.1 / 10 (hereinafter, 1/9, 1/8, ...,
Repeatedly changing the probability to 1/1). 3. From time to time, regroup.

【0022】これらの指示に対し、各参加端末310か
らは、当該端末が生成する乱数により、例えば、次のよ
うな処理結果が放送センタ300へ返送される。 1.1〜3の整数乱数を生成して値が1ならばチーム
A、2ならばチームB、3ならばチームCを選択。 2.0〜1乱数を生成して値が1/10未満ならば送
信、1/10ならば待機(指示された確率値に従って送
信または待機)。 3.指示を受けて、乱数を使ってチームを再選択。
In response to these instructions, for example, the following processing results are returned from each participating terminal 310 to the broadcasting center 300 by a random number generated by the terminal. Generate an integer random number of 1.1 to 3 and select Team A if the value is 1, Team B if the value is 2, Team C if the value is 3. 2. Generate a random number of 0 to 1 and send if the value is less than 1/10, and wait if 1/10 (send or wait according to the instructed probability value). 3. Instructed to re-select team using random numbers.

【0023】以上、本発明の一実施例について説明した
が、例えば、図2の処理フローは、まとめて端末独立な
乱数生成プログラムとして実現可能である。該端末独立
な乱数生成プログラムは、FDもしくはCD−ROM等
の記録媒体にコンピュータで読み取り可能な形式で記録
し、販売してもよい。この記録媒体に記録された端末独
立な乱数生成プログラムを端末の計算機にインストール
すると、図1のような構成での動作が可能となる。
Although one embodiment of the present invention has been described above, for example, the processing flow of FIG. 2 can be realized collectively as a terminal-independent random number generation program. The terminal-independent random number generation program may be recorded on a recording medium such as an FD or a CD-ROM in a computer-readable format and sold. When the terminal-independent random number generation program recorded on this recording medium is installed in the computer of the terminal, the operation with the configuration shown in FIG. 1 becomes possible.

【0024】[0024]

【発明の効果】以上のように、本発明には、各端末でs
eed値が異なるため、同時刻に生成された乱数の値が
端末間で独立となり均等となる。そのため、放送パスを
通じて全端末を確率的に制御することが可能となる。例
えば、図3に示したように、「確率1/10で発呼動作
する」よう指示する制御信号を放送することにより、偏
りなく、全体のおおよそ1/10を発呼させることがで
きる。また、たまたま同じseed値となって同じ動作
をしていた端末同士も、やがて異なるseed値を得る
ことになる。そのため、例えば、乱数により参加者をチ
ーム分けする際に、同じ人同士が毎回同チームに編成さ
れてしまうこともなくなる。
As described above, according to the present invention, s
Since the eed values are different, the values of the random numbers generated at the same time are independent and even among the terminals. Therefore, it becomes possible to stochastically control all terminals through the broadcast path. For example, as shown in FIG. 3, by broadcasting a control signal instructing to "call with probability 1/10", approximately 1/10 of the entire call can be made without bias. Further, terminals that happen to have the same seed value and perform the same operation will eventually obtain different seed values. Therefore, for example, when the participants are divided into teams by random numbers, the same person will not be formed in the same team every time.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1の動作を説明するための処理フローチャー
トである。
FIG. 2 is a processing flowchart for explaining the operation of FIG.

【図3】本発明の利用例を説明するためのシステム例で
ある。
FIG. 3 is a system example for explaining an application example of the present invention.

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

10 基本端末独立乱数取得部 20 乱数埋め込み部 30 擬似乱数系列生成部 10 Basic terminal independent random number acquisition unit 20 Random number embedding unit 30 Pseudo-random number sequence generator

フロントページの続き (72)発明者 丸山 剛一 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (56)参考文献 特開 平7−311674(JP,A) 特開 昭58−4442(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 7/58 Front page continuation (72) Inventor Goichi Maruyama 3-19-2 Nishi-Shinjuku, Shinjuku-ku, Tokyo Nihon Telegraph and Telephone Corporation (56) Reference JP-A-7-311674 (JP, A) JP-A-58 −4442 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 7/58

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 端末独立な乱数を生成する方法であっ
て、 ユーザの端末操作ごとに現在の時刻データを取得し、該
取得した時刻データの下位ビットを変数レジスタに順次
格納し、 前記変数レジスタに所定ビット長のデータが格納される
ごとに、該変数レジスタの値を新たなseed値として
擬似乱数を生成することを特徴とする端末独立な乱数生
成方法。
1. A method for generating terminal-independent random numbers.
The current time data for each terminal operation by the user,
Lower bits of the acquired time data are sequentially stored in the variable register
Stored, data of a predetermined bit length is stored in the variable register
Each time, the value of the variable register is set as a new seed value.
Terminal-independent random number generation characterized by generating pseudo-random numbers
How to do it.
【請求項2】 端末独立な乱数を生成する方法であっ
て、 ユーザの端末操作ごとに現在の時刻データを取得し、該
取得した時刻データの下位ビットを変数レジスタに順次
格納し、 前記変数レジスタに所定ビット長のデータが格納される
ごとに、該変数レジスタの値と現在のseed値とを排
他的論理和した値を新たなseed値として擬似乱数を
生成することを特徴とする端末独立な乱数生成方法。
2. A method for generating terminal-independent random numbers.
The current time data for each terminal operation by the user,
Lower bits of the acquired time data are sequentially stored in the variable register
Stored, data of a predetermined bit length is stored in the variable register
The variable register value and the current seed value for each
Pseudo-random number is used as a new seed value obtained by logically ORing
A terminal-independent random number generation method characterized by generating.
【請求項3】 端末装置の2次記憶媒体に端末独立な乱
数の生成過程の中間データを記憶し、次回に端末装置ま
たはプログロムを再立ち上げした時に、それらの中間デ
ータを復元することを特徴とする請求項1または2に記
載の端末独立な乱数生成方法。
3. A terminal-independent disturbance on the secondary storage medium of the terminal device.
The intermediate data of the number generation process is stored, and next time the terminal device
Or when the program was relaunched,
The data is restored, as set forth in claim 1 or 2.
Terminal-independent random number generation method.
【請求項4】 端末独立な乱数を生成する装置であっ
て、 ユーザの端末操作ごとに現在の時刻データを取得する手
段と、 前記取得された時刻データの下位ビットを変数レジスタ
に順次格納し、前記変数レジスタに所定ビット長のデー
タが格納されるごとに、該変数レジスタの値を出力する
手段と、 前記変数レジスタの出力値を新たなseed値としてs
eed値レジスタに設定して、擬似乱数を生成する手段
と、 を有することを特徴とする端末独立な乱数生成装置。
4. A device for generating random numbers independent of terminals.
The current time data for each user's terminal operation.
And the lower bit of the acquired time data is a variable register.
Sequentially stored in the
Each time the data is stored, the value of the variable register is output.
Means and the output value of the variable register as a new seed value s
means for generating pseudo-random numbers by setting in the eed value register
And a terminal-independent random number generation device.
【請求項5】 端末独立な乱数を生成する装置であっ
て、 ユーザの端末操作ごとに現在の時刻データを取得する手
段と、 前記取得された時刻データの下位ビットを変数レジスタ
に順次格納し、前記変数レジスタに所定ビット長のデー
タが格納されるごとに、該変数レジスタの値を出力する
手段と、 前記変数レジスタの出力値とseed値レジスタの現在
のseed値とを排他的論理和した値を新たなseed
値としてseed値レジスタに設定して、擬似乱数を生
成する手段と、 を有することを特徴とする端末独立な乱数生成装置。
5. A device for generating random numbers independent of terminals.
The current time data for each user's terminal operation.
And the lower bit of the acquired time data is a variable register.
Sequentially stored in the
Each time the data is stored, the value of the variable register is output.
Means, the output value of the variable register and the current value of the seed value register
The value obtained by exclusive ORing the seed value of
Set the seed value register as a value and generate a pseudo-random number.
Terminal independent random number generation device and having means for forming, the.
【請求項6】 端末独立な乱数生成プログラムを記録し
たコンピュータ読取り可能な記録媒体であって、 ユーザの端末操作ごとに現在の時刻データを取得する処
理ステップと、 前記取得された時刻データの下位ビットを変数レジスタ
に順次格納し、前記変数レジスタに所定ビット長のデー
タが格納されるごとに、該変数レジスタの値を出力する
処理ステップと、 前記変数レジスタの出力値を新たなseed値としてs
eed値レジスタに設定して、擬似乱数を生成する処理
ステップと、 をコンピュータで実行させるためのプログラムを記録し
た記録媒体。
6. A terminal independent random number generation program is recorded.
A computer-readable recording medium that acquires the current time data for each user's terminal operation.
Processing step and the lower bit of the acquired time data is stored in a variable register.
Sequentially stored in the
Each time the data is stored, the value of the variable register is output.
The processing step and the output value of the variable register as a new seed value, s
Process to generate pseudo-random number by setting in eed value register
Record the steps and the program that causes the computer to execute
Recording medium.
【請求項7】 端末独立な乱数生成プログラムを記録し
たコンピュータ読取り可能な記録媒体であって、 ユーザの端末操作ごとに現在の時刻データを取得する処
理ステップと、 前記取得された時刻データの下位ビットを変数レジスタ
に順次格納し、前記変数レジスタに所定ビット長のデー
タが格納されるごとに、該変数レジスタの値を出力する
処理ステップと、 前記変数レジスタの出力値とseed値レジスタの現在
のseed値とを排他的論理和した値を新たなseed
値としてseed値レジスタに設定して、擬似乱数を生
成する処 理ステップと、 をコンピュータで実行させるためのプログラムを記録し
た記録媒体。
7. A terminal independent random number generation program is recorded.
A computer-readable recording medium that acquires the current time data for each user's terminal operation.
Processing step and the lower bit of the acquired time data is stored in a variable register.
Sequentially stored in the
Each time the data is stored, the value of the variable register is output.
The processing step, the output value of the variable register and the current value of the seed value register
The value obtained by exclusive ORing the seed value of
Set the seed value register as a value and generate a pseudo-random number.
A processing step of forming, a program for executing in a computer recorded
Recording medium.
JP02242198A 1998-02-03 1998-02-03 Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program Expired - Fee Related JP3518985B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02242198A JP3518985B2 (en) 1998-02-03 1998-02-03 Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02242198A JP3518985B2 (en) 1998-02-03 1998-02-03 Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program

Publications (2)

Publication Number Publication Date
JPH11219281A JPH11219281A (en) 1999-08-10
JP3518985B2 true JP3518985B2 (en) 2004-04-12

Family

ID=12082225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02242198A Expired - Fee Related JP3518985B2 (en) 1998-02-03 1998-02-03 Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program

Country Status (1)

Country Link
JP (1) JP3518985B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0102840D0 (en) 2001-02-05 2001-03-21 Cambridge Silicon Radio Ltd Generating random data
JP2002318751A (en) * 2001-04-20 2002-10-31 Sony Corp Communications system
JP4399407B2 (en) * 2005-09-06 2010-01-13 国立大学法人 千葉大学 Random number generation system, random number generation method, and random number generation program
JP4704906B2 (en) * 2005-12-22 2011-06-22 山佐株式会社 Game machine
JP4725462B2 (en) * 2006-08-30 2011-07-13 ブラザー工業株式会社 Communication apparatus and program

Also Published As

Publication number Publication date
JPH11219281A (en) 1999-08-10

Similar Documents

Publication Publication Date Title
US5541996A (en) Apparatus and method for a pseudo-random number generator for high precision numbers
CA2491702C (en) System and method for generating encryption seed values
EP0855642B1 (en) Pseudorandom number generation circuit with clock selection
US6460137B1 (en) Encryption processing system
US6076097A (en) System and method for generating random numbers
RU99121837A (en) SIGNAL GENERATION AND THEIR BROADCASTING
JP3518985B2 (en) Terminal-independent random number generation method and device, recording medium storing terminal-independent random number generation program
JP2010166228A (en) Device, method and program for integration of distributed encrypted data
CN107818790A (en) A kind of Multi-channel audio sound mixing method and device
JP4036648B2 (en) ENCRYPTION DEVICE, ENCRYPTION METHOD, DECRYPTION DEVICE, DECRYPTION METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PROGRAM
CN115801253B (en) Multi-party secret sharing method for secure multi-party calculation and electronic equipment
RU2033704C1 (en) Method for transmitting and receiving signal of additional information simultaneous with picture signal and different systems for implementation of said method
CN109391643A (en) Block chain light-weight technologg method, block chain node and storage medium
JPS61141231A (en) Transmission system
CN111832044A (en) Safe collaborative computing processing method and system
CN108989898B (en) Method, storage medium, equipment and system for displaying gift continuous-click animation
US20010005155A1 (en) Method and an electrical device for efficient multi-rate pseudo random noise (PN) sequence generation
KR100519379B1 (en) Method for processing a digital signal in a so-called secure communication system and use of this method for access control and/or binary signature
CN111628862A (en) Multi-party participating random number generation method and device
CN112187732A (en) Data encryption and loading method and device
US7627116B2 (en) Random data method and apparatus
CN110969564A (en) Image encryption method and device, electronic equipment and readable storage medium
JPS60501684A (en) Stochastic scrambler and stochastic scrambling method
DE10337056B4 (en) Method and system for blindly determining frequency hopping system characteristics and synchronization therewith
US2947804A (en) Secrecy communication

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040127

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080206

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100206

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120206

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130206

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees