Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Anti-cheating lottery drawing method and device

A technology of anti-cheating and rewards, which is applied in the direction of instruments, time registers, lottery equipment, etc., can solve the problems of artificial cheating, etc., and achieve the effect of easy results, avoiding pseudo-random fraud, and avoiding pseudo-random

Pending Publication Date: 2022-07-22
GUANGDONG INST OF SCI & TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Programmers can easily compile software programs according to the algorithm flow, even if the code is not public, it is impossible to cheat artificially

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
  • Anti-cheating lottery drawing method and device
  • Anti-cheating lottery drawing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0032] see Figure 1-2 , the present invention provides a technical scheme: a lottery method for preventing cheating, comprising the following steps:

[0033] S1. Create a new lottery and create a string storage variable T. The number of elements in the array A and A is the total lottery number;

[0034] The string variable T is used to concatenate the strings input by the participants in real time, and this string variable T is updated and made public in rea...

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 an anti-cheating lottery drawing method. The method comprises the following steps: creating a new lottery drawing and creating a character string storage variable; any person can add any character string to the variable; at the beginning of lottery drawing, adding the timestamps, the number of lottery drawing participates and the number of winning numbers to be extracted into variables; locking and disclosing a final character string variable; obtaining a hash value by using a hash algorithm; carrying out equal probability sorting on the lottery drawing numbers by using a Fisher-Yates forward shuffling algorithm; and obtaining a plurality of winning numbers from the sorting result set. According to the method, discreteness is used for replacing randomness, everyone can participate in mathematical operation, so that a hash value is influenced, but a hash result cannot be forged, and a shuffling algorithm is adopted to avoid the collision problem possibly caused by multiple times of lottery drawing. The method has the characteristics of simple algorithm, public and transparent data and cheating prevention; the device or system supporting the algorithm has the advantages of being simple in structure, easy to implement and low in software and hardware cost.

Description

technical field [0001] The invention relates to the technical field of lottery, in particular to a lottery-prevention method and device. Background technique [0002] Software lottery is a widely used lottery form, but the opaqueness of the software lottery process easily leads people to question its credibility. The main reasons are usually: 1. The lottery algorithm is easy to be implanted into the backdoor by software designers; 2. It is difficult to detect whether the random factor used by the currently commonly used random algorithm is truly random or artificially predetermined; 3. After the lottery is drawn, users cannot react To verify the results and process of the lottery; 4. The user cannot conduct any supervision and participation in the whole lottery process. [0003] The fairness of the software lottery using random algorithm depends on the credibility of the program code. However, the general user cannot know the running process inside the software, let alone ...

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
IPC IPC(8): G06Q30/02G07C15/00
CPCG06Q30/0225G06Q30/0212G07C15/006
Inventor 蒋海锋
Owner GUANGDONG INST OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products