CN112216013A - Universal shaking system design based on block chain random number technology and method thereof - Google Patents

Universal shaking system design based on block chain random number technology and method thereof Download PDF

Info

Publication number
CN112216013A
CN112216013A CN202010893173.6A CN202010893173A CN112216013A CN 112216013 A CN112216013 A CN 112216013A CN 202010893173 A CN202010893173 A CN 202010893173A CN 112216013 A CN112216013 A CN 112216013A
Authority
CN
China
Prior art keywords
shaking
module
item
random number
contract
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.)
Pending
Application number
CN202010893173.6A
Other languages
Chinese (zh)
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 Haopu Information And Technology Co ltd
Original Assignee
Beijing Haopu Information And 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 Haopu Information And Technology Co ltd filed Critical Beijing Haopu Information And Technology Co ltd
Priority to CN202010893173.6A priority Critical patent/CN112216013A/en
Publication of CN112216013A publication Critical patent/CN112216013A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Generating random numbers; Lottery apparatus
    • G07C15/006Generating random numbers; Lottery apparatus electronically

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a universal serial number system design based on a block chain random number technology and a method thereof, which are characterized by comprising a host, a serial number foreground, a serial number background and a participating group, wherein the host supports a plurality of serial number scene access platforms to realize data chaining and sign number acquisition; the method supports an out-of-box ready-to-use docking mode, and a partner can use the docking mode by entering into a configuration rule; the customized function is supported, and the requirement of a partner is flexibly responded; the full link management mode for realizing operation management, data management and historical information management of a plurality of roles such as a slave host, a participant, a supervisor and other third party notations is realized; constructing a trust lottery drawing number shaking service in which a host, a participant, a monitoring party and the like participate in multiple parties, developing number shaking services by each participant through a number shaking system based on a block chain, constructing a multi-party trust carrier by the block chain, and providing a solid trust foundation for the online number shaking service; the online lottery ticket number service is conveniently supervised by a supervision department, and a supervision channel is built.

Description

Universal shaking system design based on block chain random number technology and method thereof
FIELD
The invention relates to the technical field of block chain technology and random number generation technology, in particular to a universal serial number system design and a universal serial number method based on the block chain random number technology.
Background
The number shaking system has wide application scenes, such as house-buying room-selecting number shaking, primary school entrance drawing lots, license plate index number shaking, field activity drawing lots and the like, and the number shaking method comprises the steps of firstly making a number shaking party to register for reservation and then using a tool provided by a number shaking initiator to participate in number shaking in a unified time; in the design of the existing number shaking system, the whole number shaking process is controlled by a number shaking initiator, so that a series of problems of disclosure and verification exist, and once the problems occur, the problems are difficult to trace and control under the condition of a large number of participators;
for a host, the online lottery number is usually high in cost and long in period by adopting ways such as table tennis, a lottery machine and the like, and large-volume user scenes are not supported; on-line number shaking usually adopts a centralized system to process data, the randomness of the number shaking process is insufficient, the number shaking process is difficult to be transparent, the public trust is lacked, and a certain control space is reserved for a host; for users participating in number shaking, only the number shaking result can be checked, the number shaking process cannot be verified and traced, the consideration of false number shaking and result counterfeiting exists, and the trust of a number shaking system is difficult to guarantee; for related supervision organizations, no effective supervision channel and mode exist, and the shaking history cannot be traced and verified, so that a universal shaking system design based on a block chain random number technology and a method thereof are provided.
Disclosure of Invention
According to the technical problems, the invention provides a universal serial number shaking system design based on a block chain random number technology and a method thereof, which are characterized by comprising a host, a serial number shaking foreground, a serial number shaking background and a participating group, wherein the host is connected with the serial number shaking foreground and the serial number shaking background, the serial number shaking foreground is connected with the serial number shaking background, and the serial number shaking foreground is connected with the participating group;
the number shaking foreground is distributed with a number shaking item 1, a number shaking item 2, a number shaking item 3 and a number shaking item 4;
the number shaking background is distributed with an item management module, a rule configuration module, a list management module, an online number shaking module, an information evidence storage module, a number shaking contract module, a number shaking voucher module, a basic service module and a block chain module, wherein the item management module, the rule configuration module, the list management module, the online number shaking contract module, the information evidence storage module, the number shaking contract module, the number shaking voucher module and the basic service module are all connected with the block chain module;
the participation group consists of a participation group 1, a participation group 2, a participation group 3 and a participation group 4, wherein the participation group 1 is connected with the rocking number item 1, the participation group 2 is connected with the rocking number item 2, the participation group 3 is connected with the rocking number item 3, and the participation group 4 is connected with the rocking number item 4;
the item management module is used for managing the shaking number item;
the list management module is used for participating in the list management of group personnel;
the online shaking module is used for participating in online shaking of the group;
the information evidence storing module is used for storing the evidence of the shaking number information;
the number shaking contract module is an AEDpos contract;
the shaking number voucher module is used for providing a voucher for the shaking number;
an ACS6 mechanism and a DPOS mechanism are arranged in the number rolling contract module, and the ACS6 mechanism and the DPOS mechanism are combined with each other and are generated through AElf random numbers;
flow used by ACS 6:
the first step is as follows: when the user is at the block height H1, the user applies for a random number for a contract that realizes ACS6, similar to placing an order that requires a random number;
the second step is that: the contract implementing ACS6 returns some information to the user including:
firstly, a user can obtain a random number at a certain block height, namely a block commitment, and when the block commitment is reached, the random number can be given with a high probability;
and the user obtains the certificate T available for the random number: token _ hash;
the third step: after the block chain height reaches the designated height, the user uses the certificate T to send a transaction attempt to acquire a random number;
if the user tries to acquire the random number before the designated height, the transaction for acquiring the random number fails to be executed and a prompt is thrown out to inform that the height is not reached;
the fourth step: the contract of ACS6 is implemented, returning a random number based on credential T.
AElf random number generation flow:
the first step is as follows: generating an in _ value;
the second step is that: generating out _ value based on in _ value;
the third step: publish out _ value;
the fourth step: publishing in _ value to check whether cheating occurs;
the fifth step: and carrying out two-by-two Hash operation in sequence based on the in _ value of each person.
The invention has the beneficial effects that:
(1) multi-mode docking
Supporting a plurality of shaking scene access platforms, and realizing data chaining and sign acquisition;
the method supports an out-of-box ready-to-use docking mode, and a partner can use the docking mode by entering into a configuration rule;
the customized function is supported, and the requirement of a partner is flexibly responded;
(2) full link management
The full link management mode for realizing operation management, data management and historical information management of a plurality of roles such as a slave host, a participant, a supervisor and other third party notations is realized;
(3) constructing a trust lottery drawing number shaking service participated by multiple parties such as a host party, a participant party, a monitoring party and the like
Each participating main body develops number shaking service through a number shaking system based on a block chain, and a multi-party trust carrier is constructed by the block chain to provide a solid trust foundation for the on-line number shaking service;
(4) the supervision department can conveniently supervise the online lottery ticket number service and build a supervision channel
As a supervision department, an online supervision channel is established based on the block chain, so that the supervision department can conveniently check and supervise the business, and the service capability of the government supervision department is improved.
Drawings
FIG. 1 is an overall frame diagram of the present invention;
FIG. 2 is a flow chart of the implementation of the AELF contract of the present invention.
Detailed Description
Example 1
The invention provides a universal serial number shaking system design based on a block chain random number technology and a method thereof, which are characterized by comprising a host, a serial number shaking foreground, a serial number shaking background and a participating group, wherein the host is connected with the serial number shaking foreground and the serial number shaking background, the serial number shaking foreground is connected with the serial number shaking background, and the serial number shaking foreground is connected with the participating group; the number shaking foreground is distributed with a number shaking item 1, a number shaking item 2, a number shaking item 3 and a number shaking item 4;
the number shaking background is distributed with an item management module, a rule configuration module, a list management module, an online number shaking module, an information evidence storage module, a number shaking contract module, a number shaking voucher module, a basic service module and a block chain module, wherein the item management module, the rule configuration module, the list management module, the online number shaking contract module, the information evidence storage module, the number shaking contract module, the number shaking voucher module and the basic service module are all connected with the block chain module;
the participation group consists of a participation group 1, a participation group 2, a participation group 3 and a participation group 4, wherein the participation group 1 is connected with the rocking number item 1, the participation group 2 is connected with the rocking number item 2, the participation group 3 is connected with the rocking number item 3, and the participation group 4 is connected with the rocking number item 4;
the item management module is used for managing the shaking number item;
the list management module is used for participating in the list management of group personnel;
the online shaking module is used for participating in online shaking of the group;
the information evidence storing module is used for storing the evidence of the shaking number information;
the number shaking contract module is an AEDpos contract;
the shaking number voucher module is used for providing a voucher for the shaking number;
an ACS6 mechanism and a DPOS mechanism are arranged in the number rolling contract module, and the ACS6 mechanism and the DPOS mechanism are combined with each other and are generated through AElf random numbers;
flow used by ACS 6:
the first step is as follows: when the user is at the block height H1, the user applies for a random number for a contract that realizes ACS6, similar to placing an order that requires a random number;
the second step is that: the contract implementing ACS6 returns some information to the user including:
firstly, a user can obtain a random number at a certain block height, namely a block commitment, and when the block commitment is reached, the random number can be given with a high probability;
and the user obtains the certificate T available for the random number: token _ hash;
the third step: after the block chain height reaches the designated height, the user uses the certificate T to send a transaction attempt to acquire a random number;
if the user tries to acquire the random number before the designated height, the transaction for acquiring the random number fails to be executed and a prompt is thrown out to inform that the height is not reached;
the fourth step: the contract of ACS6 is implemented, returning a random number based on credential T.
AElf random number generation flow:
the first step is as follows: generating an in _ value;
the second step is that: generating out _ value based on in _ value;
the third step: publish out _ value;
the fourth step: publishing in _ value to check whether cheating occurs;
the fifth step: and carrying out two-by-two Hash operation in sequence based on the in _ value of each person.
Example 2
Participating in the group number shaking project, managing the number shaking project by the project management module, managing the participating group and the number shaking project by the list management module, satisfying the online number shaking of the participating group by the online number shaking module, storing the information of the participating group and the number shaking project by the information storing module, ensuring the reliability and the safety by the number shaking contract module and providing the voucher by the number shaking voucher module.
Example 3
The invention can establish an extensible and reusable universal number shaking system on the basis of providing an intelligent contract of random numbers, realizes the public and transparent number shaking process and verifiable traceability, relieves the pain points of a host, a participant and a supervision mechanism, and improves the work handling efficiency of each party. The system provides standardized scenes aiming at the number shaking functions of different scenes, and supports customization so as to meet the number shaking requirements of different scenes;
the general number shaking system is essentially a set of number shaking contracts capable of providing random numbers, the number shaking contracts create a method for realizing decentralized and verifiable random number generation in a block chain network, and are combined with a DPoS common identification mechanism, namely, the random numbers are generated by production nodes together, so that the randomness, the reliability and the safety of the random numbers are ensured, and potential safety hazards caused by pseudo random numbers are avoided.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. While the invention has been described with respect to the above embodiments, it will be understood by those skilled in the art that the invention is not limited to the above embodiments, which are described in the specification and illustrated only to illustrate the principles of the invention, but that various changes and modifications may be made without departing from the spirit and scope of the invention as defined by the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (3)

1. A block chain random number technology-based universal serial number shaking system design and a method thereof are characterized by comprising a host, a serial number shaking foreground, a serial number shaking background and participating groups, wherein the host is connected with the serial number shaking foreground and the serial number shaking background, the serial number shaking foreground is connected with the serial number shaking background, and the serial number shaking foreground is connected with the participating groups;
the number shaking foreground is distributed with a number shaking item 1, a number shaking item 2, a number shaking item 3 and a number shaking item 4;
the number shaking background is distributed with an item management module, a rule configuration module, a list management module, an online number shaking module, an information evidence storage module, a number shaking contract module, a number shaking voucher module, a basic service module and a block chain module, wherein the item management module, the rule configuration module, the list management module, the online number shaking contract module, the information evidence storage module, the number shaking contract module, the number shaking voucher module and the basic service module are all connected with the block chain module;
the participation group consists of a participation group 1, a participation group 2, a participation group 3 and a participation group 4, wherein the participation group 1 is connected with the rocking number item 1, the participation group 2 is connected with the rocking number item 2, the participation group 3 is connected with the rocking number item 3, and the participation group 4 is connected with the rocking number item 4;
the item management module is used for managing the shaking number item;
the list management module is used for participating in the list management of group personnel;
the online shaking module is used for participating in online shaking of the group;
the information evidence storing module is used for storing the evidence of the shaking number information;
the number shaking contract module is an AEDpos contract;
the shaking number voucher module is used for providing a voucher for the shaking number;
the number shaking contract module is provided with an ACS6 mechanism and a DP0S mechanism, and the ACS6 mechanism and the DP0S mechanism are combined with each other to generate random numbers through AElf.
2. The design and method of claim 1, wherein the ACS6 uses the following steps:
the first step is as follows: when the user is at the block height H1, the user applies for a random number for a contract that realizes ACS6, similar to placing an order that requires a random number;
the second step is that: the contract implementing ACS6 returns some information to the user including:
firstly, a user can obtain a random number at a certain block height, namely a block commitment, and when the block commitment is reached, the random number can be given with a high probability;
and the user obtains the certificate T available for the random number: token _ hash;
the third step: after the block chain height reaches the designated height, the user uses the certificate T to send a transaction attempt to acquire a random number;
if the user tries to acquire the random number before the designated height, the transaction for acquiring the random number fails to be executed and a prompt is thrown out to inform that the height is not reached;
the fourth step: the contract of ACS6 is implemented, returning a random number based on credential T.
3. The design and method of a universal serial number generating system based on block chain random number technology as claimed in claim 1, wherein the AElf random number generating process comprises:
the first step is as follows: generating an in _ value;
the second step is that: generating out _ value based on in _ value;
thirdly, publishing out _ value;
the fourth step: publishing in _ value to check whether cheating occurs;
the fifth step: and carrying out two-by-two Hash operation in sequence based on the in _ value of each person.
CN202010893173.6A 2020-08-31 2020-08-31 Universal shaking system design based on block chain random number technology and method thereof Pending CN112216013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010893173.6A CN112216013A (en) 2020-08-31 2020-08-31 Universal shaking system design based on block chain random number technology and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010893173.6A CN112216013A (en) 2020-08-31 2020-08-31 Universal shaking system design based on block chain random number technology and method thereof

Publications (1)

Publication Number Publication Date
CN112216013A true CN112216013A (en) 2021-01-12

Family

ID=74059178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010893173.6A Pending CN112216013A (en) 2020-08-31 2020-08-31 Universal shaking system design based on block chain random number technology and method thereof

Country Status (1)

Country Link
CN (1) CN112216013A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714135A (en) * 2021-01-20 2021-04-27 福州市长乐区三互信息科技有限公司 Block chain based activity management method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990808A (en) * 2019-11-21 2020-04-10 杭州趣链科技有限公司 Notarization number shaking method based on block chain
CN111126974A (en) * 2019-12-03 2020-05-08 贾沛颐 Data interaction system based on block chain technology
CN111314069A (en) * 2020-02-13 2020-06-19 苏州同济区块链研究院有限公司 Block chain-based shaking system and method, electronic device and storage medium
CN111460482A (en) * 2020-04-15 2020-07-28 中国银行股份有限公司 Block chain-based number shaking method and device
CN111599079A (en) * 2020-04-21 2020-08-28 深圳市芯链科技有限公司 Block chain shaking method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990808A (en) * 2019-11-21 2020-04-10 杭州趣链科技有限公司 Notarization number shaking method based on block chain
CN111126974A (en) * 2019-12-03 2020-05-08 贾沛颐 Data interaction system based on block chain technology
CN111314069A (en) * 2020-02-13 2020-06-19 苏州同济区块链研究院有限公司 Block chain-based shaking system and method, electronic device and storage medium
CN111460482A (en) * 2020-04-15 2020-07-28 中国银行股份有限公司 Block chain-based number shaking method and device
CN111599079A (en) * 2020-04-21 2020-08-28 深圳市芯链科技有限公司 Block chain shaking method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AELF开发者社区: "AElf随机数合约标准(ACS6)", 《HTTPS://BLOG.CSDN.NET/DO2BETTER/ARTICLE/DETAILS/95960548》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714135A (en) * 2021-01-20 2021-04-27 福州市长乐区三互信息科技有限公司 Block chain based activity management method

Similar Documents

Publication Publication Date Title
Gao et al. Promoting coordination for disaster relief–from crowdsourcing to coordination
CN109951474B (en) Method for realizing block chain common identification block
CN110363527A (en) Card, monitoring and managing method and device are deposited based on block chain
Klimovský et al. Human limitations to introduction of smart cities: Comparative analysis from two CEE cities
CN101517557A (en) Methods and apparatuses for managing resources within a virtual room
CN108667717A (en) Block chain processing method, medium, device and computing device based on instant communication message record
CN110910143A (en) Identity identification generation method, device, related node and medium
Guan et al. Blockchain: A distributed solution to UAV‐enabled mobile edge computing
CN113034857A (en) Urban natural disaster monitoring emergency management scheduling platform based on block chain
CN112053271A (en) Public service platform data evidence management method and system based on block chain
CN115701078A (en) Cross-chain transaction processing method and device, electronic equipment and storage medium
CN112465480A (en) A real name system management system of labor affairs for building trade
CN112216013A (en) Universal shaking system design based on block chain random number technology and method thereof
CN112217639B (en) Data encryption sharing method and device, electronic equipment and computer storage medium
Livingston et al. Information and communication technologies in areas of limited statehood
CN109636159A (en) A kind of talent's performance assessment system based on block chain
CN113177092A (en) Ship manufacturing inspection data sharing method, alliance chain and system
CN112184449A (en) Block chain-based management method and system
CN112288226A (en) Service processing method, device and system
CN113938455A (en) User monitoring method and device of group chat system, electronic equipment and storage medium
Miard Call for Power: Mobile phones as facilitators of political activism
US20230224176A1 (en) Method and system for multi-block mining by a single node, in (a) single round(s), under different consensus schemes
Lei Emergency information communication structure by using multimodel fusion and artificial intelligence algorithm
CN110888935A (en) Data transaction method based on block chain
CN107171925B (en) The treating method and apparatus of session data

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210112