CN108804011B - Random number generation method and generation system based on interactive curve - Google Patents

Random number generation method and generation system based on interactive curve Download PDF

Info

Publication number
CN108804011B
CN108804011B CN201810573788.3A CN201810573788A CN108804011B CN 108804011 B CN108804011 B CN 108804011B CN 201810573788 A CN201810573788 A CN 201810573788A CN 108804011 B CN108804011 B CN 108804011B
Authority
CN
China
Prior art keywords
random
curve
screen
random number
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810573788.3A
Other languages
Chinese (zh)
Other versions
CN108804011A (en
Inventor
韩强
闫申
马臣云
张江瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Trustdo Technology Co ltd
Original Assignee
Beijing Trustdo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Trustdo Technology Co ltd filed Critical Beijing Trustdo Technology Co ltd
Priority to CN201810573788.3A priority Critical patent/CN108804011B/en
Publication of CN108804011A publication Critical patent/CN108804011A/en
Application granted granted Critical
Publication of CN108804011B publication Critical patent/CN108804011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds

Abstract

The invention discloses a random number generation method and a random number generation system based on an interactive curve, which belong to the technical field of information security and solve the technical problem of how to generate a random number of mobile equipment on the premise of ensuring security and convenience; the method comprises the steps of generating a random curve through an acquired physical random source, drawing a screen along the random curve by a user, and generating a random number through HASH calculation on a coordinate error between a screen drawing track and the random curve. The system comprises a user interaction module, a data acquisition module, a random curve generation module, a random number generation module and a storage module. The present invention can generate random, unpredictable mobile device random numbers.

Description

Random number generation method and generation system based on interactive curve
Technical Field
The invention relates to the technical field of information security, in particular to a random number generation method and a random number generation system based on an interactive curve.
Background
In the era of mobile internet, mobile devices are more and more popular, and security requirements are higher and higher, so that the participation of a cryptographic algorithm is required to ensure the security of user equipment, but the cryptographic algorithm depends on the security of random numbers, and the generation of the random numbers mainly depends on hardware noise source devices such as an encryption machine. In the existing random number generation scheme, in view of the inconvenience of using large-scale equipment by a client, the client generates a random number in a pseudo-random mode, and a server uses an encryption machine or random source hardware. It is clear that the way in which the encryptor collects random numbers is not suitable for the ever-increasing mobile security requirements.
How to generate the random number of the mobile device on the premise of ensuring the safety and convenience is a technical problem to be solved.
Disclosure of Invention
The technical task of the invention is to provide a random number generation method and a random number generation system based on an interactive curve to solve the problem of how to generate the random number of the mobile equipment on the premise of ensuring the safety and the convenience.
The technical task of the invention is realized by the following modes:
a random number generating method based on interactive curves comprises the following steps that a random curve is generated through an acquired physical random source, a user draws a screen along the random curve, and HASH calculation is carried out on coordinate errors between a screen drawing track and the random curve to generate random numbers, wherein the method comprises the following steps:
s100, setting a designated area of a screen, wherein the designated area is a closed area surrounded by geometric figures;
s200, acquiring real-time information of various mobile equipment sensors as a physical random source, generating a plurality of inflection points based on the random source, fitting the inflection points into a random curve, and displaying the random curve in a designated area of a screen;
s300, a user slides a finger on a screen along a random curve, and a random number seed is selected according to a coordinate error between a finger sliding track and the random curve;
s400, HASH calculation is carried out on the random number seeds to obtain random numbers;
the screen is a screen with a touch display function.
Further, the designated area of the screen in step S100 is a rectangular area, and the method for setting the designated area of the screen includes: two coordinate points are appointed on a screen, the two coordinate points are arranged diagonally, a rectangular area is constructed through the two coordinate points, and the rectangular area is an appointed area.
Further, step S200 includes the following steps:
s210, setting the number of inflection points;
s220, acquiring real-time information of various mobile equipment sensors according to the set number of inflection points, wherein the real-time information of each mobile equipment sensor comprises a plurality of groups of data, and multiplying and splicing each group of corresponding data in the real-time information of the various mobile equipment sensors to generate random numbers, wherein the number of the random numbers is twice of the number of the inflection points;
s230, combining the random numbers in pairs to form a coordinate point for determining the position of an inflection point, and performing secondary closure on the inflection point to generate a random curve;
and S240, displaying the random curve on a designated area of the screen.
Further, step S300 includes the steps of:
s310, sliding a finger on a screen by a user along the routing direction of the random curve;
s320, judging whether the finger sliding track is qualified or not according to the tolerance, if the finger sliding track is qualified, entering the step S330, and if the finger sliding track is unqualified, repeating the step S310;
s330, calculating the coordinate error of the corresponding point between the finger sliding track and the random curve, and selecting a predetermined number of coordinate error difference values to perform splicing calculation to generate random number seeds.
A random number generating system based on an interactive curve can realize any one of the above random number generating methods based on the interactive curve, and comprises a user interaction module, a data acquisition module, a random curve generating module, a random number generating module and a storage module, wherein the user interaction module comprises a user interaction unit and a touch display screen, and the user interaction unit and the touch display screen are matched to support a user to set a designated area of the touch display screen and to support the user to set the number of inflection points; the data acquisition module can be connected with the mobile equipment sensor and is used for acquiring real-time information of the mobile equipment sensor; the random curve generation module is respectively connected with the data acquisition module and the touch display screen and is used for carrying out data processing on the real-time information to generate a random curve, and the random curve can be displayed on the touch display screen; the random number generation module is connected with the touch display screen, can read a finger sliding track of a user on the touch display screen, and can generate a random number according to a coordinate error between the finger sliding track and a random curve; the storage module is respectively connected with the user interaction module, the data acquisition module, the random curve generation module and the random number generation module and is used for storing data generated in the user interaction module, the data acquisition module, the random curve generation module and the random number generation module.
Further, the data acquisition module is used for acquiring real-time information of various mobile equipment sensors according to the number of set inflection points, wherein the real-time information of each mobile equipment sensor comprises multiple groups of data; the random curve generation module is a module with the following functions:
multiplying and splicing each group of corresponding data in the real-time information of the various mobile equipment sensors to generate random numbers, wherein the number of the random numbers is twice of the number of inflection points;
combining the random numbers in pairs to form coordinate points corresponding to inflection points, and performing secondary closure on the inflection points to generate a random curve;
and displaying the random curve on a designated area of the screen.
Further, the random number generation module is a module having the following functions:
reading a finger sliding track of a user along a random curve on a touch display screen;
judging whether the finger sliding track is qualified or not according to the tolerance, if the finger sliding track is qualified, entering the next step, and if the finger sliding track is unqualified, repeating the previous step;
calculating the coordinate error of a corresponding point between the finger sliding track and the random curve, and selecting a predetermined number of coordinate error difference values to perform splicing calculation to generate random number seeds;
and performing HASH calculation on the random number seeds to obtain random numbers.
The method and the system for generating the random number based on the interactive curve have the following advantages that: the user sets a designated area and the number of inflection points of a screen, a preset number of random numbers are generated by a collected physical random source to serve as the inflection points to be fitted into a random curve, the user slides a finger on the screen along the trend of the random curve, the random numbers are obtained according to the coordinate error between the sliding finger and the random curve, the random numbers can be generated only by the participation of the user in operation, the operation is similar to the second-generation KEY technology, the malicious operation of a hacker is avoided, and the random numbers are generated by HASH calculation on the basis of the coordinate error between the finger sliding track of the user and the random curve, and have randomness and unpredictability.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a block flow diagram of a method for generating random numbers based on an interactive curve according to example 1;
FIG. 2 is a block diagram showing a structure of a random number generating system based on an interactive curve according to example 2;
Detailed Description
An interactive curve-based random number generation method and system according to the present invention will be described in detail with reference to the accompanying drawings and embodiments.
Example 1:
as shown in fig. 1, the method for generating random numbers based on interactive curves according to the present invention generates random curves by using an acquired physical random source, a user draws a screen along the random curves, and generates random numbers by performing HASH calculation on coordinate errors between a screen drawing track and the random curves, and includes the following steps:
s100, setting a designated area of a screen, wherein the designated area is a closed area surrounded by geometric figures;
s200, acquiring real-time information of various mobile equipment sensors as a physical random source, generating a plurality of inflection points based on the random source, fitting the inflection points into a random curve, and displaying the random curve in a designated area of a screen;
s300, a user slides a finger on a screen along a random curve, and a random number seed is selected according to a coordinate error between a finger sliding track and the random curve;
s400, HASH calculation is carried out on the random number seeds to obtain random numbers.
The screen in step S100 is a screen with a touch display function, the designated area of the screen is a rectangular area, and the setting mode is as follows: selecting the coordinate point (x) at the upper left corner of the screen0,y0) And the lower right corner coordinate point (x)1,y1) Through the upper left corner coordinate point (x)0,y0) And the lower right corner coordinate point (x)1,y1) And constructing a rectangular area as a designated area of the screen.
Step S200 is to construct a random curve through the obtained physical random source for realizing interaction with a user, and specifically includes the following steps:
s210, setting the number of inflection points to be 3;
s210, acquiring real-time information of three mobile device sensors, wherein the real-time information of each mobile device sensor comprises three groups of data, and each group of data comprises three data which are respectively:
a sensor A: (AX1, AY1, AZ1), (AX2, AY2, AZ2), (AX3, AY3, AZ 3);
a sensor B: (BX1, BY1, BZ1), (BX2, BY2, BZ2), (BX3, BY3, BZ 3);
a sensor C: (CX1, CY1, CZ1), (CX2, CY2, CZ2), (CX3, CY3, CZ 3);
s220, multiplying and splicing each group of data in the real-time information of the three mobile equipment sensors to obtain 2 random numbers with specified bit lengths, wherein the random numbers are as follows:
the first set of corresponding random numbers M11 is:
M11=(AX1*BX1*CX1)||(AY1*BY1*CY1)||(AZ1*BZ1*CZ1);
the first set of corresponding random numbers M12 is:
M12=(AX1*BX1*CX1)||(AZ1*BZ1*CZ1)||(AY1*BY1*CY1);
the second set of corresponding random numbers M21 is:
M21=(AX2*BX2*CX2)||(AY2*BY2*CY2)||(AZ2*BZ2*CZ2);
the second set of corresponding random numbers M22 is:
M22=(AX2*BX2*CX2)||(AZ2*BZ2*CZ2)||(AY2*BY2*CY2);
the third set of corresponding random numbers M31 is:
M31=(AX3*BX3*CX3)||(AY3*BY3*CY3)||(AZ3*BZ3*CZ3);
M32=(AX3*BX3*CX3)||(AZ3*BZ3*CZ3)||(AY3*BY3*CY3);
s230, combining the 6 random numbers in pairs to form a coordinate point corresponding to the inflection point to obtain 3 inflection points, if the inflection point is positioned outside the designated area of the screen, performing modulus operation on the coordinate point until the coordinate point is positioned in the designated area of the screen, and then performing Bezier curve operation on the three inflection points to generate a random curve;
and S240, displaying the random curve on a designated area of the screen.
In step S200 in this embodiment, the real-time information of each mobile device sensor includes 3 sets of data, and each set of data corresponding to the real-time information of the three mobile device sensors is multiplied and spliced to obtain 2 × 3 random numbers, and two points can determine one coordinate point, so that the 2 × 3 random numbers are combined two by two to form 3 inflection points, and a random curve can be fitted through the 3 inflection points.
In practical application, the data contained in the real-time information of the mobile device sensor is not limited to 3 groups, M groups of data can be selected, 2 × M random numbers are obtained by performing correlation operation on the M groups of data, and in view of at least two inflection points, a curve is determined, wherein M is required to be more than or equal to 2; or, 4 × M random numbers are obtained by performing correlation operation on the M groups of data, and in view of at least two inflection points, a curve is determined, in which case, M is required to be greater than or equal to 1.
In step S300, the user draws a screen according to the trend of the random curve, and obtains a random number seed according to a coordinate error between a screen drawing track of the user and the random curve, which specifically includes the following steps:
s310, sliding a finger on a screen by a user along the routing direction of the random curve;
s320, judging whether the finger sliding track is qualified or not according to the tolerance, if the finger sliding track is qualified, entering the step S330, and if the finger sliding track is unqualified, repeating the step S310;
s330, calculating coordinate errors of corresponding points between the finger sliding tracks and the random curves, and selecting 100 coordinate error difference values to perform splicing calculation to generate random number seeds.
The random curve comprises a plurality of coordinate points, the finger sliding track comprises a plurality of coordinate points, errors can be generated between the points on the random curve and the corresponding points on the finger sliding track, 100 points without coordinate errors are selected from the corresponding points to be spliced and calculated to obtain a value, and the value is used as a random number seed.
HASH calculation is performed on the random number seed obtained in step S330 through step S400 to obtain a set of random numbers, which are random and unpredictable.
In this embodiment, the mobile device is a mobile phone, and in practical application, the method may also be used to generate random numbers on other mobile devices such as a PAD.
Example 2:
as shown in FIG. 2, the interactive curve-based random number generation system of the present invention comprises a user interaction module, a data acquisition module, a random curve generation module, a random number generation module and a storage module,
the system comprises a user interaction module, a data acquisition module, a random curve generation module, a random number generation module and a storage module, wherein the user interaction module comprises a user interaction unit and a touch display screen, and the user interaction unit and the touch display screen are matched to support a user to set a designated area of the touch display screen and to support the user to set the number of inflection points; the data acquisition module can be connected with the mobile equipment sensor and is used for acquiring real-time information of the mobile equipment sensor; the random curve generation module is respectively connected with the data acquisition module and the touch display screen and is used for carrying out data processing on the real-time information to generate a random curve, and the random curve can be displayed on the touch display screen; the random number generation module is connected with the touch display screen, can read a finger sliding track of a user on the touch display screen, and can generate a random number according to a coordinate error between the finger sliding track and a random curve; the storage module is respectively connected with the user interaction module, the data acquisition module, the random curve generation module and the random number generation module and is used for storing data generated in the user interaction module, the data acquisition module, the random curve generation module and the random number generation module.
The method for setting the designated area of the touch display screen through the cooperation of the user interaction unit and the touch display screen comprises the following steps: the user selects two coordinate points which are opposite angles through the touch display screen, wherein the two coordinate points are respectively an upper left corner coordinate point (x)0,y0) And the lower right corner coordinate point (x)1,y1) From the upper left corner coordinate point (x)0,y0) And the lower right corner coordinate point (x)1,y1) And constructing a rectangular area as a designated area.
The method for setting the number of inflection points through the cooperation of the user interaction unit and the touch display screen comprises the following steps: a user selects the number 3 as the number of the inflection points through the touch display screen, and every two of the three inflection points are connected through smooth straight lines to form a curve.
In this embodiment, the data acquisition module acquires real-time information of three mobile phone sensors, the real-time information of each mobile phone sensor includes three sets of data, each set of data includes three data, which are respectively:
a sensor A: (AX1, AY1, AZ1), (AX2, AY2, AZ2), (AX3, AY3, AZ 3);
a sensor B: (BX1, BY1, BZ1), (BX2, BY2, BZ2), (BX3, BY3, BZ 3);
a sensor C: (CX1, CY1, CZ1), (CX2, cY2, CZ2), (CX3, CY3, CZ 3).
The random curve generation module obtains the random of the designated length by carrying out multiplication operation and splicing calculation on the real-time information, and carries out secondary closure on the random number to generate a random curve, and the specific flow is as follows:
(1) performing multiplication and splicing calculation on the real-time information to obtain a random number with a specified length, and obtaining three random numbers, wherein the three random numbers are respectively as follows:
the first set of corresponding random numbers M11 is:
M11=(AX1*BX1*CX1)||(AY1*BY1*CY1)||(AZ1*BZ1*CZ1);
the first set of corresponding random numbers M12 is:
M12=(AX1*BX1*CX1)||(AZ1*BZ1*CZ1)||(AY1*BY1*CY1);
the second set of corresponding random numbers M21 is:
M21=(AX2*BX2*CX2)||(AY2*BY2*CY2)||(AZ2*BZ2*CZ2);
the second set of corresponding random numbers M22 is:
M22=(AX2*BX2*CX2)||(AZ2*BZ2*CZ2)||(AY2*BY2*CY2);
the third set of corresponding random numbers M31 is:
M31=(AX3*BX3*CX3)||(AY3*BY3*CY3)||(AZ3*BZ3*CZ3);
M32=(AX3*BX3*CX3)||(AZ3*BZ3*CZ3)||(AY3*BY3*CY3);
(2) combining the 6 random numbers in pairs to form a coordinate point corresponding to the inflection point to obtain 3 inflection points, if the inflection point is positioned outside the designated area of the screen, performing modular operation on the related data until the coordinate point is positioned in the designated area of the screen, and then performing Bezier curve operation on the three inflection points to generate a random curve;
(3) and displaying the random curve on a designated area of the touch display screen.
The working process in the random number generation module is as follows:
reading a finger sliding track of a user along a random curve on a touch display screen;
judging whether the finger sliding track is qualified or not according to the tolerance, if the finger sliding track is qualified, entering the next step, and if the finger sliding track is unqualified, repeating the previous step;
calculating the coordinate error of a corresponding point between the finger sliding track and the random curve, and selecting 100 coordinate error difference values for splicing calculation to generate random number seeds;
and performing HASH calculation on the random number seeds to obtain a group of random numbers.
An interactive curve-based random number generation method disclosed in embodiment 1 may be implemented by an interactive curve-based random number generation system of this embodiment, thereby generating unpredictable, random numbers.
In this embodiment, the mobile device is a mobile phone, and in practical application, the system configuration and PAD and other mobile devices may also be used to generate the random number.
The present invention can be easily implemented by those skilled in the art from the above detailed description. It should be understood, however, that the intention is not to limit the invention to the particular embodiments described. On the basis of the disclosed embodiments, a person skilled in the art can combine different technical features at will, thereby implementing different technical solutions. In addition to the technical features described in the specification, the technology is known to those skilled in the art.

Claims (5)

1. A random number generating method based on interactive curves is characterized in that a random curve is generated through an acquired physical random source, a user draws a screen along the random curve, and a random number is generated through HASH calculation on a coordinate error between a screen drawing track and the random curve, and the method comprises the following steps:
s100, setting a designated area of a screen, wherein the designated area is a closed area surrounded by geometric figures;
s200, acquiring real-time information of various mobile equipment sensors as a physical random source, generating a plurality of inflection points based on the random source, fitting the inflection points into a random curve, and displaying the random curve in a designated area of a screen;
step S200 is to construct a random curve through the obtained physical random source for realizing interaction with a user, and specifically includes the following steps:
s210, setting the number of inflection points to be 3;
s220, obtain the real-time information of 3 kinds of mobile device sensors, the real-time information of each kind of mobile device sensor all includes 3 group data, and every group data includes 3 data, is respectively:
a sensor A: (AX1, AY1, AZ1), (AX2, AY2, AZ2), (AX3, AY3, AZ 3);
a sensor B: (BX1, BY1, BZ1), (BX2, BY2, BZ2), (BX3, BY3, BZ 3);
a sensor C: (CX1, CY1, CZ1), (CX2, CY2, CZ2), (CX3, CY3, CZ 3);
s230, multiplying and splicing each group of data in the real-time information of the 3 kinds of mobile equipment sensors to obtain 2 random numbers with specified bit lengths, wherein the random numbers are respectively as follows:
the first set of corresponding random numbers M11 is:
M11=(AX1*BX1*CX1)||(AY1*BY1*CY1)||(AZ1*BZ1*CZ1);
the first set of corresponding random numbers M12 is:
M12=(AX1*BX1*CX1)||(AZ1*BZ1*CZ1)||(AY1*BY1*CY1);
the second set of corresponding random numbers M21 is:
M21=(AX2*BX2*CX2)||(AY2*BY2*CY2)||(AZ2*BZ2*CZ2);
the second set of corresponding random numbers M22 is:
M22=(AX2*BX2*CX2)||(AZ2*BZ2*CZ2)||(AY2*BY2*CY2);
the third set of corresponding random numbers M31 and M32 are:
M31=(AX3*BX3*CX3)||(AY3*BY3*CY3)||(AZ3*BZ3*CZ3);
M32=(AX3*BX3*CX3)||(AZ3*BZ3*CZ3)||(AY3*BY3*CY3);
s240, combining the 6 random numbers in pairs to form a coordinate point corresponding to the inflection point to obtain 3 inflection points, if the inflection point is positioned on the outer side of the designated area of the screen, performing modulus operation on the coordinate point until the coordinate point is positioned in the designated area of the screen, and then performing Bezier curve operation on the 3 inflection points to generate a random curve;
s250, displaying the random curve on a designated area of a screen;
the data contained in the real-time information of the mobile equipment sensor is not limited to 3 groups, M groups of data can be selected, 2M random numbers are obtained by performing correlation operation on the M groups of data, and a curve is determined according to at least 2 inflection points, wherein in the case, M is required to be more than or equal to 2; or, 4 × M random numbers are obtained by performing correlation operation on the M groups of data, and a curve is determined in consideration of at least 2 inflection points, in this case, M is required to be greater than or equal to 1;
s300, a user slides a finger on a screen along a random curve, and a random number seed is selected according to a coordinate error between a finger sliding track and the random curve;
s400, HASH calculation is carried out on the random number seeds to obtain random numbers;
the screen is a screen with a touch display function.
2. The interactive curve-based random number generating method as claimed in claim 1, wherein the designated area of the screen is a rectangular area in step S100, and the method of setting the designated area of the screen comprises: two coordinate points are designated on a screen, are arranged diagonally, and a rectangular area is constructed through the two coordinate points.
3. The interactive curve-based random number generation method as claimed in claim 1 or 2, wherein the step S300 comprises the steps of:
s310, sliding a finger on a screen by a user along the routing direction of the random curve;
s320, judging whether the finger sliding track is qualified or not according to the tolerance, if the finger sliding track is qualified, entering the step S330, and if the finger sliding track is unqualified, repeating the step S310;
s330, calculating the coordinate error of the corresponding point between the finger sliding track and the random curve, and selecting a predetermined number of coordinate error difference values to perform splicing calculation to generate random number seeds.
4. An interactive curve-based random number generation system, which is capable of implementing an interactive curve-based random number generation method according to any one of claims 1 to 3, and comprises a user interaction module, a data acquisition module, a random curve generation module, a random number generation module and a storage module,
the user interaction module comprises a user interaction unit and a touch display screen, and the user interaction unit and the touch display screen are matched to support a user to set a designated area of the touch display screen and to support the user to set the number of inflection points;
the data acquisition module can be connected with the mobile equipment sensor and is used for acquiring real-time information of the mobile equipment sensor;
the random curve generation module is respectively connected with the data acquisition module and the touch display screen and is used for carrying out data processing on the real-time information to generate a random curve, and the random curve can be displayed on the touch display screen;
the random number generation module is connected with the touch display screen, can read a finger sliding track of a user on the touch display screen, and can generate a random number according to a coordinate error between the finger sliding track and a random curve;
the storage module is respectively connected with the user interaction module, the data acquisition module, the random curve generation module and the random number generation module and is used for storing data generated in the user interaction module, the data acquisition module, the random curve generation module and the random number generation module;
the data acquisition module is used for acquiring real-time information of various mobile equipment sensors according to the number of set inflection points, wherein the real-time information of each mobile equipment sensor comprises a plurality of groups of data;
the random curve generation module is a module with the following functions:
multiplying and splicing each group of corresponding data in the real-time information of the various mobile equipment sensors to generate random numbers, wherein the number of the random numbers is twice of the number of inflection points;
combining the random numbers in pairs to form coordinate points corresponding to inflection points, and performing secondary closure on the inflection points to generate a random curve;
and displaying the random curve on a designated area of the screen.
5. The interactive curve based random number generating system of claim 4, wherein the random number generating module is a module having functions of:
reading a finger sliding track of a user along a random curve on a touch display screen;
judging whether the finger sliding track is qualified or not according to the tolerance, if the finger sliding track is qualified, entering the next step, and if the finger sliding track is unqualified, repeating the previous step;
calculating the coordinate error of a corresponding point between the finger sliding track and the random curve, and selecting a predetermined number of coordinate error difference values to perform splicing calculation to generate random number seeds;
and performing HASH calculation on the random number seeds to obtain random numbers.
CN201810573788.3A 2018-06-06 2018-06-06 Random number generation method and generation system based on interactive curve Active CN108804011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810573788.3A CN108804011B (en) 2018-06-06 2018-06-06 Random number generation method and generation system based on interactive curve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810573788.3A CN108804011B (en) 2018-06-06 2018-06-06 Random number generation method and generation system based on interactive curve

Publications (2)

Publication Number Publication Date
CN108804011A CN108804011A (en) 2018-11-13
CN108804011B true CN108804011B (en) 2021-08-03

Family

ID=64087373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810573788.3A Active CN108804011B (en) 2018-06-06 2018-06-06 Random number generation method and generation system based on interactive curve

Country Status (1)

Country Link
CN (1) CN108804011B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142844B (en) * 2019-12-25 2024-02-13 杭州安司源科技有限公司 Lightweight true random number generation method
CN111259419A (en) * 2020-01-15 2020-06-09 海南新软软件有限公司 Random number encryption method and device based on multiple sensors
CN113449274B (en) * 2020-03-24 2022-10-25 浪潮卓数大数据产业发展有限公司 Method, device and medium for generating random number based on biological characteristics
CN115714644B (en) * 2022-10-31 2023-08-15 北京海泰方圆科技股份有限公司 Random number generation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063599A (en) * 2011-01-10 2011-05-18 杭州电子科技大学 Document encrypting and decrypting methods based on Chinese character handwriting of touch screen
KR20110058087A (en) * 2009-11-25 2011-06-01 한국전자통신연구원 Method generating personal identification, method proofing specific person and apparatus generating personal identification
CN103870741A (en) * 2012-12-18 2014-06-18 阿里巴巴集团控股有限公司 Password authentication method, device and terminal
CN106027239A (en) * 2016-06-30 2016-10-12 西安电子科技大学 Multi-receiver signcryption method based on keyless trusteeship problem of elliptic curve

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533432A (en) * 2008-03-14 2009-09-16 鸿富锦精密工业(深圳)有限公司 System and method for password protection
US9503259B2 (en) * 2012-02-09 2016-11-22 Irdeto B.V. System and method for generating and protecting cryptographic keys
CN103617020B (en) * 2013-12-23 2018-03-23 网易乐得科技有限公司 A kind of method and apparatus that random number is generated in application program
CN103873232B (en) * 2014-03-03 2017-01-11 杭州电子科技大学 Generation method for biologic key of user chirography on touch screen
US20150349954A1 (en) * 2014-06-03 2015-12-03 Mason Borda System and method for random seed generation
CN107682368B (en) * 2017-11-16 2021-04-02 江苏通付盾科技有限公司 Verification method, client, server and system based on interactive operation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110058087A (en) * 2009-11-25 2011-06-01 한국전자통신연구원 Method generating personal identification, method proofing specific person and apparatus generating personal identification
CN102063599A (en) * 2011-01-10 2011-05-18 杭州电子科技大学 Document encrypting and decrypting methods based on Chinese character handwriting of touch screen
CN103870741A (en) * 2012-12-18 2014-06-18 阿里巴巴集团控股有限公司 Password authentication method, device and terminal
CN106027239A (en) * 2016-06-30 2016-10-12 西安电子科技大学 Multi-receiver signcryption method based on keyless trusteeship problem of elliptic curve

Also Published As

Publication number Publication date
CN108804011A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108804011B (en) Random number generation method and generation system based on interactive curve
Grossman et al. Typing on glasses: Adapting text entry to smart eyewear
CN104851071B (en) A kind of digital image encryption method based on three-dimensional chaotic system
CN104778387A (en) Cross-platform identity authentication system and method based on human-computer interaction behaviors
Meng Evaluating the effect of multi-touch behaviours on android unlock patterns
CN112953705B (en) Key selection method and device and computer storage medium
CN105894554B (en) Image processing method and device
Kumar et al. Content based surgical video retrieval via multi-deep features fusion
CN107480673A (en) Determine the method, apparatus and image editing system of area-of-interest in medical image
CN101971138A (en) An apparatus and a method for calculating a multiple of a point on an elliptic curve
CN112019352A (en) SM9 quick signature method and system and electronic equipment
CN112099760A (en) Single multiplier seamless scheduling method for point addition and point doubling in SM2 cryptographic algorithm
CN106776749A (en) Modes to open a file method to set up and system
Overmars et al. A new method of golden ratio computation for faster cryptosystems
CN114900325B (en) Federal learning-based privacy set intersection method, system, equipment and medium
CN115225330A (en) Data encryption method and device, electronic equipment and storage medium
CN107204856A (en) A kind of method and device for detecting elliptic curve leak
CN111984982A (en) Method for hiding information, electronic equipment and computer readable storage medium
Ahmad et al. Existence results for mixed Hadamard and Riemann-Liouville fractional integro-differential inclusions
CN111582208A (en) Method and device for generating organism posture key point information
CN108921036A (en) Random-number generating method and generation system based on facial image identification
WO2018211767A1 (en) Haptic information processing device and haptic information processing method
Istyaq et al. A new hybrid graphical user authentication technique based on drag and drop method
Abuthaheer et al. Cued Click Points Graphical Images and Text Password along with Pixel based OTP Authentication
Yang T-TIME: a password scheme based on touch signal generation time difference

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant