CN112069252A - Method for generating block chain - Google Patents

Method for generating block chain Download PDF

Info

Publication number
CN112069252A
CN112069252A CN202010675710.XA CN202010675710A CN112069252A CN 112069252 A CN112069252 A CN 112069252A CN 202010675710 A CN202010675710 A CN 202010675710A CN 112069252 A CN112069252 A CN 112069252A
Authority
CN
China
Prior art keywords
transaction
data
sub
nodes
node
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
CN202010675710.XA
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.)
Guizhou Broadcasting & Tv Information Network Co ltd
Original Assignee
Guizhou Broadcasting & Tv Information Network 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 Guizhou Broadcasting & Tv Information Network Co ltd filed Critical Guizhou Broadcasting & Tv Information Network Co ltd
Priority to CN202010675710.XA priority Critical patent/CN112069252A/en
Publication of CN112069252A publication Critical patent/CN112069252A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to the technical field of cryptography, in particular to a method for generating a block chain. Establishing a transaction accounting for a plurality of sub-nodes distributed in different places to jointly complete, wherein each sub-node records a complete account to form the legality of participating in supervision transaction, can jointly make a certificate for the sub-nodes and form a total node for receiving request information of the sub-nodes; the general node carries out asymmetric encryption and authorization technology, transaction information stored on a block chain is disclosed, and under the condition of receiving the authorization of the request information of the subnodes, the authorization of the request information of the subnodes is verified so that the related data can be accessed; establishing a consensus making mechanism for achieving consensus among all transaction bookings, confirming the effectiveness of records, and forming data which cannot be tampered so as to balance efficiency and safety; finally, based on the data which can not be tampered, the predefined rule clauses can be automatically executed to form a block chain.

Description

Method for generating block chain
Technical Field
The invention relates to the technical field of cryptography, in particular to a method for generating a block chain.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm.
The Blockchain (Blockchain) is an important concept of the bitcoin, which is essentially a decentralized database, and is used as the underlying technology of the bitcoin, and is a series of data blocks which are generated by using a cryptographic method to be related, wherein each data block contains information of a batch of bitcoin network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The white paper English original edition of Bimingju does not have the word of blockchain actually, but rather has the chain of blocks. In the earliest translation version of the bitcoin white paper Chinese, chain of blocks is translated into a block chain. This is the earliest time of occurrence of the Chinese word "blockchain".
Trading over the internet almost always requires the processing of electronic payment information by means of third party credit agencies, and such systems are still inherently limited to "credit-based models", and the advent of the blockchain is solving this problem.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for generating a block chain to solve the problem that trades on the internet almost always require the help of a third-party credit institution to process electronic payment information, and such systems are still inherently limited to a "credit-based mode".
In order to solve the technical problems, the technical scheme of the invention is as follows: a method for generating block chain includes setting up a transaction accounting for multiple sub-nodes distributed at different places to complete together, each sub-node recording complete account to form legality of participating in supervision transaction and forming a general node for receiving request information of sub-node;
the asymmetric encryption and authorization technology is carried out on the general node, the transaction information stored on the block chain is disclosed, and under the condition of receiving the authorization of the request information of the subnodes, the authorization of the request information of the subnodes is verified, so that the related data can be accessed;
establishing a consensus mechanism for achieving consensus among all transaction bookings and confirming the validity of records so as to confirm the data and prevent tampering with the data to form data which cannot be tampered, so that the efficiency and the safety of the data are balanced;
finally, based on the data which can not be tampered, the predefined rule clauses can be automatically executed to form a block chain.
Transaction information in the blockchain is verified and stored using a blockchain data structure.
The data generation and updating of the sub-nodes are generated and updated by utilizing a distributed node consensus algorithm.
The creation of non-tamperproof data is cryptographically secured for data transmission and access.
The automated execution of predefined rule terms is a distributed infrastructure and computing mode in which data is programmed and manipulated by automated script code as an intelligent contract.
The one sub-node corresponds to one general node respectively so as to form one block, and thus, a plurality of sub-nodes form the general node corresponding to the sub-node so as to form a plurality of blocks.
The block includes transaction information, a hash formed from a previous block, and a random number.
The transaction information is task data carried by the block, and specifically comprises private keys of both transaction parties, transaction quantity and digital signatures of electronic money.
The hash formed by the previous block is used for connecting the blocks, so that the sequential arrangement of past transactions is realized.
The random number is the core of transaction achievement, all miner nodes compete for calculating the answer of the random number, the node which obtains the answer the fastest generates a new block, and the new block is broadcasted to all nodes for updating, and therefore a transaction is completed.
Compared with the prior art, the invention has the beneficial effects that:
the method for generating the block chain comprises the steps that a transaction accounting is jointly completed by a plurality of sub-nodes distributed in different places, and each sub-node records a complete account to form a legal transaction participating in supervision and can jointly make a certificate for the sub-nodes to form a total node for receiving request information of the sub-nodes; the asymmetric encryption and authorization technology is carried out on the general node, the transaction information stored on the block chain is disclosed, and under the condition of receiving the authorization of the request information of the subnodes, the authorization of the request information of the subnodes is verified, so that the related data can be accessed; establishing a consensus mechanism for achieving consensus among all transaction bookings and confirming the validity of records so as to confirm the data and prevent tampering with the data to form data which cannot be tampered, so that the efficiency and the safety of the data are balanced; finally, based on the data which can not be tampered, the predefined rule clauses can be automatically executed to form a block chain. The problem that trades on the Internet almost need to process electronic payment information by means of a third-party credit mechanism, and the system is still internally limited by a credit-based mode is solved.
Drawings
FIG. 1 is a flow chart of a method of producing a blockchain of the present invention;
fig. 2 is a block diagram of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Referring to fig. 1, a method for generating a block chain according to the present invention includes the following steps:
s101: establishing a transaction accounting for being completed by a plurality of sub-nodes distributed in different places together, wherein each sub-node records a complete account to form the legality of participating in supervision transaction and can make a certificate for the sub-nodes together to form a total node for receiving the request information of the sub-nodes;
s102: the asymmetric encryption and authorization technology is carried out on the general node, the transaction information stored on the block chain is disclosed, and under the condition of receiving the authorization of the request information of the subnodes, the authorization of the request information of the subnodes is verified, so that the related data can be accessed;
s103: establishing a consensus mechanism for achieving consensus among all transaction bookings and confirming the validity of records so as to confirm the data and prevent tampering with the data to form data which cannot be tampered, so that the efficiency and the safety of the data are balanced;
s104: finally, based on the data which can not be tampered, the predefined rule clauses can be automatically executed to form a block chain.
Transaction information in the blockchain is verified and stored using a blockchain data structure.
The data generation and updating of the sub-nodes are generated and updated by utilizing a distributed node consensus algorithm.
The creation of non-tamperproof data is cryptographically secured for data transmission and access.
The automated execution of predefined rule terms is a distributed infrastructure and computing mode in which data is programmed and manipulated by automated script code as an intelligent contract. Each miner is a node in a network of computers forming a whole to verify all bitcoin transactions. In each transaction, the algorithm rewards them with bitcoins, which have value in the real world, and the operators of these machines have the incentive to keep the machines running.
By utilizing the block chain, the block chain is compared with an open account book, records of all transactions are stored in the block chain, the block chain is maintained by miners, and the block chain is not exclusively controlled by an entity and is opened to all persons; various networks are created in parallel with bitcoin blockchains by which to accomplish tasks that bitcoin networks cannot accomplish, but blockchains can be utilized, such as to timestamp their jobs or to confirm jobs.
Such as counterty (which is a free open financial instrument platform in bitcoin networks), such as "sidechains", one of the common denominations of these networks, regardless of the form in which they are used to cover the overlap, is that they are tied to bitcoin blockchains, and the network effect they can obtain from is liquidity, without their crypto-currency as an auxiliary program, or as an alternative to blockchains as required by Ethereum.
Developing an open source, decentralized protocol, and built-in data, verification mode and transaction system, without any entity being able to control alone; this is where the traditional software industry began to break down, and the best examples are bitcoin, Ebay, Facebook and Uber are valuable because they would benefit greatly from the network effect that they would concentrate user data in their hands and benefit from transactions, and the decentralized protocol built over the blockchain would likely eliminate each individual component, for example, they could create a common decentralized data set, usable by anyone, and support bitcoin-based p2p transactions.
Indeed, for example, Lazooz, which is a real-time carpooling protocol, and the OpenBazaar protocol, which supports the free decentralized p2p market.
Generally, the problem of establishing an agreement is controversial, but the opportunity for them to easily determine whether the industry is well developed in the long term is considered to be an important component of the whole hierarchy. On these decentralized protocols, it is important for any developer to be able to quickly create new applications or experiments.
This can be a commercial service or an open source project, the best example of this trend is the API, and the open source node tool Toshi of Coinbase. The goals of the two are the same, but the API is a business service, whereas Toshi is open source. Most of the time, the applications built on this basis operate in the same way as our current approach, like Coinbase and PayPal, but a big difference for the user is that they are built on a decentralized protocol, each application can interface with other applications, like different email applications and bitcoin purses can interoperate.
It grows gradually from the bottom upwards, initially with miners, block chains and bitcoins, and something else is now created on this basis, which is established in this way.
This presents a series of interesting challenges for developers, creators and investors, as the value of the current internet's hierarchical structure is commercialized by the above blockchain hierarchy. But this architecture is best in that users benefit even more because web site conversion rates, transposition costs, individual ownership of data, and market dominance may decrease or no longer exist.
As shown in fig. 2, each of the sub-nodes corresponds to one of the total nodes, thereby forming one block, and thus, the plurality of sub-nodes form the total node corresponding thereto, thereby forming a plurality of blocks.
The block includes transaction information, a hash formed from a previous block, and a random number. The transaction information is task data carried by the block, and specifically comprises private keys of both transaction parties, transaction quantity and digital signatures of electronic money. The hash formed by the previous block is used for connecting the blocks, so that the sequential arrangement of past transactions is realized. The random number is the core of transaction achievement, all miner nodes compete for calculating the answer of the random number, the node which obtains the answer the fastest generates a new block, and the new block is broadcasted to all nodes for updating, and therefore a transaction is completed.
The block chain is relatively open, is commonly known, has transparent transaction, is anonymous to both sides and can not be tampered. Traceable anyone can participate in the blockchain network, each device can act as a node, and each node allows a complete copy of the database to be obtained. The nodes are based on a set of consensus mechanism, and the whole block chain is maintained together through competition calculation.
When any node fails, the rest nodes can still work normally. Meanwhile, the method is also used for removing the center and trust, a block chain is formed into an end-to-end network by a plurality of nodes, and no centralized equipment or management mechanism exists. The data exchange between the nodes is verified by a digital signature technology, mutual trust is not needed, and other nodes cannot be deceived as long as the data exchange is carried out according to the rules set by the system.
For example: when a wants to remit money to B, a new order entry is created detailing the transaction; this order item would then be sent to hundreds of other computers that own copies of the record, which confirm that the transaction is authorized and eventually they agree (or disagree) that all of the contents of the transaction are legitimate, and then give approval to the item as if a and B had hundreds of spectators standing around them, seeing that a handed over to B for money, and they all agree that a really handed over money to B, then what is the difference to the bank for transaction disclosure transparent? The benefit of this common record book (master node) is that it does not require banks, nor a centrally entitled company, and does not require trust in any financial institution, requires any intermediary, and is decentralized.
In detail, this shared logbook (total node) does not belong to any one individual or organization. It is owned by everyone that owns the notebook, but this does not mean that any person who owns the notebook can control it. In addition, this record is said to be "immutable" or colloquially, it is irreversible, as long as the internet is present, and every line will be permanent. If B wants to refund B's money, it will be a new item, returning the money instead of the original transaction of the transaction.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, and the scope of protection is still within the scope of the invention.

Claims (10)

1. A method of generating a blockchain, comprising: establishing a transaction accounting for a plurality of sub-nodes distributed in different places to jointly complete, wherein each sub-node records a complete account to form the legality of participating in supervision transaction, can jointly make a certificate for the sub-nodes and form a total node for receiving request information of the sub-nodes;
the asymmetric encryption and authorization technology is carried out on the general node, the transaction information stored on the block chain is disclosed, and under the condition of receiving the authorization of the request information of the subnodes, the authorization of the request information of the subnodes is verified, so that the related data can be accessed;
establishing a consensus mechanism for achieving consensus among all transaction bookings and confirming the validity of records so as to confirm the data and prevent tampering with the data to form data which cannot be tampered, so that the efficiency and the safety of the data are balanced;
finally, based on the data which can not be tampered, the predefined rule clauses can be automatically executed to form a block chain.
2. The method of generating a blockchain according to claim 1, wherein: transaction information in the blockchain is verified and stored using a blockchain data structure.
3. The method of generating a blockchain according to claim 1, wherein: the data generation and updating of the sub-nodes are generated and updated by utilizing a distributed node consensus algorithm.
4. The method of generating a blockchain according to claim 1, wherein: the creation of non-tamperproof data is cryptographically secured for data transmission and access.
5. The method of generating a blockchain according to claim 1, wherein: the automated execution of predefined rule terms is a distributed infrastructure and computing mode in which data is programmed and manipulated by automated script code as an intelligent contract.
6. The method of generating a blockchain according to claim 1, wherein: the one sub-node corresponds to one general node respectively so as to form one block, and thus, a plurality of sub-nodes form the general node corresponding to the sub-node so as to form a plurality of blocks.
7. The method of generating a blockchain according to claim 6, wherein: the block includes transaction information, a hash formed from a previous block, and a random number.
8. The method of generating a blockchain according to claim 7, wherein: the transaction information is task data carried by the block, and specifically comprises private keys of both transaction parties, transaction quantity and digital signatures of electronic money.
9. The method of generating a blockchain according to claim 7, wherein: the hash formed by the previous block is used for connecting the blocks, so that the sequential arrangement of past transactions is realized.
10. The method of generating a blockchain according to claim 7, wherein: the random number is the core of transaction achievement, all miner nodes compete for calculating the answer of the random number, the node which obtains the answer the fastest generates a new block, and the new block is broadcasted to all nodes for updating, and therefore a transaction is completed.
CN202010675710.XA 2020-07-14 2020-07-14 Method for generating block chain Pending CN112069252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010675710.XA CN112069252A (en) 2020-07-14 2020-07-14 Method for generating block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010675710.XA CN112069252A (en) 2020-07-14 2020-07-14 Method for generating block chain

Publications (1)

Publication Number Publication Date
CN112069252A true CN112069252A (en) 2020-12-11

Family

ID=73656404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010675710.XA Pending CN112069252A (en) 2020-07-14 2020-07-14 Method for generating block chain

Country Status (1)

Country Link
CN (1) CN112069252A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369008A (en) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 For improving management method, the apparatus and system of bill business security
CN107425982A (en) * 2017-07-07 2017-12-01 众安信息技术服务有限公司 A kind of method and block chain for realizing intelligent contract data encryption
CN110084706A (en) * 2019-04-04 2019-08-02 国美金控投资有限公司 It is a kind of that guarantor's verifying System and method for is prolonged based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107425982A (en) * 2017-07-07 2017-12-01 众安信息技术服务有限公司 A kind of method and block chain for realizing intelligent contract data encryption
CN107369008A (en) * 2017-07-17 2017-11-21 北京京东金融科技控股有限公司 For improving management method, the apparatus and system of bill business security
CN110084706A (en) * 2019-04-04 2019-08-02 国美金控投资有限公司 It is a kind of that guarantor's verifying System and method for is prolonged based on block chain

Similar Documents

Publication Publication Date Title
CN108833081B (en) Block chain-based equipment networking authentication method
JP6956062B2 (en) Transaction method, program, verification device and generation method
CN109964446B (en) Consensus method based on voting
Baird et al. Hedera: A public hashgraph network & governing council
Scherer Performance and scalability of blockchain networks and smart contracts
CN109242675B (en) Asset publishing method and device based on block chain and electronic equipment
Kaur et al. Blockchain: A path to the future
JP2022095918A (en) Tokenizing method and system for executing exchange on block chain
US11562451B1 (en) Apparatus for proportional calculation regarding non-fungible tokens
EP4032052B1 (en) Performing transactions using private and public blockchains
Komalavalli et al. Overview of blockchain technology concepts
KR102537774B1 (en) Systems and methods that provide specialized proof of confidential knowledge
CN115427995A (en) Time-locked blockchain transactions and related blockchain techniques
US11233638B1 (en) Secured electronic token register system
JP2023065602A (en) Decision making system and method that is implemented by computer
CN110599331A (en) Debt charging system, method, device and storage medium based on block chain
CN109523380A (en) Across chain method of commerce and device
US20210398112A1 (en) Computer-Implemented Method and System for Digital Signing of Transactions
CN114363327A (en) Compliance mechanism in blockchain networks
Saad et al. Decentralized directed acyclic graph based dlt network
Cai et al. Introduction to blockchain basics
CN110727735B (en) Method, device and equipment for cooperatively completing task event based on block chain technology
Bashir et al. Advanced Blockchain Development: Build highly secure, decentralized applications and conduct secure transactions
Kabiri et al. Blockchain and smart contracts
Ordoñez-Guerrero et al. Blockchain architectural concerns: A systematic mapping study

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: 20201211