Method for designing probability generator

A generator and event generator technology, applied in instruments, calculations, complex mathematical operations, etc., can solve problems such as single method, achieve the effect of intuitive process, improve efficiency and save resources

Inactive Publication Date: 2017-05-17
北京云知科技有限公司
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to provide a method for designing a probabili

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
  • Method for designing probability generator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] A method for designing a probability generator, comprising the steps (see attached figure 1 ):

[0026] Step 01: There are m pow units;

[0027] Step 02: Determine the probability p of the simulated event in advance (0≤p≤1);

[0028] Step 03: Round the result of m*p to n;

[0029] Step 04: Divide the first n pow units to output node A, and divide the remaining m-n pow units to output node B;

[0030] Step 05: Use the POW consensus mechanism of the blockchain to determine the nodes that obtain the output rights;

[0031] Step 06: Determine whether the node that obtains the output right is A: if it is A, A outputs 1, simulating that the event occurs; if it is B, B outputs 0, simulating that the event does not occur.

Embodiment 2

[0033] The simulated probability of rain tomorrow is 70%.

[0034] A total of 100 pow units can be set up, among which the first 70 units are allocated to node A, and the last 30 units are allocated to node B. That is, when A outputs, it simulates that it will rain tomorrow, and when B outputs, it simulates that it will not rain tomorrow. According to the working principle of the pow consensus mechanism, A has a 70% probability of being selected as an output node, that is, has a 70% probability of obtaining the right to output, thus simulating the event that there is a 70% probability of rain tomorrow. Correspondingly, B has a 30% probability of being selected as an output node, that is, has a 30% probability of obtaining the right to output, thus simulating that there is a 30% probability that it will not rain tomorrow. If it is also necessary to simulate the probability of windy tomorrow, multiple simulators are set to simulate the probability of rain and the probability of...

Embodiment 3

[0036] As an improvement of Embodiment 1, this embodiment proposes a method for designing a probability generator, which is used to design a simulator of an event that is jointly determined by multiple probability events. Contains the following steps:

[0037] Step 01: Abstract the logical structure of how multiple events determine the occurrence of an event.

[0038] Step 02: Using the steps in Embodiment 2, simulate multiple events respectively.

[0039] Step 03: Calculate the simulation results of multiple events to determine the simulated event.

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 present invention discloses a method for designing a probability generator. According to a given probability distribution node, a Pow consensus mechanism of a blockchain is employed to calculate output nodes and takes the output nodes as an event to complete the design of the probability event generator. The method for designing a probability generator can realize the occurrence of the probability event according to the given probability.

Description

technical field [0001] The invention relates to the technical field of probability generator design, in particular to a method for designing a probability generator. Background technique [0002] With the rapid development of science and technology and the popularization of computers today, probability statistics are being widely applied to all walks of life: buying lottery tickets, buying insurance, queuing problems, genetic diseases, weather forecasts, economic forecasts, traffic management, medical diagnosis and other issues , become a tool for us to know the world, understand the world and transform the world, and it is closely related and inseparable from our actual life. [0003] Blockchain is a decentralized distributed ledger system, which can be used to register and issue digital assets, property certificates, points, etc., and transfer, pay and trade in a peer-to-peer manner. Compared with the traditional centralized ledger system, the blockchain system has the ad...

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): G06Q40/00G06F17/18
CPCG06F17/18G06Q40/12
Inventor 亓兵
Owner 北京云知科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products