CN115206018A - Lottery drawing method and lottery drawing equipment based on block chain prediction machine - Google Patents
Lottery drawing method and lottery drawing equipment based on block chain prediction machine Download PDFInfo
- Publication number
- CN115206018A CN115206018A CN202210683052.8A CN202210683052A CN115206018A CN 115206018 A CN115206018 A CN 115206018A CN 202210683052 A CN202210683052 A CN 202210683052A CN 115206018 A CN115206018 A CN 115206018A
- Authority
- CN
- China
- Prior art keywords
- lottery
- winning
- participants
- intelligent contract
- registration
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000000694 effects Effects 0.000 claims abstract description 19
- 230000001902 propagating effect Effects 0.000 claims abstract description 5
- 238000004364 calculation method Methods 0.000 claims description 14
- 230000009191 jumping Effects 0.000 claims description 9
- 230000006870 function Effects 0.000 claims description 8
- 238000011156 evaluation Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 6
- 238000009825 accumulation Methods 0.000 claims description 2
- 230000005484 gravity Effects 0.000 claims 1
- 230000006872 improvement Effects 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C15/00—Generating random numbers; Lottery apparatus
- G07C15/006—Generating random numbers; Lottery apparatus electronically
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Bioethics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a lottery drawing method and lottery drawing equipment based on a block chain preplan machine, which comprise a lottery drawing host and lottery drawing participants, and specifically comprise the following steps: s1, deploying an intelligent contract to a block chain by a lottery sponsor, and determining a random source for inputting a block chain prediction machine; s2, propagating lottery activities under the lottery sponsor chain, declaring the maximum participant number, the maximum prize winning participant number, the registration deadline time, the lottery mode and the reference parameters of the random source, and writing the parameters into an intelligent contract; s3, the lottery participants log in the activity and generate registration numbers by logging in a blockchain account before the registration deadline; s4, after the lottery sponsor inputs the block chain predictive engine as a parameter into an intelligent contract, the intelligent contract generates a winning number according to the maximum participation number, the maximum winning number and the lottery time; and S5, the lottery sponsor notifies the corresponding registration number lottery participants according to the Chinese award number. The combination of the lottery drawing method and the text travel project is realized, the promotion effect on the entity economy is realized, and the energy is supplied to the entity industry.
Description
Technical Field
The invention belongs to the technical field of block chain prediction machines, and particularly relates to a lottery drawing method and lottery drawing equipment based on a block chain prediction machine.
Background
The traditional lottery drawing method is centrally deployed, and the lottery drawing mechanism and the data are not transparent. In recent years, many researches adopt the block chain technology to design a lottery method, and the decentralization and transparent lottery scheme is expected to be realized. Since the blockchain is a deterministic turing machine, all distributed nodes need to agree on the state changes on the chain and the computation results of the transaction on all nodes need to be the same. This means that the blockchain itself cannot be involved in randomness. If a random opcode is present, all miners will obtain different results and the network will not be able to agree. Therefore, a true random source needs to be acquired from the off-chain, and a prediction machine is further introduced, and the random number obtained by the off-chain processing is uploaded to an on-chain intelligent contract through the prediction machine so as to realize the randomness.
How to apply the blockchain technology to the lottery scheme by combining with the random source under the chain ensures that the lottery scheme is decentralized, public and transparent, and becomes a problem to be solved in the industry.
Disclosure of Invention
To solve at least one of the above technical problems, the present invention provides a lottery method and a lottery device based on a blockchain predictor.
The purpose of the invention is realized by the following technical scheme:
the invention provides a lottery drawing method based on a block chain predictive machine, which comprises a lottery drawing host and lottery drawing participants, and comprises the following specific steps:
s1, deploying an intelligent contract to a block chain by a lottery sponsor, and determining a random source for inputting a block chain prediction machine;
s2, propagating lottery activities under the lottery sponsor chain, declaring the maximum number of participants, the maximum number of winners, the registration deadline time, the lottery mode and reference value parameters of a random source, and writing the parameters into an intelligent contract;
s3, the lottery participants call the intelligent contract registration function by logging in a blockchain account before the registration deadline, participate in the lottery activity and generate a registration number;
s4, after the lottery sponsor inputs the intelligent contract by taking the block chain preplan machine as a parameter, the intelligent contract generates a winning number according to the maximum participation number, the maximum winning number, the lottery time and the lottery mode;
and S5, the lottery sponsor notifies corresponding registration number lottery participants according to the Chinese lottery numbers.
As a further improvement, the random source of the blockchain prediction machine is a meteorological parameter, and the reference parameters of the random source are reference time and reference location of the meteorological parameter.
As a further improvement, the blockchain prediction machine is a distributed prediction machine, and the random source of each block chain prediction machine corresponds to the meteorological parameters of one meteorological center.
As a further improvement, in step S3, when the intelligent contract registration function is invoked by each lottery participant, the intelligent contract performs registration number accumulation to obtain the total number of lottery participants, and at the same time, it is verified whether the total number of lottery participants is equal to the maximum number of lottery participants, otherwise, the lottery participants can continue registration, and if so, the registration of the lottery participants is stopped.
As a further improvement, when the intelligent contract generates the winning number according to the maximum participant number, the maximum winning participant number and the lottery time in the step S4, the method comprises the following steps:
s41, each party of the dialer obtains reference time and weather parameters of a reference place from different weather centers through a weather route and inputs the weather parameters into an intelligent contract;
s42, the intelligent contract judges whether the number of lottery participants is larger than the maximum number of lottery participants after the registration deadline, otherwise, the registration numbers of all the lottery participants are all winning numbers, and the step S5 is skipped, and the step S43 is skipped if the registration numbers of all the lottery participants are all winning numbers;
s43, calculating meteorological parameters of the prediction machines of all parties by the intelligent contract to obtain a winning initial number, and determining all winning numbers according to the initial number and the maximum number of winning numbers;
as a further improvement, in step S43, the intelligent contract calculates weather parameters of each predicting machine to obtain a winning start number, and determines all winning numbers according to the start number and the maximum number of winning people, including the following steps:
s431, declaring a winning number array;
s432, carrying out hash calculation on meteorological parameters of all the prediction machines by the intelligent contract to obtain hash data of the prediction machines;
s433, carrying out weighted calculation on the hash data of each dialer to obtain a current reference value of the lottery drawing;
and S434, after performing hash calculation on the current reference value of the lottery drawing, dividing the hash value by the total number of lottery drawing participants, and taking the remainder to obtain a Chinese award number.
S435, judging whether the lottery drawing mode is continuous number taking, if so, continuously taking the number from the winning number and combining the maximum number of winning people, storing the number into a winning number group, and jumping to S436; otherwise, jumping to step S436;
s436, judging whether the number of data stored in the winning number group is smaller than the maximum number of winning numbers, if so, skipping to the step S437, otherwise, skipping to the step S438;
s437, judging whether the winning number exists in the winning number array, if not, storing the winning number in the winning number array, carrying out hash calculation on the lottery drawing current reference value, taking the obtained result as the lottery drawing current reference value of the next winning number, and jumping to the step S434; if yes, the current reference value of the lottery is subjected to Hash calculation, and the obtained result is used as the next winning number
Jumping to step S434;
s438, the data stored in the winning number array is all the winning numbers.
As a further improvement, after the lottery drawing in the step S5 is finished, the lottery drawing participants vote for each party' S speaking prediction machine to realize the reputation evaluation of the distributed speaking prediction machine.
As a further improvement, in the step S3, after the lottery participant registers to participate in the lottery event, the lottery sponsor encourages the lottery participant to measure and record the meteorological parameters at the reference time and the reference place in real time through the measuring instrument during the participation process, so as to obtain the reputation evaluation data of the distributed type predictive teller after voting is performed on each predictive teller.
As a further improvement, in step S433, when the hash data of the plurality of predicting machines is weighted and calculated to obtain the current reference value of the lottery, the weighted proportion is proportional to the number of tickets obtained by each predicting machine, the number of tickets obtained by each predicting machine initially is 1, for a scenario where the plurality of predicting machines are N, the weight average of the initial weight of each predicting machine is 1/N, and after each predicting machine votes through at least one round of lottery participants, the weight of each predicting machine is the number of tickets obtained by each predicting machine divided by the total number of tickets obtained by all predicting machines.
The lottery drawing method based on the block chain preplan machine comprises a lottery drawing host and lottery drawing participants, and specifically comprises the following steps: s1, deploying an intelligent contract to a block chain by a lottery sponsor, and determining a random source for inputting a block chain prediction machine; s2, propagating lottery activities under the lottery sponsor chain, declaring the maximum participation number, the maximum prize winning number, the registration deadline time, the lottery mode and the reference parameters of the random source, and writing the parameters into an intelligent contract; s3, the lottery participants call the registration function of the intelligent contract by logging in a blockchain account before the registration deadline, participate in the lottery activity and generate a registration number; s4, after the lottery sponsor inputs the intelligent contract by taking the block chain preplan machine as a parameter, the intelligent contract generates a winning number according to the maximum participation number, the maximum winning number, the lottery time and the lottery mode; and S5, the lottery sponsor notifies corresponding registration number lottery participants according to the Chinese lottery numbers. When the intelligent contract block chain lottery event is used, the lottery sponsor deploys an intelligent contract to a block chain in combination with the lottery event of a text travel event, determines that a random source input into a block chain prediction machine is a meteorological parameter in the text travel process, and comprises a reference time and a reference place for specifying the meteorological parameter related to the text travel event, and a maximum participation number, a maximum winning number, a registration deadline, a lottery time and a lottery mode which are declared when the text travel event lottery event is publicized under the chain.
The present invention also provides a lottery device comprising a memory and a processor, the memory for storing lottery programs and associated data; the processor is used for executing a lottery drawing program; the lottery program includes a lottery method based on a blockchain predictive machine according to any one of claims 1 to 9. Due to the adoption of the technical contents, the same or corresponding technical effects of the lottery drawing method based on the block chain prediction machine should be achieved, and therefore, the details are not repeated.
Drawings
The invention is further illustrated by means of the attached drawings, but the embodiments in the drawings do not constitute any limitation to the invention, and for a person skilled in the art, other drawings can be obtained on the basis of the following drawings without inventive effort.
FIG. 1 is a flow chart of the present invention;
fig. 2 is a flow chart of the invention for generating a winning number.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings and specific embodiments, and it is to be noted that the embodiments and features of the embodiments of the present application can be combined with each other without conflict.
Referring to fig. 1, an embodiment of the present invention provides a lottery method based on a blockchain prediction machine, including a lottery sponsor and lottery participants, where the lottery method of the present embodiment is combined with lottery activities of travel projects to promote an entity economy and enable an entity industry, and the method includes the following specific steps:
s1, deploying an intelligent contract to a blockchain by a lottery sponsor, determining a random source input into a blockchain prediction machine as a meteorological parameter, acquiring the meteorological parameter from a meteorological center through a meteorological route, wherein the blockchain prediction machine can be a distributed prediction machine, the random source of each block prediction machine corresponds to the meteorological parameter of one meteorological center, the distributed prediction machine in the blockchain corresponds to five random sources, and the meteorological parameter of the random source comprises the meteorological parameters acquired from a national meteorological office and other meteorological data center mechanisms.
And S2, propagating lottery activities under a lottery sponsor chain, and declaring the maximum participant number, the maximum prize winning number, the registration deadline time, the lottery mode and the reference value of a random source, wherein the lottery mode comprises a continuous number taking mode and a discontinuous number taking mode in the embodiment, and the reference parameters of the random source are the reference time and the reference place of meteorological parameters, so that the random source of each prediction machine can obtain the same time and the same place when the meteorological parameters are obtained.
And S3, the lottery participants call the intelligent contract registration function by logging in the blockchain account before the registration deadline time, participate in the lottery activity and generate a registration number, the registration number is used for lottery recognition after lottery drawing, the number of lottery participants is accumulated after logging in the blockchain account before the registration deadline time to obtain the total number of lottery participants, and whether the number of the lottery participants is equal to the maximum number of the participants is verified, otherwise, the lottery participants can continue to register, and if so, the registration of the lottery participants is stopped. After the lottery participants register to participate in the lottery activity, the lottery sponsor encourages the lottery participants to measure and record the meteorological parameters of the reference time and the reference place in real time through the measuring instrument in the participation process, the measuring instrument can be in a form provided by the lottery sponsor, and the meteorological parameters of the measurement record are used for voting for each party of the prompter after the lottery is finished, so that the activity participation of the lottery participants is improved, the pleasure of the text travel process is improved, the lottery sponsor obtains reputation evaluation data of the distributed prompter, and the accuracy and the reliability of random source data of the prompter in the next lottery are improved.
S4, after the lottery sponsor inputs the intelligent contract by taking the block chain prediction machine as a parameter, and when the multi-party prediction machine exists, the multi-party prediction machine is taken as a parameter to input the intelligent contract, and the intelligent contract generates a winning number according to the maximum participation number, the maximum winning number, the lottery time and the lottery mode, and the method specifically comprises the following steps:
s41, acquiring meteorological parameters of reference time and reference place from different meteorological centers by each dialer through a meteorological route, and inputting the meteorological parameters into an intelligent contract, wherein the meteorological parameters comprise various data such as temperature, air pressure, humidity, wind direction, wind speed, ultraviolet rays and the like;
s42, the intelligent contract judges whether the number of lottery participants is larger than the maximum number of lottery participants after the registration deadline, otherwise, the registration numbers of all the lottery participants are all winning numbers, and the step S5 is skipped, and the step S43 is skipped if the registration numbers of all the lottery participants are all winning numbers;
s43, calculating weather parameters of each party' S prompter by the intelligent contract to obtain the winning initial number, and obtaining the winning initial number according to the initial number
And determining all winning numbers according to the maximum number of winners, and the specific steps are as follows:
s431, declaring a winning number array for storing all winning numbers;
s432, carrying out hash calculation on meteorological parameters of each dialer by using a sha256 algorithm by the intelligent contract, and outputting hash data of a plurality of the dialers, wherein the sha256 algorithm is a hash function, the function compresses the meteorological parameters into an abstract, mixes the data in a messy way, and creates a hash value again to reduce the data volume, and the format of the data is fixed, and the hash value is represented by a character string consisting of short random letters and numbers and is 256-bit binary data;
and S433, performing weighted calculation on the hash data of each part of the prediction machine to obtain a lottery current reference value, converting 256-bit binary data of each part of the prediction machine into decimal data during weighted calculation, multiplying the value of each digit of the binary data by the bit weight when the binary data is converted into decimal data, and adding the multiplied results to obtain the decimal data. Regarding the weighted proportion, the initial value of each prediction machine is 1, and for the scenes of a plurality of prediction machines N, each initial weight is 1/N;
and S434, dividing the current reference value of the lottery by the total number of lottery participation people, and taking the remainder to obtain a winning number, wherein the winning number corresponds to the registration number held by the lottery participant.
S435, judging whether the lottery mode is continuous number taking, if so, continuously taking the number from the winning number and combining the maximum number of winning persons, and storing the number into a winning number group, if the number from the winning number is 13 and the maximum number of winning persons is 3, the data in the winning number group is {13, 14, 15}, and jumping to S436; otherwise, the lottery drawing participant does not continuously take the number, and the step S436 is skipped to, and the lottery drawing participant can feel that the attitude of the lottery drawing host to the lottery drawing activity is more careful and the experience of lottery drawing participation is better;
s436, judging whether the number of data stored in the winning number array is smaller than the maximum number of winning numbers, if so, indicating that the number of the maximum winning numbers in the winning number array is not reached and the next winning number needs to be drawn out continuously, so skipping to the step S437, otherwise, indicating that the number of the maximum winning numbers in the winning number array already includes the maximum number of the winning numbers, so skipping to the step S438;
s437, determining whether the winning number exists in the winning number array, otherwise, indicating that there is no number in the winning number array that is the same as the winning number, storing the winning number in the winning number array, performing hash calculation on the lottery drawing current reference value by using the sha256 algorithm, taking the obtained result as the lottery drawing current reference value of the next winning number, and jumping to step S434; if yes, it indicates that the winning number is the same as the winning number in the winning number array, and the result obtained by performing hash calculation on the lottery drawing current reference value using the sha256 algorithm is used as the lottery drawing current reference value of the next winning number, and the process goes to step S434. After jumping to step S434, when steps S434, S435, and S436 are executed, it jumps to step S438 until the number of data held in the winning number group of step S436 is equal to the maximum number of winning persons.
S438, the data stored in the winning number array is all the winning numbers.
And S5, the lottery sponsor notifies corresponding registration number lottery participants according to the Chinese lottery numbers.
As a further preferred embodiment, after the lottery drawing in step S5 is finished, the lottery drawing participants vote all the predicting machines to realize the reputation evaluation of the distributed predicting machines, and the voting may be in the form of offline encouragement to improve the participation of the lottery drawing participants.
As a further preferred embodiment, in step S433, when the hash data of the plurality of predicting machines are weighted and calculated to obtain the current reference value of the lottery, the weighted proportion is proportional to the number of votes obtained by each predicting machine, and it is determined whether there is reputation evaluation data of the distributed predicting machines, otherwise it indicates that no similar lottery activity has been held by the lottery sponsor before, there is no voting data for a random source of the predicting machine in the current first lottery activity, the number of votes obtained by each predicting machine is 1, and for a scenario with a plurality of predicting machines N, each initial weight is 1/N; if yes, the weight of each dialer is the number of votes obtained by the dialer divided by the total number of votes obtained by all the dialers after each dialer votes by at least one round of tourists.
The embodiment of the invention also provides lottery equipment, which comprises a memory and a processor, wherein the memory is used for storing the lottery program and related data; the processor is used for executing a lottery drawing program. The lottery device in this embodiment may be a computer. The lottery drawing program comprises any one embodiment of the lottery drawing method based on the blockchain predictor and the mutual combination of the embodiments under the condition of no conflict, and the lottery drawing program should have the same or corresponding working principle and produce the same or corresponding technical effects of the lottery drawing method based on the blockchain predictor, and the details are not repeated herein.
In the description above, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore should not be construed as limiting the scope of the present invention.
In conclusion, although the present invention has been described with reference to the preferred embodiments, it should be noted that various changes and modifications can be made by those skilled in the art, and they should be included in the scope of the present invention unless they depart from the scope of the present invention.
Claims (10)
1. The lottery drawing method based on the block chain prediction machine is characterized by comprising a lottery drawing host and lottery drawing participants, and specifically comprises the following steps:
s1, deploying an intelligent contract to a block chain by a lottery sponsor, and determining a random source of an input block chain prediction machine;
s2, propagating lottery activities under the lottery sponsor chain, declaring the maximum participant number, the maximum prize winning participant number, the registration deadline time, the lottery mode and the reference parameters of the random source, and writing the parameters into an intelligent contract;
s3, the lottery participants call the intelligent contract registration function by logging in a blockchain account before the registration deadline, participate in the lottery activity and generate a registration number;
s4, after the lottery sponsor inputs the block chain preplan machine as a parameter into an intelligent contract, the intelligent contract generates a winning number according to the maximum participation number, the maximum winning number, the lottery time and the lottery mode;
and S5, the lottery sponsor notifies the corresponding registration number lottery participants according to the Chinese award number.
2. A lottery method based on a blockchain predictor as in claim 1, wherein the random source of the blockchain predictor is a meteorological parameter, and the reference parameters of the random source are a reference time and a reference location of the meteorological parameter.
3. A lottery method based on a blockchain predictor as in claim 2, wherein the blockchain predictor is a distributed predictor, and the random source of each party predictor corresponds to the meteorological parameters of a meteorological center.
4. A lottery method based on a blockchain preplan as claimed in claim 1, wherein in the step S3, when the intelligent contract registration function is invoked for each lottery participant, the intelligent contract performs registration number accumulation to obtain the total number of lottery participants, and at the same time, it is verified whether the total number of registration participants is equal to the maximum number of participants, otherwise, the lottery participant can continue registration, and if so, the registration of the lottery participant is stopped.
5. A lottery method based on a blockchain preplan machine according to claim 3, wherein the step S4, when the intelligent contract generates the winning number according to the maximum number of participants, the maximum number of winners and the lottery time, comprises the steps of:
s41, each party presidenting machine acquires reference time and meteorological parameters of a reference place from different meteorological centers through a meteorological route and inputs the meteorological parameters into an intelligent contract;
s42, the intelligent contract judges whether the number of lottery participants is larger than the maximum number of lottery participants after the registration deadline, otherwise, the registration numbers of all the lottery participants are all winning numbers, and the step S5 is skipped, and the step S43 is skipped if the registration numbers of all the lottery participants are all winning numbers;
s43, calculating weather parameters of the prediction machines of all parties by the intelligent contract to obtain the initial numbers of winning prizes, and determining all winning numbers according to the initial numbers and the maximum number of winning prizes.
6. A lottery method based on a blockchain prediction machine as claimed in claim 5, wherein in the step S43, the smart contract calculates weather parameters of each prediction machine to obtain a winning start number, and determines all winning numbers according to the start number and the maximum number of winning people, comprising the steps of:
s431, declaring a winning number array;
s432, carrying out hash calculation on meteorological parameters of all the prediction machines by the intelligent contract to obtain hash data of the prediction machines;
s433, carrying out weighted calculation on the hash data of each dialer to obtain a current reference value of the lottery drawing;
and S434, dividing the current reference value of the lottery by the total number of lottery participation people, and then taking the remainder to obtain a winning number.
S435, judging whether the lottery drawing mode is continuous number taking, if so, continuously taking numbers by combining the winning numbers with the maximum number of winning numbers, storing the numbers into a number group of the winning numbers, and jumping to S436; otherwise, the number is not continuously taken, and the step S436 is skipped to;
s436, judging whether the number of data stored in the winning number group is less than the maximum number of winning people, if so, skipping to S437, otherwise, skipping to S438;
s437, judging whether the winning number exists in the winning number array, if not, storing the winning number in the winning number array, carrying out hash calculation on the lottery drawing current reference value, taking the obtained result as the lottery drawing current reference value of the next winning number, and jumping to the step S434; if so, performing hash calculation on the lottery drawing current reference value, taking the obtained result as the lottery drawing current reference value of the next winning number, and skipping to the step S434;
s438, the data stored in the winning number array is all the winning numbers.
7. A lottery method based on a blockchain predictive machine according to claim 6, wherein after the lottery in the step S5 is finished, lottery participants vote for each predictive machine to realize the reputation evaluation of the distributed predictive machine.
8. A lottery method based on a blockchain predictive teller according to claim 7, wherein in the step S3, after the lottery participant registers to participate in the lottery event, the lottery sponsor encourages the lottery participant to measure and record the weather parameters of the reference time and the reference place in real time through the measuring instrument during the participation process, so as to obtain the reputation rating data of the distributed predictive teller after voting on each predictive teller.
9. A lottery method according to claim 8, wherein in step S433, when the hash data of each of the prediction machines is weighted and calculated to obtain the current reference value for lottery, the weighted specific gravity is proportional to the number of tickets obtained by each of the prediction machines, the initial number of tickets obtained by each of the prediction machines is 1, for a scenario where a plurality of prediction machines are N, the initial weight average of each of the prediction machines is 1/N, and when each of the prediction machines votes through at least one round of lottery participants, the weight of each of the prediction machines is the number of tickets obtained by the prediction machine divided by the total number of tickets obtained by all of the prediction machines.
10. A lottery device comprising a memory and a processor, the memory for storing a lottery program and associated data; the processor is used for executing a lottery drawing program; characterized in that the lottery drawing program comprises the lottery drawing method based on the blockchain predictive machine according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210683052.8A CN115206018B (en) | 2022-06-16 | 2022-06-16 | Lottery method and lottery equipment based on block chain predictor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210683052.8A CN115206018B (en) | 2022-06-16 | 2022-06-16 | Lottery method and lottery equipment based on block chain predictor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115206018A true CN115206018A (en) | 2022-10-18 |
CN115206018B CN115206018B (en) | 2024-07-02 |
Family
ID=83575326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210683052.8A Active CN115206018B (en) | 2022-06-16 | 2022-06-16 | Lottery method and lottery equipment based on block chain predictor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115206018B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000049574A (en) * | 2000-04-11 | 2000-08-05 | 구본석 | The internet lottery method that the probability of choice depends on the common character of member |
CN109847365A (en) * | 2019-01-24 | 2019-06-07 | 湖南天河国云科技有限公司 | A kind of anti-cheating method and system towards the application of block chain |
CN110601819A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method for processing random number and related equipment |
CN110633286A (en) * | 2019-09-29 | 2019-12-31 | 山东爱城市网信息技术有限公司 | Block chain-based time service prediction machine implementation method |
CN110910559A (en) * | 2019-11-25 | 2020-03-24 | 杭州趣链科技有限公司 | Lottery drawing method based on block chain |
CN111008863A (en) * | 2019-11-28 | 2020-04-14 | 湖南天河国云科技有限公司 | Lottery drawing method and system based on block chain |
CN112003942A (en) * | 2020-08-25 | 2020-11-27 | 杭州时戳信息科技有限公司 | Method, system, node device and storage medium for responding to data request under link |
CN112003941A (en) * | 2020-08-25 | 2020-11-27 | 杭州时戳信息科技有限公司 | Method, system, node device and storage medium for distributing downlink data request |
CN112700266A (en) * | 2020-12-21 | 2021-04-23 | 布比(北京)网络技术有限公司 | Data judgment method and system based on block chain prediction machine |
CN112751846A (en) * | 2020-12-28 | 2021-05-04 | 杭州趣链科技有限公司 | Block chain-based electronic game random reward control method, device and equipment |
CN113449342A (en) * | 2020-03-27 | 2021-09-28 | 山东浪潮质量链科技有限公司 | Random number prediction machine implementation method, equipment and medium based on block chain |
CN113885834A (en) * | 2020-07-01 | 2022-01-04 | 山东爱城市网信息技术有限公司 | Random number generation method based on block chain, voting method and equipment |
CN114066436A (en) * | 2021-11-30 | 2022-02-18 | 上海对外经贸大学 | Block chain stable currency supervision system based on prediction machine and implementation method thereof |
CN114338667A (en) * | 2021-12-06 | 2022-04-12 | 南京理工大学 | Data prediction machine framework for auxiliary industrial block chain intelligent contract and operation method thereof |
CN114357495A (en) * | 2022-03-15 | 2022-04-15 | 北京百度网讯科技有限公司 | Prediction machine under-chain aggregation method, device, equipment and medium based on block chain |
CN114462730A (en) * | 2020-11-09 | 2022-05-10 | 东北大学秦皇岛分校 | Reputation management framework of block chain prediction machine and data aggregation method thereof |
-
2022
- 2022-06-16 CN CN202210683052.8A patent/CN115206018B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000049574A (en) * | 2000-04-11 | 2000-08-05 | 구본석 | The internet lottery method that the probability of choice depends on the common character of member |
CN109847365A (en) * | 2019-01-24 | 2019-06-07 | 湖南天河国云科技有限公司 | A kind of anti-cheating method and system towards the application of block chain |
CN110601819A (en) * | 2019-09-26 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method for processing random number and related equipment |
CN110633286A (en) * | 2019-09-29 | 2019-12-31 | 山东爱城市网信息技术有限公司 | Block chain-based time service prediction machine implementation method |
CN110910559A (en) * | 2019-11-25 | 2020-03-24 | 杭州趣链科技有限公司 | Lottery drawing method based on block chain |
CN111008863A (en) * | 2019-11-28 | 2020-04-14 | 湖南天河国云科技有限公司 | Lottery drawing method and system based on block chain |
CN113449342A (en) * | 2020-03-27 | 2021-09-28 | 山东浪潮质量链科技有限公司 | Random number prediction machine implementation method, equipment and medium based on block chain |
CN113885834A (en) * | 2020-07-01 | 2022-01-04 | 山东爱城市网信息技术有限公司 | Random number generation method based on block chain, voting method and equipment |
CN112003942A (en) * | 2020-08-25 | 2020-11-27 | 杭州时戳信息科技有限公司 | Method, system, node device and storage medium for responding to data request under link |
CN112003941A (en) * | 2020-08-25 | 2020-11-27 | 杭州时戳信息科技有限公司 | Method, system, node device and storage medium for distributing downlink data request |
CN114462730A (en) * | 2020-11-09 | 2022-05-10 | 东北大学秦皇岛分校 | Reputation management framework of block chain prediction machine and data aggregation method thereof |
CN112700266A (en) * | 2020-12-21 | 2021-04-23 | 布比(北京)网络技术有限公司 | Data judgment method and system based on block chain prediction machine |
CN112751846A (en) * | 2020-12-28 | 2021-05-04 | 杭州趣链科技有限公司 | Block chain-based electronic game random reward control method, device and equipment |
CN114066436A (en) * | 2021-11-30 | 2022-02-18 | 上海对外经贸大学 | Block chain stable currency supervision system based on prediction machine and implementation method thereof |
CN114338667A (en) * | 2021-12-06 | 2022-04-12 | 南京理工大学 | Data prediction machine framework for auxiliary industrial block chain intelligent contract and operation method thereof |
CN114357495A (en) * | 2022-03-15 | 2022-04-15 | 北京百度网讯科技有限公司 | Prediction machine under-chain aggregation method, device, equipment and medium based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN115206018B (en) | 2024-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lee et al. | Game data mining competition on churn prediction and survival analysis using commercial game log data | |
Bartoszynski et al. | Probability and statistical inference | |
CN109034892B (en) | Resource allocation method, device, computer readable storage medium and computer equipment | |
CN109583904A (en) | Training method, impaired operation detection method and the device of abnormal operation detection model | |
Geer et al. | Filling in the blanks: A new method for estimating campaign effects | |
CN111930366B (en) | Rule engine implementation method and system based on JIT real-time compilation | |
CN110135193A (en) | A kind of data desensitization method, device, equipment and computer readable storage medium | |
CN110084651A (en) | A kind of lottery drawing method based on block chain, device and terminal | |
Liu et al. | The authors matter: Understanding and mitigating implicit bias in deep text classification | |
CN112613601B (en) | Neural network model updating method, equipment and computer storage medium | |
CN107563798A (en) | Prize-winning data processing method and device | |
CN112992187B (en) | Context-based voice emotion detection method, device, equipment and storage medium | |
CN113706322A (en) | Service distribution method, device, equipment and storage medium based on data analysis | |
Zeng et al. | Predictions of USA presidential parties from 2021 to 2037 using historical data through square wave-activated WASD neural network | |
CN113064994A (en) | Conference quality evaluation method, device, equipment and storage medium | |
CN112488163A (en) | Abnormal account identification method and device, computer equipment and storage medium | |
CN110070431A (en) | User is counter to cheat implementation method, device, computer equipment and storage medium | |
CN113886697A (en) | Clustering algorithm based activity recommendation method, device, equipment and storage medium | |
CN115206018A (en) | Lottery drawing method and lottery drawing equipment based on block chain prediction machine | |
CN112418433A (en) | Model training method, device and equipment | |
JP4673103B2 (en) | GAME SYSTEM, GAME MANAGEMENT DEVICE, AND GAME METHOD | |
CN112884449B (en) | User guiding method, device, computer equipment and storage medium | |
CN113987328A (en) | Topic recommendation method, equipment, server and storage medium | |
CN110796561B (en) | Influence maximization method and device based on three-hop velocity attenuation propagation model | |
CN112307757A (en) | Emotion analysis method, device and equipment based on auxiliary task and storage medium |
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 |