Random number generation method and system

A random number generator and generation system technology, applied in the field of random numbers, can solve problems such as poor unpredictability of random number generation schemes, and achieve the effects of high unpredictability, efficient generation, and improved randomness

Inactive Publication Date: 2017-09-05
上海汇尔通信息技术有限公司
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] To sum up, the existing random number generation schemes applied to devices

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

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0073] The first embodiment of the present invention is:

[0074] This embodiment provides a method for generating random numbers, including:

[0075] S1. Generate hardware random numbers through hardware circuits;

[0076] Among them, the hardware random number R1 is generated through the hardware circuit;

[0077] S2. Collect the value of the operating parameter during the operation of the random number generator;

[0078] Wherein, the value R4 of the operating parameter may be the system startup time, the number of system interruptions, the RTC time, etc.;

[0079] S3. Obtain the unique identifier of the hardware in the random number generator;

[0080] Wherein, the unique identifier R5 of the hardware may be a unique identifier of a hardware circuit chip or a unique identifier of a POS machine running a random number generator;

[0081] S4. Generate a first random number according to the hardware random number, the value of the operating parameter, and the unique identifier; specifically:

Example Embodiment

[0091] The second embodiment of the present invention is:

[0092] This embodiment also provides a random number generation method, including:

[0093] S1. Generate hardware random numbers through hardware circuits;

[0094] S2. Collect the value of the operating parameter during the operation of the random number generator;

[0095] S3. Obtain the unique identifier of the hardware in the random number generator;

[0096] S4. Generate a first random number according to the hardware random number, the value of the operating parameter, and the unique identifier; specifically:

[0097] S41. Extract a preset byte in the hardware random number to obtain a second random number;

[0098] S42. Use the second random number as an input of a preset random number generation function to generate a third random number;

[0099] S43. Exclusive OR the second random number and the third random number to obtain a fourth random number;

[0100] S44. Generate the first random number according to the fourth random

Example Embodiment

[0101] The third embodiment of the present invention is:

[0102] Such as image 3 As shown, this embodiment provides a random number generation system, including:

[0103] The first generation module 1 generates hardware random numbers through hardware circuits; the acquisition module 2 acquires the values ​​of operating parameters during the operation of the random number generator; the acquisition module 3 acquires the unique identifier of the hardware in the random number generator; the second generation module 4 Generating a first random number according to the hardware random number, the value of the operating parameter, and the unique identifier;

[0104] Wherein, the second generation module 4 includes a first generation unit 41, an encryption unit 42, and an update unit 43;

[0105] The first generating unit 41 generates an initial vector and an initial key according to the hardware random number, the value of the operating parameter, and the unique identifier; specifically, the

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 relates to the random number field, in particular to a random number generation method and system. The method includes the steps of generating a hardware random number through a hardware circuit; collecting the values of operation parameters during the operation process of a random number generator; obtaining a unique identifier of a hardware in the random number generator; according to the hardware random number, the values of the operation parameters and the unique identifier, generating a first random number. The random number generation method and system realize the improvement of the unpredictability of random numbers under the premise of efficiently generating the random numbers.

Description

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

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
Owner 上海汇尔通信息技术有限公司
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