Random number generating method, random number selecting method and related electronic device

A generation method and technology of an electronic device are applied to the random number generation device and the field of random number generation, and can solve the problems such as the inability to guarantee the uniformity of distribution.

Inactive Publication Date: 2010-05-26
NUVOTON
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, such a modification method does not guarantee the uniformity of the distribution of each value

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Random number generating method, random number selecting method and related electronic device
  • Random number generating method, random number selecting method and related electronic device
  • Random number generating method, random number selecting method and related electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the above and other purposes, features, and advantages of the present invention more comprehensible, the following specifically cites the embodiments, together with the accompanying drawings, and describes them in detail as follows:

[0028] figure 1 is a schematic diagram showing an electronic device according to an embodiment of the present invention. The electronic device 100 at least includes a processing unit 110 , a storage unit 120 and a random number generator 130 . The processing unit 110 can be configured to execute the method for generating a random number and the method for selecting a random number described in an embodiment of the present invention. A random number table 124 and a seed 122 (seed) can be stored in the storage unit 120, wherein the seed 122 can be used as a table index of the random number table 124 to query the random number table, thereby obtaining a corresponding Value as a random number to generate. Wherein, the rando...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a random number generating method, a random number selecting method and a related electronic device. The random number generating method is suitable for an electronic device, and comprises the following steps: firstly, providing a n and a m to generate a candidate value group, wherein the candidate value group comprises nm continuous values and the n and the m are integers; secondly, dividing the candidate value group into n candidate subgroups, each candidate subgroup comprises nm-1 continuous values in the nm continuous values; thirdly, respectively writing the n candidate subgroups into a storage unit of the electronic device; and finally, according to a preset selection rule, selecting a value in the candidate subgroup in the storage unit to generate a random number.

Description

technical field [0001] The present invention relates to a random number generating device and a random number generating method, in particular to a random number generating device and a random number generating method applied to electronic devices. Background technique [0002] With the development of electronic devices, random numbers (random data) are used in computer security protection and other fields, especially in the field of computer security protection, to provide unpredictability for safe data transmission, so a certain degree of randomness can be generated (random) random number sequence (Sequence) is particularly important. [0003] Generally speaking, the most basic requirement for a random data generator is that the random values ​​it generates each time have no rules to follow, so as to conform to the characteristics of the unpredictable or irregular phenomenon. The initial value of the random number generator or random number generating function can usually...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F7/58
Inventor 张文武
Owner NUVOTON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products