CN109460211A - Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network - Google Patents

Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network Download PDF

Info

Publication number
CN109460211A
CN109460211A CN201811147593.9A CN201811147593A CN109460211A CN 109460211 A CN109460211 A CN 109460211A CN 201811147593 A CN201811147593 A CN 201811147593A CN 109460211 A CN109460211 A CN 109460211A
Authority
CN
China
Prior art keywords
random
random effect
block chain
pond
effect pond
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
CN201811147593.9A
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.)
Youkan (Guangdong) Information Technology Co.,Ltd.
Original Assignee
Chengdu Catching Wind Data 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 Chengdu Catching Wind Data Technology Co Ltd filed Critical Chengdu Catching Wind Data Technology Co Ltd
Priority to CN201811147593.9A priority Critical patent/CN109460211A/en
Publication of CN109460211A publication Critical patent/CN109460211A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention relates to block chains, credible endogenous Stochastic implementation method is reached by random effect pond more particularly in block chain network, a self-defining data section is added in block chain dynamic data area, save one or several random effect ponds, random effect pond is wrapped in encryption data section by block people out, the code of ciphering process is to close source, underground form broadcast distribution, after the completion of broadcast, all nodes will possess same set of random effect pond in block chain network, user submits random affairs, all nodes receive random transactions requests, node successively extracts random number as random effect from the random effect pond received, the random number that different nodes are drawn into every time is consistent;Technical solution provided by the present invention can effectively overcome the defect for being unable to complete present in the prior art and knowing together at random.

Description

Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network
Technical field
The present invention relates to block chains, and in particular to reaches credible endogenous random reality by random effect pond in block chain network Existing method.
Background technique
Block chain is the database of decentralization, and core is distributed account book, and maximum feature is decentralization, it proposes one Kind solves the problems, such as the new thought of Byzantium general, can be realized the technology body that data are unanimously stored, can not distort, can not be denied System.Use contemporary cryptology technology ECC(elliptic curve encryption algorithm) as Encryption Algorithm, in the premise without correctly obtaining key Under, it can be because of the excessive valence for leading to implementation overlong time and losing the behavior of cracking of calculation amount to the trial that cracks of Encryption Algorithm Value ensures the safety of block chain application.
Intelligent contract is one section of code write on block chain, once the clause in some event triggering contract, code are It is automatic to execute.Intelligent contract is a kind of computer protocol for being intended to propagate, verify or execute in a manner of information-based contract, and intelligence is closed About allow to carry out credible transaction in no third-party situation, these transaction are traceable and irreversible.Intelligent contract be with It is designed premised on " distrusting principle ", each node thinks trustless each other.Since the distribution of block chain saves Characteristic, each node on chain preserve same contract and execute code, and it is common that the operation result of contract by the whole network calculates power Witness, and determine whether operation result is recognized by way of entirety voting.
Intelligent contract is participated and draw jointly by multiple nodes in block chain, any transaction row that can be used between node For.The rights and duties that both sides are specified in agreement, the condition executed automatically comprising contract can be triggered.Once on intelligent contract It passes in block chain network, the whole network verifying node can all receive this contract, and intelligent contract can periodically check whether there is correlation Event and trigger condition, the event for meeting condition will be pushed in queue to be verified, and the verifying node on block chain is first right The event carries out signature verification, to ensure its validity, after waiting most of verifying nodes to reach common understanding the event, and intelligent contract By successful execution, and notify user node.The contract of successful execution will remove block, and the contract being not carried out then continues waiting for down One wheel processing, until successful execution.
Traditional contract is that fixed input generates fixed output, and an actually state machine cannot be completed to own Calculating process, including random process.By the study found that random process needs to solve a critical issue on complete chain: Random process rule is described by intelligent contract on chain, and the process of contract be it is disclosed, if desired generate can not be pushed away by third party The random effect of calculation has the noise of node to participate in the input of this process, but the noise of different nodes when then contract being needed to run Can not be consistent, i.e., whether just other nodes can not verify the result of current random process by running this part of contract again Really, it eventually leads to and is unable to complete common recognition.
Summary of the invention
(1) the technical issues of solving
It, can the present invention provides being reached in block chain network by random effect pond for disadvantages mentioned above present in the prior art Believe endogenous Stochastic implementation method, can effectively overcome the defect for being unable to complete present in the prior art and knowing together at random.
(2) technical solution
In order to achieve the above object, the present invention is achieved by the following technical programs:
Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network, comprising the following steps:
S1, a self-defining data section is added in block chain dynamic data area, save one or several random effect ponds;
S2, random effect pond is wrapped in encryption data section by block people out, and the code of ciphering process is to close source, underground form Broadcast distribution;
After the completion of S3, broadcast, all nodes will possess same set of random effect pond in block chain network;
S4, user submit random affairs, and all nodes receive random transactions requests;
S5, node successively extract random number as random effect from the random effect pond received, and different nodes extract every time To random number be consistent.
Preferably, the data structure in the random effect pond is in pipeline form.
Preferably, the random effect pond only permits compliance with the read-write end access of rule.
Preferably, the random effect pond is written in order from one end, takes out in order from the other end.
Preferably, the random effect pond meet with any one access behavior all will lead to random effect pond change and It can not restore.
Preferably, the behavior for random data being written in the random effect pond is completed by dynamic encryption function library, and is moved Source, underground is closed in state encryption function library.
Preferably, the producer of the random number can not know that the result of this random process will be put into random effect pond The user of position and random process.
(3) beneficial effect
Compared with prior art, credible endogenous random reality is reached by random effect pond in block chain network provided by the present invention Existing method has figure spirit completeness, and figure spirit is complete can to support sufficient data structure logic process to execute affairs, can be complete At endogenic random process.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.It should be evident that the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram that random process of the present invention is realized.
Specific embodiment
It in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below will be in the embodiment of the present invention Technical solution be clearly and completely described.Obviously, described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network, comprising the following steps:
S1, a self-defining data section is added in block chain dynamic data area, save one or several random effect ponds;
S2, random effect pond is wrapped in encryption data section by block people out, and the code of ciphering process is to close source, underground form Broadcast distribution;
After the completion of S3, broadcast, all nodes will possess same set of random effect pond in block chain network;
S4, user submit random affairs, and all nodes receive random transactions requests;
S5, node successively extract random number as random effect from the random effect pond received, and different nodes extract every time To random number be consistent.
The data structure in random effect pond is in pipeline form.
Random effect pond only permits compliance with the read-write end access of rule.
Random effect pond is written in order from one end, takes out in order from the other end.
Random effect pond, which meets with any one access behavior and all will lead to random effect pond, to change and can not restore.
The behavior that random data is written in random effect pond is completed by dynamic encryption function library, and dynamic encryption function library Close source, underground.
The producer of random number can not know the result of this random process by be put into random effect pond position and with The user of machine process prevents the realization of random process from cheating occurs.
The present invention realizes the random process on block chain using following methods:
A self-defining data section is added in block chain dynamic data area, saves one or several random effect ponds;Block people out Random effect pond is wrapped in encryption data section, the code of ciphering process is to close source, underground form broadcast distribution;Broadcast After the completion, all nodes will possess same set of random effect pond in block chain network;User submits random affairs, and all nodes connect Receive random transactions requests;Node successively extracts random number as random effect, difference section from the random effect pond received The random number that point is drawn into every time is consistent.
The data structure in random effect pond is in pipeline form, and only permits compliance with the read-write end access of rule, is had advanced The characteristic first gone out, is written in order from one end, takes out in order from the other end, can so guarantee what different nodes were got every time Random number is consistent, and random effect can reach common understanding in block chain network, completes endogenic random process.
Any one access behavior (writing, reading) all will lead to random effect pond and change and can not restore.Write-in The behavior of random data is completed by dynamic encryption function library, and dynamic encryption function library closes source, underground.The production of random number Person can not know that the result of this random process will be put into the user of the position and this random process in random effect pond.This The implementation of random process is suitable for chain network to the consistent scene of transaction sequences, such as RPG trip in application Player opens the process that map treasured case obtains random stage property in play.
Reach credible endogenous Stochastic implementation method by random effect pond in block chain network provided by the present invention to have Scheme clever completeness, figure spirit is complete can to support sufficient data structure logic process to execute affairs, can complete endogenic Random process.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, can't be such that the essence of corresponding technical solution departs from the spirit and scope of the technical scheme of various embodiments of the present invention.

Claims (7)

1. reaching credible endogenous Stochastic implementation method by random effect pond in block chain network, it is characterised in that: including following Step:
S1, a self-defining data section is added in block chain dynamic data area, save one or several random effect ponds;
S2, random effect pond is wrapped in encryption data section by block people out, and the code of ciphering process is to close source, underground form Broadcast distribution;
After the completion of S3, broadcast, all nodes will possess same set of random effect pond in block chain network;
S4, user submit random affairs, and all nodes receive random transactions requests;
S5, node successively extract random number as random effect from the random effect pond received, and different nodes extract every time To random number be consistent.
2. credible endogenous Stochastic implementation method is reached by random effect pond in block chain network according to claim 1, It is characterized by: the data structure in the random effect pond is in pipeline form.
3. credible endogenous Stochastic implementation method is reached by random effect pond in block chain network according to claim 1, It is characterized by: the random effect pond only permits compliance with the read-write end access of rule.
4. credible endogenous Stochastic implementation method is reached by random effect pond in block chain network according to claim 1, It is characterized by: the random effect pond is written in order from one end, taken out in order from the other end.
5. credible endogenous Stochastic implementation method is reached by random effect pond in block chain network according to claim 1, It all will lead to random effect pond it is characterized by: the random effect pond meets with any one access behavior and change and can not It restores.
6. credible endogenous Stochastic implementation method is reached by random effect pond in block chain network according to claim 1, It is characterized by: the behavior that random data is written in the random effect pond is completed by dynamic encryption function library, and dynamic adds Close function library closes source, underground.
7. credible endogenous Stochastic implementation method is reached by random effect pond in block chain network according to claim 1, It is characterized by: the producer of the random number can not know that the result of this random process will be put into the position in random effect pond And the user of random process.
CN201811147593.9A 2018-09-29 2018-09-29 Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network Pending CN109460211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811147593.9A CN109460211A (en) 2018-09-29 2018-09-29 Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811147593.9A CN109460211A (en) 2018-09-29 2018-09-29 Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network

Publications (1)

Publication Number Publication Date
CN109460211A true CN109460211A (en) 2019-03-12

Family

ID=65607139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811147593.9A Pending CN109460211A (en) 2018-09-29 2018-09-29 Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network

Country Status (1)

Country Link
CN (1) CN109460211A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120276974A1 (en) * 2007-04-30 2012-11-01 Jens Gustav Nilsson Method of Generating Random Numbers for a Gaming System
US20160358253A1 (en) * 2015-06-05 2016-12-08 DiQi, Inc Electronic currency management method and electronic currency system
CN106789047A (en) * 2017-03-03 2017-05-31 钱德君 A kind of block chain identification system
CN107046542A (en) * 2017-04-24 2017-08-15 杭州云象网络技术有限公司 A kind of method that common recognition checking is realized using hardware in network level
CN107220130A (en) * 2017-05-12 2017-09-29 北京众享比特科技有限公司 A kind of information common recognition method realized at the node of block chain, apparatus and system
CN107301546A (en) * 2017-05-03 2017-10-27 北京众享比特科技有限公司 Generating random number and methods for using them and device
CN107679857A (en) * 2017-10-10 2018-02-09 马晶瑶 Across the chain method of commerce and storage medium of block chain
CN108182581A (en) * 2017-12-29 2018-06-19 北京欧链科技有限公司 A kind of bookkeeping methods and device of block chain
CN108256909A (en) * 2018-01-10 2018-07-06 北京思特奇信息技术股份有限公司 A kind of integrating system and method based on block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120276974A1 (en) * 2007-04-30 2012-11-01 Jens Gustav Nilsson Method of Generating Random Numbers for a Gaming System
US20160358253A1 (en) * 2015-06-05 2016-12-08 DiQi, Inc Electronic currency management method and electronic currency system
CN106789047A (en) * 2017-03-03 2017-05-31 钱德君 A kind of block chain identification system
CN107046542A (en) * 2017-04-24 2017-08-15 杭州云象网络技术有限公司 A kind of method that common recognition checking is realized using hardware in network level
CN107301546A (en) * 2017-05-03 2017-10-27 北京众享比特科技有限公司 Generating random number and methods for using them and device
CN107220130A (en) * 2017-05-12 2017-09-29 北京众享比特科技有限公司 A kind of information common recognition method realized at the node of block chain, apparatus and system
CN107679857A (en) * 2017-10-10 2018-02-09 马晶瑶 Across the chain method of commerce and storage medium of block chain
CN108182581A (en) * 2017-12-29 2018-06-19 北京欧链科技有限公司 A kind of bookkeeping methods and device of block chain
CN108256909A (en) * 2018-01-10 2018-07-06 北京思特奇信息技术股份有限公司 A kind of integrating system and method based on block chain

Similar Documents

Publication Publication Date Title
KR20200059233A (en) Smart contract execution with distributed reconciliation
US20210049715A1 (en) Blockchain-based data procesing method, apparatus, and electronic device
WO2021159753A1 (en) Federated learning model training method and apparatus, terminal device, and storage medium
KR20200085899A (en) Identity verification method and apparatus
CN109559119A (en) By entrusting the block producer to reach the method for the credible endogenous random process of block chain
CN107360001A (en) A kind of digital certificate management method, device and system
CN107528882A (en) The method, apparatus and electronic equipment of processing common recognition request in block chain common recognition network
TW201738825A (en) Method and device for outputting risk information and constructing risk information
CN109951547A (en) Transactions requests method for parallel processing, device, equipment and medium
CN108876371B (en) Consumption data storage, data verification and data source tracing method based on block chain
CN110443690A (en) A kind of method, apparatus, server and the storage medium of variance data reconciliation
CN112087530B (en) Method, device, equipment and medium for uploading data to block chain system
CN108537520B (en) Method and device for accessing third-party payment transaction
CN105684027A (en) House resource verifying method and system for real estate network
CN110458681A (en) A kind of method, apparatus, server and the storage medium of data reconciliation decision
CN113064759A (en) Block chain data rollback processing method and processing system thereof
CN110851485B (en) Social relation mining method and device, computer equipment and readable medium
CN105930226B (en) A kind of data processing method and device
CN112115204A (en) Multi-party security calculation implementation method based on block chain technology
CN111597269A (en) Block chain-based contract implementation method, device and equipment
CN109298849A (en) Credible endogenous random implementation method is reached by affairs commission in block chain network
CN109460211A (en) Credible endogenous Stochastic implementation method is reached by random effect pond in block chain network
CN112418433A (en) Model training method, device and equipment
CN112330329A (en) Risk transaction data processing method, device, equipment and storage medium
CN110807188A (en) Authority management method and system based on block chain

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
TA01 Transfer of patent application right

Effective date of registration: 20201112

Address after: Room 707, building G-2, No. 26, ChenYue Road, Haizhu District, Guangzhou City, Guangdong Province

Applicant after: Youkan (Guangdong) Information Technology Co.,Ltd.

Address before: 610000 Chengdu China (Sichuan) Free Trade Pilot Zone, Chengdu High-tech Zone, Chengdu, 219 Tianfu Third Street, Building 8, 9, 10, 14, 17

Applicant before: CHENGDU BUFENG DATA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190312

WD01 Invention patent application deemed withdrawn after publication