Three-axis gyroscope-based mobile phone lottery number random selection method

A gyroscope and lottery ticket technology, applied in the field of mobile phone lottery random number selection based on a three-axis gyroscope

Active Publication Date: 2012-08-08
JIANGSU XINCAI SOFTWARE
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Smartphones come with a wealth of sensors. How to use these to provide a richer gaming experience for mobile lottery tickets and attract more people to bet on mobile phones has become an important direction; and using a three-axis gyroscope to randomly generate bets Number is currently unavailable

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Three-axis gyroscope-based mobile phone lottery number random selection method
  • Three-axis gyroscope-based mobile phone lottery number random selection method
  • Three-axis gyroscope-based mobile phone lottery number random selection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0016] Example 1 as figure 2 Shown: Use the milliseconds of the duration as the random number seed. At this time, the lottery rules do not allow repeated bets, as follows:

[0017] 1) Random number seed generation based on three-axis gyroscope

[0018] Let the start time of shaking time be , the end time is , then the seed number is the number of milliseconds between them:

[0019] (1)

[0020] 2) Generation of random bets

[0021] Let the random number be , Represent the random numbers generated from the 1st to the Nth time respectively;

[0022] Let the resulting bet be , Respectively represent the bets generated from the 1st to N times; is a random number generation algorithm, and the modulus for obtaining bets is ;

[0023] (2)

[0024] (3)

[0025] (4).

[0026] The first bet is obtained by taking the remainder of the random number and recorded; then the first random number is used as a seed, and the rand...

Embodiment 2

[0027] Example 2 as image 3 Shown: The milliseconds of the duration are used as the random number seed. At this time, the lottery rules allow bets to be repeated, as follows:

[0028] 1) Random number seed generation based on three-axis gyroscope

[0029] Let the start time of shaking time be , the end time is , then the seed number is the number of milliseconds between them:

[0030] (1)

[0031] 2) Generation of random bets

[0032] Let the random number be , Represent the random numbers generated from the 1st to the Nth time respectively;

[0033] Let the resulting bet be , Respectively represent the bets generated from the 1st to N times; is a random number generation algorithm, and the modulus for obtaining bets is ;

[0034] (2)

[0035] (3)

[0036] (4).

[0037] The first bet is obtained by taking the remainder of the random number; then the first random number is used as a seed, and the random number ...

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 discloses a three-axis gyroscope-based mobile phone lottery number random selection method and relates to the technical field of mobile phone lottery number random selection. The three-axis gyroscope-based mobile phone lottery number random selection method comprises the following steps of 1, generating a random number seed based on a three-axis gyroscope by detecting a motion state of a mobile phone by the three-axis gyroscope of the mobile phone and recording the time from still to motion and from motion to still, wherein the time is utilized as the random number seed, and 2, generating a random bet number by utilizing the random number seed obtained by the step 1 as an input, calculating a random number according to the random number seed by a random number generation algorithm, and calculating a remainder according to the random number so that the random bet number is obtained. The three-axis gyroscope-based mobile phone lottery number random selection method has the advantages that a three-axis gyroscope of a smartphone is utilized for generation of a random bet number so that a novel experience way is provided for mobile phone lotteries.

Description

technical field [0001] The invention relates to the technical field of mobile phone lottery random number selection methods, in particular to a three-axis gyroscope-based [0002] Mobile phone lottery random number selection method; can be applied to any smartphone with a built-in three-axis gyroscope. Background technique [0003] At present, with the continuous development of technology and the increasing popularity of smart phones, mobile lottery as a new way of purchasing lottery tickets has also been accepted by more and more people. Smartphones come with a wealth of sensors. How to use these to provide a richer gaming experience for mobile lottery tickets and attract more people to bet on mobile phones has become an important direction; and using a three-axis gyroscope to randomly generate bets Number is currently unavailable. Contents of the invention [0004] The invention provides a mobile phone lottery random number selection method based on a three-axis gyrosc...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G07C15/00H04M1/725
Inventor 耿喆刘洪马刘峰王学奎黄海波吴仲喜
Owner JIANGSU XINCAI SOFTWARE
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