Random number generator and method for acquiring random number
By measuring the motion state information of the chaotic pendulum and performing data processing, true random numbers are generated, which solves the problems of high security and high cost of random number generators in the existing technology and realizes low-cost and high-security random number generation.
Patent Information
- Application Number
- CN202510776448.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-09-16
AI Technical Summary
In the existing technology, most random number generators are based on non-random mathematical algorithms, which pose security risks and have high manufacturing and operating costs, making it difficult to generate truly random numbers.
By measuring the motion state information of the swing end of a chaotic pendulum with an unpredictable trajectory in a chaotic motion state and performing data processing, random data is generated. The double-rod structure and electric drive mechanism of the chaotic pendulum are used to ensure continuous motion, and random numbers are generated in combination with speed sensors and signal processing components.
It achieves the generation of true random numbers, avoids the possibility of data being predicted, reduces production and operating costs, and improves information security.
Smart Images

Figure CN120653225A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of random number technology, and in particular to a random number generator and a method for obtaining random numbers. Background Art
[0002] Highly random true random number generators have already played a significant role in secure communications, cryptography, information security, and other fields. However, currently, true random number generators are scarce, posing significant risks to data encryption. The vast majority of random number generators on the market are based on non-random mathematical algorithms that are predictable, posing serious security issues. Furthermore, these random number generators are difficult to manufacture and expensive to operate, presenting significant drawbacks. Summary of the Invention
[0003] The purpose of the present invention is to provide a random number generator and a method for obtaining random numbers to solve the problems existing in the above-mentioned prior art. By measuring the motion state information of the swing end in a chaotic motion state on a chaotic pendulum whose trajectory cannot be predicted, and performing data processing on the motion state information value to obtain random data, truly random data can be obtained, the possibility of data being predicted is avoided, and information security is guaranteed.
[0004] To achieve the above object, the present invention provides the following solutions:
[0005] A random number generator includes a chaotic pendulum, a parameter measuring element, a parameter receiving element, and a signal processing element; the parameter measuring element is fixed to the swinging end of the chaotic pendulum in a chaotic motion state and is used to measure the motion state information value of the swinging end; the parameter receiving element communicates with the parameter measuring element and is used to receive data information measured by the parameter measuring element; the signal processing element is communicatively connected to the parameter receiving element and is used to output random data based on the data information measured by the parameter receiving element.
[0006] The chaotic pendulum described in this embodiment is a double-rod chaotic pendulum, including a bracket, a first running rod and a second running rod. The middle part of the first running rod is hinged to the bracket, one end of the first running rod is hinged to the middle part of the second running rod, and the other end of the first running rod is fixed to the parameter measurement element.
[0007] In this embodiment, the parameter measuring element is a speed sensor, which is used to measure the linear speed of the end of the first running rod.
[0008] The signal processing element in this embodiment is used to obtain linear velocity values corresponding to a plurality of consecutive evenly spaced moments, and to obtain the units digit of the plurality of linear velocity values as a final random number, thereby finally generating a plurality of random numbers.
[0009] The chaotic pendulum in this embodiment further includes a base, and the bracket is fixed on the base.
[0010] The chaotic pendulum in this embodiment has an electric drive mechanism.
[0011] The present invention also provides a method for obtaining a random number, which uses the above-mentioned random number generator and includes the following steps:
[0012] S1. The central control system receives an instruction from the demand side to obtain a random number;
[0013] S2, the central control system instructs the parameter measurement unit to measure the linear velocity values of the swing end of the chaotic pendulum corresponding to a plurality of consecutive evenly spaced moments, and transmits the linear velocity values to the signal processing unit through the signal receiving unit, and takes the units digit of the plurality of linear velocity values as the final random number, thereby finally generating a plurality of random numbers;
[0014] S3. The central control system sends the generated random number to the demand side.
[0015] In S2 of this embodiment, if the chaotic pendulum is initially in a stationary state, the electric drive mechanism drives the chaotic pendulum to start moving. After the chaotic pendulum reaches a chaotic motion state, the parameter measurement unit measures and obtains the linear velocity value of the swing end of the chaotic pendulum.
[0016] In this embodiment, the number of linear velocity values measured by the parameter measurement unit in S2 is 6.
[0017] In S2 of this embodiment, the time interval for obtaining multiple linear velocity values is 1 second.
[0018] Compared with the prior art, the present invention has the following technical effects:
[0019] The present invention measures the motion state information of the swing end in a chaotic motion state on a chaotic pendulum with an unpredictable trajectory, and processes the motion state information value to obtain random data. This can obtain truly random data, avoid the possibility of data being predicted, and ensure information security. Moreover, the random number generator in the present invention has the advantages of low production, operation and maintenance costs and easy data acquisition. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1A schematic diagram of the working principle of a random number generator in one embodiment of the present invention;
[0022] Figure 2 Schematic diagram of the structure of a chaotic pendulum in one embodiment of the present invention.
[0023] Description of reference numerals:
[0024] 1. Chaotic pendulum; 11. First running rod; 12. Second running rod; 13. Bracket; 14. Speed sensor; 15. Base; 2. Signal processing element. DETAILED DESCRIPTION
[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0026] The purpose of the present invention is to provide a random number generator and a method for obtaining random numbers to solve the problems existing in the prior art. By measuring the motion state information of the swing end in a chaotic motion state on a chaotic pendulum whose trajectory cannot be predicted, and performing data processing on the motion state information value to obtain random data, truly random data can be obtained, the possibility of data being predicted is avoided, and information security is guaranteed.
[0027] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Example 1:
[0029] This embodiment provides a random number generator, including a chaotic pendulum 1, a parameter measuring element, a parameter receiving element, and a signal processing element 2; the parameter measuring element is fixed to the swinging end of the chaotic pendulum 1 in a chaotic motion state, and is used to measure the motion state information value of the swinging end. The motion state information may include but is not limited to the linear velocity, angular velocity, acceleration, position information, etc. of the swinging end; the parameter receiving element communicates with the parameter measuring element and is used to receive data information measured by the parameter measuring element; the signal processing element 2 is communicatively connected to the parameter receiving element and is used to output random data based on the data information measured by the parameter receiving element.
[0030] Therefore, this embodiment measures the motion state information of the swing end in a chaotic motion state on the chaotic pendulum 1 whose trajectory cannot be predicted, and processes the motion state information value to obtain random data, thereby obtaining truly random data, avoiding the possibility of data being predicted, and ensuring information security; moreover, the random number generator in this embodiment also has the advantages of low production, operation and maintenance costs, and easy data acquisition.
[0031] The present invention can adopt any form of chaotic pendulum 1, which can have one main pendulum and two or three auxiliary pendulums. Figure 1 As shown, in this embodiment, the chaotic pendulum 1 is a double-rod chaotic pendulum 1, comprising a bracket 13, a first operating rod 11, and a second operating rod 12. The middle portion of the first operating rod 11 is hinged to the bracket 13, one end of the first operating rod 11 is hinged to the middle portion of the second operating rod 12, and a parameter measuring element is fixed to the other end of the first operating rod 11. The length of the first operating rod 11 is greater than that of the second operating rod 12. In this embodiment, the parameter measuring element is a velocity sensor 14, which is used to measure the linear velocity of the end of the first operating rod 11. Bearings can be provided at the hinged locations of the first operating rod 11 and the bracket 13, as well as at the hinged locations of the first operating rod 11 and the second operating rod 12.
[0032] In this embodiment, the signal processing element 2 is used to obtain linear velocity values corresponding to a plurality of consecutive evenly spaced moments, and to take the units digit of the plurality of linear velocity values as a final random number, thereby generating a plurality of random numbers. The interval for obtaining the values can be 1 second or 1ms to 10ms, and the number of values can be selected according to actual needs.
[0033] In this embodiment, the chaotic pendulum 1 further includes a base 15 , and the bracket 13 is fixed on the base 15 .
[0034] In this embodiment, the chaotic pendulum 1 has an electric drive mechanism to ensure that the chaotic pendulum 1 can continue to perform chaotic motion. The electric drive mechanism in the chaotic pendulum 1 is well known to those skilled in the art. It usually uses electromagnetic pulse drive to drive the first operating rod 11 to overcome bearing friction and air resistance.
[0035] Example 2:
[0036] This embodiment provides a method for obtaining a random number, using the random number generator in Embodiment 1, including the following steps:
[0037] S1. The central control system receives an instruction from the demand side to obtain a random number;
[0038] S2, the central control system instructs the parameter measurement unit to measure the linear velocity values of the swing end of the chaotic pendulum 1 corresponding to a plurality of consecutive evenly spaced moments, and transmits the linear velocity values to the signal processing unit through the signal receiving unit, and takes the units digit of the plurality of linear velocity values as the final random number, thereby finally generating a plurality of random numbers;
[0039] S3. The central control system sends the generated random number to the demand side.
[0040] In this embodiment S2, if the chaotic pendulum 1 is initially in a stationary state, the electric drive mechanism drives the chaotic pendulum 1 to start moving. After the chaotic pendulum 1 reaches the chaotic motion state, the parameter measurement unit measures and obtains the linear velocity value of the swing end of the chaotic pendulum 1.
[0041] In this embodiment S2, the number of linear velocity values measured by the parameter measurement unit is 6.
[0042] In this embodiment S2, the time interval for obtaining multiple linear velocity values is 1 second.
[0043] In a specific example, if you need to obtain a random password for online banking or a mobile phone verification code required to log in to other websites, you can set up a random number generator in the remote background to generate a random number, and use the random number as the mobile phone verification code to send to the user's mobile phone.
[0044] For example, a speed sensor 14 is installed at the end point of the long section of the long rod on the chaotic pendulum 1. When the chaotic pendulum 1 moves, the rate is collected every 1 second, and a total of 6 times. The detected rate is used as a random number and wirelessly sent to the parameter receiving element. The parameter receiving element then transmits the signal value to the signal processing element 2. The signal processing element 2 takes the unit digit of the random rate value as the final random number, and finally generates 6 random numbers.
[0045] The measured data are shown in the following table.
[0046] Time(s) 1 2 3 4 5 6 Speed (m / s) 15 29 8 6 11 2 Signal processing element processing value 5 9 8 6 1 2
[0047] The random number obtained is 598612.
[0048] Adaptive changes based on actual needs are all within the scope of protection of the present invention.
[0049] The present invention uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only intended to help understand the method and core concept of the present invention. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concept of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.
Claims
1. A random number generator, characterized in that include: Chaos Pendulum; a parameter measuring element, the parameter measuring element being fixed to the swing end of the chaotic pendulum in the chaotic motion state and being used to measure the motion state information value of the swing end; a parameter receiving element, the parameter receiving element communicating with the parameter measuring element and configured to receive data information measured by the parameter measuring element; and a signal processing element, wherein the signal processing element is communicatively connected to the parameter receiving element and is configured to output random data according to the data information measured by the parameter receiving element.
2. The random number generator according to claim 1, wherein The chaotic pendulum is a double-rod chaotic pendulum, including a bracket, a first running rod and a second running rod. The middle part of the first running rod is hinged to the bracket, one end of the first running rod is hinged to the middle part of the second running rod, and the other end of the first running rod is fixed to the parameter measuring element.
3. The random number generator according to claim 2, wherein: The parameter measuring element is a speed sensor, which is used to measure the linear speed of the end of the first running rod.
4. The random number generator according to claim 3, wherein The signal processing element is used to obtain linear velocity values corresponding to a plurality of consecutive evenly spaced moments, and to obtain the units digit of the plurality of linear velocity values as a final random number, thereby finally generating a plurality of random numbers.
5. The random number generator according to claim 4, characterized in that The chaotic pendulum further includes a base, and the bracket is fixed on the base.
6. The random number generator according to claim 5, characterized in that The chaotic pendulum has an electric driving mechanism.
7. A method for obtaining a random number, using the random number generator according to claim 6, characterized in that: The following steps are involved: S1. The central control system receives an instruction from the demand side to obtain a random number; S2, the central control system instructs the parameter measurement unit to measure the linear velocity values of the swing end of the chaotic pendulum corresponding to a plurality of consecutive evenly spaced moments, and transmits the linear velocity values to the signal processing unit through the signal receiving unit, and takes the units digit of the plurality of linear velocity values as the final random number, thereby finally generating a plurality of random numbers; S3. The central control system sends the generated random number to the demand side.
8. The method for obtaining a random number according to claim 7, wherein: In S2, if the chaotic pendulum is initially in a stationary state, the electric drive mechanism drives the chaotic pendulum to start moving. After the chaotic pendulum reaches a chaotic motion state, the parameter measurement unit measures and obtains the linear velocity value of the swing end of the chaotic pendulum.
9. The method for obtaining a random number according to claim 8, wherein: The number of linear velocity values measured by the parameter measurement unit in S2 is 6.
10. The method for obtaining a random number according to claim 9, wherein: In S2, the time interval for obtaining multiple linear velocity values is 1 second.