RANDOM NUMBER GENERATION AND ACQUISITION METHOD AND DEVICE

The present application discloses a random number generation and retrieval method and device. The generation method includes: generating a random number array, where the random number array includes N storage units, each of the storage units stores a random number, and N is a positive integer; perfo...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: WEN, Jiaxiang
Format: Patent
Sprache:eng ; fre ; ger
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present application discloses a random number generation and retrieval method and device. The generation method includes: generating a random number array, where the random number array includes N storage units, each of the storage units stores a random number, and N is a positive integer; performing random shuffling on the storage units in the random number array; and receiving a random number retrieval instruction, and reading, from a corresponding storage unit in the random number array based on the random number retrieval instruction, a random number stored in the storage unit. In the implementations of the present application, a plurality of random numbers obtained in a relatively short unit time have a low repetition rate, to achieve balanced distribution. Therefore, the random number generation method and device in the present application can achieve relatively high randomness.