Decentralized prize-drawing method
A technology for lottery tickets and awards, which is applied in the field of information security and can solve problems such as tampering with lottery results and easy cheating.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0010] Example 1: Number all lottery drawers, and the value is k i , the best number of people participating in the lottery is n. For convenience, we assume that everyone has an equal chance of winning. In order to ensure that each user has an equal chance, the lottery process is mapped to a function F(e 1 , e 2 , …, e m , a 1 , a 2 ,...,a n )=(e 1 +e 2 +…+e m +a 0 +a 1 +a 2 +…+a n ) mod n+1,e 1 ,e 2 ,...,e m For the set parameters, they can also be removed for convenience, so that the function is simplified to F(a 1 ,a 2 ,...,a n )=(a 0 +a 1 +a 2 +…+a n ) mod n +1. Note that one is added after modulo n, and the user corresponding to the value number of the function is the winner. where a 0 A random number given by the lottery administrator, a 1 、a 2 ,...,a n A random number proposed for all users. Finally, the website discloses all the data, and users can verify whether their data is true.
Embodiment 2
[0011] Embodiment 2: For the case of multiple awards, on the basis of drawing the first winner in Embodiment 1, a fixed relative position can be used to determine the awards. For convenience, we assume that there are only two awards. Before presenting the data, a relative position s is disclosed. If this number has already won a prize, it will be pushed back one by one like a modular addition until it meets a person who has not won the prize. The last one The latter is the first, and the number of the second winner is (s+a 0 +a 1 +a 2 +…+a n ) mod n +1. There are more awards to follow.
Embodiment 3
[0012]Embodiment 3: On the basis of Embodiment 1 or 2, considering that we adopt the method of zero-knowledge proof when the algorithm is public, for the sake of simplicity, we adopt the hash function, and each person selects their own random number a In the future, the hash value hash(a)=b of a will be disclosed first, and after the publication is completed, a will be published on the platform. At the same time, the platform and each user can check whether the published a and b are their own, and the platform and users can also check Whether the published a and b satisfy hash(a)=b, according to the published random number and published algorithm, the result of the lottery can be calculated.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com