Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!
Method and system for generating random numbers
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A technology for generating a system and a random number generator, applied in the field of random numbers, can solve the problems of low randomness and high cost, and achieve the effect of reducing cost, reducing overhead and cost, and achieving good randomness effect.
Inactive Publication Date: 2016-06-01
天津市瑞趣科技合伙企业(有限合伙)
View PDF5 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0004] In view of the technical problems of low randomness and high cost in the random number generation method in the prior art, a random number generation method is provided
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
Embodiment Construction
[0015] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0016] The invention discloses a random number generation method, which specifically includes the following steps: 1. Input the sequence S to be processed, and the base of the elements in the sequence S is X; 2. Generate X-1 (0 , 1] and then these numbers are composed into a sequence R, and a sequence L of length X is obtained according to the sequence R (L 0, L 1 ,...,L X-1 ), where L is a random arrangement of numbers 0 to X-1; 3. Authorize numbers 0 to X-1 according to the sequence L, L 0 Authorization weight is 0, L 1 The weight of authorization is 1, ..., and so on, L X-1 The authorized weight is X-1; 4. 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
Login to View More
Abstract
The invention relates to the technical field of random numbers and discloses a random number generation method comprising the following specific steps of: 1, inputting a to-be-processed number sequence S, wherein the scale of elements in the number sequence is X; 2, generating (X-1) random numbers within a range of (0,1] by virtue of a random number generator, then forming a number sequence R by utilizing the random numbers, and calculating according to the number sequence R to obtain a number sequence L (L0, L1,..., L(X-1)) with the length of X, wherein L is random arrangement of numbers ranging from o to (X-1); 3, authorizing the numbers ranging from 0 to (X-1) according to the number sequence L, wherein the authorized weight of the L0 is 0, the authorized weight of the L1 is 1,..., and the authorized weight of the L(X-1) is (X-1); and 4, sequencing the elements in the number sequence S according to the weights so as to obtain the random sequencing result SR of the number sequence S, so that the random numbers in the number sequence S are obtained. The invention further discloses a random number generation system. By utilizing the method disclosed by the invention, time is saved, the cost is lowered, and the system expenditure can also be lowered; and meanwhile, the random number generation process can also be reproduced, so that the real randomness of the random number generation is ensured, and the random effect is better.
Description
technical field [0001] The present invention relates to the technical field of random numbers, in particular to a method and system for generating random numbers. Background technique [0002] Random numbers are widely used in computer software, hardware, information security, lottery systems, etc., so how to obtain random numbers with high randomness is very important. [0003] In the prior art, random numbers are usually obtained in the following two ways. First, the system software is implemented. The random numbers generated by the pure software system are random numbers calculated by various algorithms, which are usually called pseudo-random numbers. At present, in order to obtain high-quality pseudo-random numbers, the algorithm is constantly improved. For example, the hyperbolic square algorithm adopted in the CN102520908A patent application obtains pseudo-random numbers. This method is not random enough on the one hand and on the other. On the one hand, the amount ...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.