发明名称 Random number generating method
摘要 A random number generating method includes sending a signal source for outputting a data sequence and randomly retrieving a segment of data having an operation length as a seed; converting the seed into a first operation value, determining whether a difference between the first operation value and a second operation value is larger than a threshold value, and determining whether a total number of times the first operation value has been inputted into the operation value processing step is larger than a predetermined value. The first operation value is reset by a reset algorithm; otherwise the sample selection step is re-performed. The operation values are converted into a random number. A total number of bits of the random number is calculated. The operation value setting step is performed or a latest random number having a length equal to the operation length is set as the seed.
申请公布号 US8793296(B2) 申请公布日期 2014.07.29
申请号 US201213364797 申请日期 2012.02.02
申请人 Kaohsiung Medical University 发明人 Chen I-Te;Tsai Jer-Min;Tzeng Jeng-Nan;Ho Wen-Hsien
分类号 G06F7/58 主分类号 G06F7/58
代理机构 Muncy, Geissler, Olds & Lowe, P.C. 代理人 Muncy, Geissler, Olds & Lowe, P.C.
主权项 1. A random number generating method comprising: a sample selection step sending a signal source received by a sampling device to a transcoder for outputting a data sequence, and randomly retrieving a segment of data having an operation length from the data sequence via an operation unit, wherein the randomly-retrieved data segment is used as a seed; an operation value setting step converting the seed into a first one of a plurality of operation values via a setup algorithm contained in the operation unit, wherein the plurality of operation values other than the first operation value is initially set as 0; a randomness level determination step determining whether a difference between the first one and a second one of the plurality of operation values is larger than a threshold value via the operation unit; an operation value processing step determining whether a total number of times the first operation value has been inputted into the operation value processing step for executions is larger than a predetermined value upon negative determination of the randomness level determination step, wherein the first operation value is reset by a reset algorithm contained in the operation unit and the operation value processing step is re-performed if the determination of the operation value processing step is negative, and the sample selection step is re-performed if the determination of the operation value processing step is positive; a random number generation step converting the plurality of operation values into a random number via a random number algorithm contained in the operation unit, upon positive determination of the randomness level determination step; and a random number processing step calculating a total number of bits of the random number via the operation unit, wherein the operation value setting step is performed if the total number of bits of the random number is not a multiple of the operation length of the seed, and a latest random number having a length equal to the operation length is set as the seed and the operation value setting step is re-performed if the total number of bits of the random number is the multiple of the operation length of the seed.
地址 Kaohsiung TW