Accounting calculation method and device in the process of providing random numbers
A calculation method and random number technology, applied in the computer field, can solve problems such as the impossibility of trusting the randomness of random numbers and the lack of trust mechanism, etc., and achieve the effect of remarkable execution effect, strong enforceability, and guaranteed randomness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Based on the above-mentioned idea of calculating the account distribution in the process of providing random numbers, such as image 3 As shown in , it is the flow of the calculation method for dividing accounts in the process of providing random numbers shown in the embodiment of the present invention Figure 1 , the method is mainly executed by a server set in the network. Such as image 3 As shown, the calculation method of accounting in the process of providing random numbers includes the following steps:
[0038] S310. Receive and store data commitments submitted by multiple data providers into the blockchain, and freeze the accounts of multiple data providers with a fixed amount. The commitment value calculated by the source random number through an irreversible algorithm.
[0039]Due to network delays and other reasons, the time when each data provider provides the source random number is not synchronized, and it may be early or late. In order to prevent th...
Embodiment 2
[0065] Such as Figure 4 As shown in , it is the flow of the calculation method for dividing accounts in the process of providing random numbers shown in the embodiment of the present invention Figure II , the method can be viewed as image 3 The specific implementation of the method shown is mainly to refine the process of freezing the account amount and the process of returning it. Such as Figure 4 As shown, the calculation method of accounting in the process of providing random numbers includes the following steps:
[0066] S410, receiving data commitments submitted by multiple data providers, and judging whether the account balance of the data provider is greater than the predetermined balance, and the data commitment carries the source random number corresponding to the source random number that the data provider intends to submit through an irreversible algorithm calculation commitment value.
[0067] After receiving the data commitment submitted by the data provid...
Embodiment 3
[0089] Such as Figure 5 As shown in , it is a schematic structural diagram of the accounting calculation device in the random number provision process shown in the embodiment of the present invention Figure 1 , the device can be a server set in the network, used to execute such as image 3 The method steps shown. Such as Figure 5 As shown, the accounting calculation device in the random number provision process includes:
[0090] The commitment storage module 510 is used to receive the data commitments submitted by multiple data providers and store them in the blockchain, and freeze the accounts of multiple data providers with a fixed amount. Commitment value calculated by the irreversible algorithm of the source random number corresponding to the random number;
[0091] The commitment verification module 520 is used to receive the source random number to be submitted in the data commitment submitted by multiple data providers and store it in the block chain, and perfor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


