CN111597264B - Block chain accounting method and device - Google Patents

Block chain accounting method and device Download PDF

Info

Publication number
CN111597264B
CN111597264B CN202010412219.8A CN202010412219A CN111597264B CN 111597264 B CN111597264 B CN 111597264B CN 202010412219 A CN202010412219 A CN 202010412219A CN 111597264 B CN111597264 B CN 111597264B
Authority
CN
China
Prior art keywords
blockchain
accounting
node
token
billing
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.)
Active
Application number
CN202010412219.8A
Other languages
Chinese (zh)
Other versions
CN111597264A (en
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010412219.8A priority Critical patent/CN111597264B/en
Publication of CN111597264A publication Critical patent/CN111597264A/en
Application granted granted Critical
Publication of CN111597264B publication Critical patent/CN111597264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos

Abstract

The invention discloses a block chain accounting method, which comprises the following steps: when a new billing node joins the blockchain to which the billing node belongs, determining hash values corresponding to the blockchain identifiers of all billing nodes, updating a locally stored sorting list according to the hash values corresponding to the blockchain identifiers of all billing nodes, wherein the sorting list comprises a sequence of hash values corresponding to the blockchain identifiers of all billing nodes in the blockchain, and transmitting the token to the corresponding billing node according to the sorting list so that the billing node currently holding the token generates a new block. The blockchain method provided by the embodiment of the invention can enable the accounting nodes in the blockchain to contend for the accounting right of the new block without searching a random number meeting the hash value through the competitive power, thereby improving the accounting efficiency of the blockchain.

Description

Block chain accounting method and device
Technical Field
The invention relates to the technical field of blockchains, in particular to a blockchain billing method and device.
Background
In blockchain technology, the accounting node generates a block to consume a great deal of computing power of the whole blockchain network to search for random numbers meeting hash values, and the computing has no practical meaning per se, so that the blockchain accounting efficiency is affected.
Disclosure of Invention
Therefore, the invention provides a blockchain billing method and device, which are used for solving the problem of low blockchain billing efficiency caused by the fact that the generation of a block consumes a great deal of calculation power of the whole blockchain network to search for random numbers meeting hash values in the prior art.
To achieve the above object, a first aspect of the present invention provides a blockchain billing method, the method including:
when a new accounting node is added into the blockchain to which the accounting node belongs, determining a hash value corresponding to the blockchain identifier of each accounting node;
updating a locally stored ordering list according to hash values corresponding to the blockchain identifications of the accounting nodes, wherein the ordering list comprises a sequence of hash values corresponding to the blockchain identifications of the accounting nodes in the blockchain;
and transmitting the tokens to the corresponding accounting nodes according to the ordered list so that the accounting nodes currently holding the tokens generate new blocks.
Preferably, the method further comprises:
when a new accounting node joins the blockchain, determining a difference value between a hash value corresponding to the blockchain identifier of the new accounting node and a hash value corresponding to the blockchain identifier of the accounting node currently holding the token;
and determining the waiting time before the new accounting node participates in token passing according to the difference value.
Preferably, the waiting time is a multiple of a standard time, the standard time being the time the token is transferred from one billing node to another billing node.
Preferably, the method further comprises:
when the accounting node currently holds a token, if detecting that an integer overflow occurs in an intelligent contract related to a new block generated by the accounting node, stopping executing the transfer operation of fund transaction, and broadcasting a first broadcast message in the blockchain, wherein the first broadcast message carries the identification of both sides of the intelligent contract, the number of the intelligent contract and the integer overflow alarm identification.
Preferably, the method further comprises:
when the accounting node does not currently hold a token, if it is detected that integer overflow occurs in an intelligent contract related to a new block issued by other accounting nodes in a blockchain and a first broadcast message broadcast by the other accounting nodes is not received, a second broadcast message is broadcast in the blockchain, wherein the second broadcast message carries a message that the new block issued by the other accounting nodes is invalidated, an identifier of both sides of the intelligent contract, a number of the intelligent contract and an integer overflow alarm identifier.
A second aspect of the present invention provides an accounting node comprising a first processing module, an updating module and a delivery module;
the first processing module is used for determining hash values corresponding to blockchain identifiers of all accounting nodes when new accounting nodes join the blockchain to which the accounting nodes belong;
the updating module is used for updating a locally stored ordering list according to hash values corresponding to the blockchain identifications of the accounting nodes, wherein the ordering list comprises a sequence of hash values corresponding to the blockchain identifications of the accounting nodes in the blockchain;
the transfer module is used for transferring the token to the corresponding billing node according to the ordered list so as to enable the billing node currently holding the token to generate a new block.
Preferably, the first processing module is further configured to determine, when a new accounting node joins the blockchain, a difference between a hash value corresponding to a blockchain identifier of the new accounting node and a hash value corresponding to a blockchain identifier of an accounting node currently holding a token, and determine, according to the difference, a waiting time before the new accounting node participates in token transfer.
Preferably, the waiting time is a multiple of a standard time, the standard time being the time the token is transferred from one billing node to another billing node.
Preferably, the accounting node further comprises a second processing module;
the second processing module is configured to, when the accounting node currently holds the token, stop performing the transfer operation of the fund transaction and broadcast a first broadcast message in the blockchain if it is detected that an integer overflow occurs in the intelligent contract related to the new block generated by the accounting node, where the first broadcast message carries an identifier of both sides of the intelligent contract, a number of the intelligent contract, and an integer overflow alarm identifier.
Preferably, when the present accounting node does not currently hold a token, if it is detected that an integer overflow occurs in an intelligent contract related to a new block issued by another accounting node in the blockchain, and a first broadcast message broadcast by the other accounting node is not received, a second broadcast message is broadcast in the blockchain, where the second broadcast message carries a message that the new block issued by the other accounting node is invalidated, an identifier of both sides of the intelligent contract, a number of the intelligent contract, and an integer overflow alarm identifier.
When a new accounting node joins a blockchain to which the accounting node belongs, the blockchain accounting method determines hash values corresponding to blockchain identifiers of all accounting nodes, updates a locally stored ordering list according to the hash values corresponding to the blockchain identifiers of all accounting nodes, and transmits tokens to corresponding accounting nodes according to the ordering list, so that the accounting node currently holding the tokens generates a new block. The blockchain method provided by the embodiment of the invention can enable the accounting nodes in the blockchain to contend for the accounting right of the new block without searching a random number meeting the hash value through the competitive power, thereby improving the accounting efficiency of the blockchain.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the description serve to explain, without limitation, the invention.
FIG. 1 is a flowchart illustrating a blockchain billing method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a blockchain billing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a billing node according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a second structure of an accounting node according to an embodiment of the present invention.
Detailed Description
The following describes specific embodiments of the present invention in detail with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the invention, are not intended to limit the invention.
A blockchain is a de-centralized database that contains a list of what is called blocks, with records that continue to grow and are ordered. Each block contains a timestamp and a link to the previous block: the blockchain is designed such that the data is not tamperable and once recorded, the data in one block will not be reversible. Blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. The common knowledge mechanism is a mathematical algorithm for realizing trust establishment and rights acquisition among different nodes in a block chain system.
Along with the continuous development of the mobile internet, the relationship between the Chinese entity economy and the internet is becoming more and more intimate; for this reason, the country stands more in the angle of decision maker, and positions the mobile internet as "innovative development new field, public service new platform, information sharing new channel". The internet at PC (personal computer) has been in a state of saturation, and the mobile internet is being developed, and the conventional internet has started to focus on the mobile internet. At present, the technology is an era of driving financial development, and driving factors of the technology are developed from the earliest Internet information to the recent big data, cloud computing and mobile Internet. However, technological innovation is endless, and blockchains have been a strong trend as a driving force for technology. As a blockchain with a decentralised concept and a distributed shared billing technology as cores, many links in the financial field, such as letter increasing, right confirming, stock right registering, financial trade, digital assets, etc., will be embedded in the future. Blockchains are currently still in the early stages of development, whether large institutions or small companies, and still walk on the explored road for blockchains. As a distributed shared billing technology, the latest and forefront technology blockchain in the financial and technological field is to a greater extent to enable the participants to establish trust relationships at a technical level. At present, the technology has a large amount of imagination space in the stock right registration, right confirmation and clear settlement in the financial field, and in the tracing field of logistics and product verification. The Boolean blockchain indicates that more current Boolean technologies are focused on commercial-level blockchain technical support services, specifically comprising three fields, namely, the first digital asset field, and other databased assets besides common points and check-in cards; the second is the trade finance field; and thirdly, the method is in the field of equity, and improves equity trading convenience.
Referring to fig. 1, fig. 1 is a flowchart of a blockchain billing method according to an embodiment of the invention.
As shown in fig. 1, the method may include the steps of:
and step 11, when a new accounting node is added into the blockchain to which the accounting node belongs, determining a hash value corresponding to the blockchain identifier of each accounting node.
In this step, when a new accounting node joins the private blockchain composed of accounting nodes, each accounting node needs to determine the hash value corresponding to the blockchain identifier of each accounting node.
Step 12, updating a locally stored ordering list according to hash values corresponding to the blockchain identifications of all accounting nodes, wherein the ordering list comprises sequences of hash values corresponding to the blockchain identifications of all accounting nodes in the blockchain.
In this step, when a new accounting node is added to the private blockchain formed by the accounting nodes, each accounting node needs to update its own internal stored ordering list based on the hash value corresponding to the blockchain identifier of each accounting node, and each accounting node can be ordered in the ordering list according to the order of the hash values from big to small.
And step 13, the tokens are transferred to the corresponding accounting nodes according to the ordered list, so that the accounting nodes currently holding the tokens generate new blocks.
In this step, token passing may be used to determine the order in which the new blocks are generated by the billing nodes. Each billing node may determine from the ordered list which billing node the token needs to be passed to after itself generates a new block, while the billing node currently holding the token qualifies for generating a new block.
As can be seen from the foregoing steps 11-13, in the blockchain billing method provided by the embodiment of the present invention, when a new billing node joins a blockchain to which the billing node belongs, a hash value corresponding to a blockchain identifier of each billing node is determined, and a locally stored ordered list is updated according to the hash value corresponding to the blockchain identifier of each billing node, where the ordered list includes a sequence of hash values corresponding to blockchain identifiers of each billing node in the blockchain, and a token is transferred to the corresponding billing node according to the ordered list, so that the billing node currently holding the token generates a new block. The blockchain method provided by the embodiment of the invention can enable the accounting nodes in the blockchain to contend for the accounting right of the new block without searching a random number meeting the hash value through the competitive power, thereby improving the accounting efficiency of the blockchain.
As shown in fig. 2, in some embodiments, the blockchain billing method may further include the steps of:
step 21, when a new accounting node joins the blockchain, determining a difference between the hash value corresponding to the blockchain identifier of the new accounting node and the hash value corresponding to the blockchain identifier of the accounting node currently holding the token.
In this step, when a new accounting node joins the private blockchain composed of accounting nodes, each accounting node may determine the absolute value of the difference between the hash value corresponding to the blockchain identity of the newly joined accounting node and the hash value corresponding to the blockchain identity of the accounting node currently holding the token.
Step 22, determining the waiting time before the new accounting node participates in the token passing according to the difference.
In this step, each accounting node may determine when a newly joined accounting node participates in token passing based on the absolute value of the difference between the hash value corresponding to the blockchain identification of the newly joined accounting node and the hash value corresponding to the blockchain identification of the accounting node currently holding the token.
As can be seen from the foregoing steps 21 to 22, in the blockchain billing method provided by the embodiment of the present invention, when a new billing node joins a blockchain, a difference between a hash value corresponding to a blockchain identifier of the new billing node and a hash value corresponding to a blockchain identifier of a billing node currently holding a token is determined, and a waiting time before the new billing node participates in token transfer is determined according to the difference. The blockchain method provided by the embodiment of the invention can enable the accounting nodes newly added into the blockchain to orderly participate in token passing so as to wait for the accounting rights of the new block.
In some embodiments, the wait time is a multiple of a standard time, which is the time that the token passes from one billing node to another billing node.
In this embodiment, when a new accounting node joins a private blockchain composed of accounting nodes, each accounting node may determine that the latency of the newly joined accounting node before participating in token passing is several times the standard time, which may be the time for passing a token from one accounting node to another accounting node, based on the absolute value of the difference between the hash value corresponding to the blockchain identity of the newly joined accounting node and the hash value corresponding to the blockchain identity of the accounting node currently holding the token.
In some embodiments, the blockchain billing method may include the steps of: when the accounting node currently holds the token, if detecting that the intelligent contract related to the new block generated by the accounting node overflows in an integer, stopping the transfer operation of fund transaction, and broadcasting a first broadcast message in the blockchain, wherein the first broadcast message carries the identification of both sides of the intelligent contract, the number of the intelligent contract and the integer overflow alarm identification.
In the private blockchain composed of accounting nodes, each accounting node can internally set an integer overflow detection module, which is mainly used for checking whether integer overflow exists in intelligent contracts related in new blocks generated in the blockchain. Because the integer variable in the smart contract has a corresponding maximum value and minimum value, once the value stored by the variable exceeds the maximum value, an integer overflow error occurs, so that the last stored value of the variable is 0, otherwise, the value stored by the variable is an integer underflow error, and the last stored value of the variable is the maximum value of the variable. Of course, the overflow condition is not limited to integer overflow or integer underflow, but overflow may occur during computation, conversion, and the like. The balance in a smart contract is typically represented by an unsigned integer, typically having 256 digits. When unsigned integers underflow or overflow, their value immediately changes.
When the token turns to generate a new block by itself, a detection module in the accounting node detects whether the intelligent contract related in the new block generated by itself has integer underflow or overflow or not each time, namely whether the transaction update state related to the intelligent contract is in the byte threshold value range or not. If the threshold range is exceeded, the accounting node immediately stops transferring funds related to the fund transaction related to the intelligent contract, and then carries out integer overflow alarm operation, specifically, the accounting node uses a private key of the accounting node to sign the identification of both sides of the intelligent contract related to the new section, the intelligent contract number and the integer overflow alarm identification, and then broadcasts a first broadcast message comprising the information into the blockchain network.
In some embodiments, the blockchain billing method may include the steps of: when the accounting node does not hold the token currently, if it is detected that integer overflow occurs in the intelligent contract related to the new block issued by other accounting nodes in the blockchain and a first broadcast message broadcast by other accounting nodes is not received, a second broadcast message is broadcast in the blockchain, and the second broadcast message carries a message that the new block issued by other accounting nodes is invalidated, an identifier of both sides of the intelligent contract, a number of the intelligent contract and an integer overflow alarm identifier.
When the token does not turn to generate a new block by itself, the detection module of each billing node detects whether the new block issued by other billing nodes in the broadcast message newly received by itself each time involves whether an integer underflow or overflow exists in the intelligent contract, if the state of transaction update of the intelligent contract involved in the new block issued by the other billing node is found to exceed the threshold range, and the other billing node does not send the broadcast message of the alarm operation, the billing node does not acknowledge the validity of the new block, signs the message of the new block being invalidated by the current time, the identification of both sides of the intelligent contract involved in the new block, the intelligent contract number and the integer overflow alarm identification by using the private key of the billing node, and then broadcasts a second broadcast message comprising the information into the block chain network.
According to the embodiment of the invention, the integer overflow detection module is arranged in each billing node, when the fact that integer overflow occurs in the intelligent contract related to the new block generated by other billing nodes and the first alarm message is not sent is detected, the second alarm message is sent to deny the legitimacy of the new block, so that asset loss caused by the integer overflow in the block generated by other billing nodes can be avoided, the user experience and the safety of blockchain transaction are improved, and the development of blockchain technology is promoted.
Based on the same inventive concept, the embodiment of the invention also provides an accounting node which is applied to blockchain accounting.
Referring to fig. 3, fig. 3 is a schematic block diagram of an accounting node according to an embodiment of the present invention.
As shown in fig. 3, the criticizing apparatus may include a first processing module 100, an updating module 200, and a transferring module 300.
The first processing module 100 is configured to determine a hash value corresponding to a blockchain identifier of each accounting node when a new accounting node joins a blockchain to which the accounting node belongs.
The updating module 200 is configured to update a locally stored ordered list according to hash values corresponding to blockchain identifiers of the accounting nodes, where the ordered list includes a sequence of hash values corresponding to blockchain identifiers of the accounting nodes in the blockchain.
The transfer module 300 is configured to transfer the token to the corresponding accounting node according to the ordered list, so that the accounting node currently holding the token generates a new block.
In some embodiments, the first processing module 100 is further configured to: when a new accounting node joins the blockchain, determining a difference value between a hash value corresponding to the blockchain identifier of the new accounting node and a hash value corresponding to the blockchain identifier of the accounting node currently holding the token, and determining the waiting time before the new accounting node participates in token transfer according to the difference value.
In some embodiments, the latency may be a multiple of a standard time, which may be the time for a token to pass from one billing node to another billing node.
In some embodiments, as shown in fig. 4, the billing node may also include a second processing module 400.
The second processing module 400 is configured to, when the accounting node currently holds the token, stop the transfer operation of the fund transaction and broadcast a first broadcast message in the blockchain if it is detected that an integer overflow occurs in the intelligent contract related to the new block generated by the accounting node, where the first broadcast message carries an identifier of both sides of the intelligent contract, a number of the intelligent contract, and an integer overflow alarm identifier.
In some embodiments, when the present accounting node does not currently hold the token, if it is detected that an integer overflow occurs in the intelligent contract related to the new block issued by the other accounting node in the blockchain, and the first broadcast message broadcast by the other accounting node is not received, the second processing module 400 is further configured to broadcast a second broadcast message in the blockchain, where the second broadcast message carries a message that the new block issued by the other accounting node is invalidated, an identifier of both sides of the intelligent contract, a number of the intelligent contract, and an integer overflow alarm identifier.
It is to be understood that the above embodiments are merely illustrative of the application of the principles of the present invention, but not in limitation thereof. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the invention, and are also considered to be within the scope of the invention.

Claims (8)

1. A blockchain billing method, the method comprising:
when a new accounting node is added into the blockchain to which the accounting node belongs, determining a hash value corresponding to the blockchain identifier of each accounting node;
updating a locally stored ordering list according to hash values corresponding to the blockchain identifications of the accounting nodes, wherein the ordering list comprises a sequence of hash values corresponding to the blockchain identifications of the accounting nodes in the blockchain;
transmitting the token to the corresponding accounting node according to the ordered list so as to enable the accounting node currently holding the token to generate a new block;
wherein the method further comprises:
when a new accounting node joins the blockchain, determining a difference value between a hash value corresponding to the blockchain identifier of the new accounting node and a hash value corresponding to the blockchain identifier of the accounting node currently holding the token;
and determining the waiting time before the new accounting node participates in token passing according to the difference value.
2. The method of claim 1, wherein the wait time is a multiple of a standard time, the standard time being the time the token passes from one billing node to another billing node.
3. The method according to any one of claims 1-2, wherein the method further comprises:
when the accounting node currently holds a token, if detecting that an integer overflow occurs in an intelligent contract related to a new block generated by the accounting node, stopping executing the transfer operation of fund transaction, and broadcasting a first broadcast message in the blockchain, wherein the first broadcast message carries the identification of both sides of the intelligent contract, the number of the intelligent contract and the integer overflow alarm identification.
4. A method according to claim 3, characterized in that the method further comprises:
when the accounting node does not currently hold a token, if it is detected that integer overflow occurs in an intelligent contract related to a new block issued by other accounting nodes in a blockchain and a first broadcast message broadcast by the other accounting nodes is not received, a second broadcast message is broadcast in the blockchain, wherein the second broadcast message carries a message that the new block issued by the other accounting nodes is invalidated, an identifier of both sides of the intelligent contract, a number of the intelligent contract and an integer overflow alarm identifier.
5. A billing node, the billing node comprising a first processing module, an updating module, and a delivery module;
the first processing module is used for determining hash values corresponding to blockchain identifiers of all accounting nodes when new accounting nodes join the blockchain to which the accounting nodes belong;
the updating module is used for updating a locally stored ordering list according to hash values corresponding to the blockchain identifications of the accounting nodes, wherein the ordering list comprises a sequence of hash values corresponding to the blockchain identifications of the accounting nodes in the blockchain;
the transfer module is used for transferring the token to the corresponding accounting node according to the ordered list so as to enable the accounting node currently holding the token to generate a new block;
the first processing module is further configured to determine, when a new accounting node joins the blockchain, a difference between a hash value corresponding to a blockchain identifier of the new accounting node and a hash value corresponding to a blockchain identifier of an accounting node currently holding a token, and determine, according to the difference, a waiting time before the new accounting node participates in token transfer.
6. The billing node of claim 5, wherein said waiting time is a multiple of a standard time, said standard time being the time for said token to pass from one billing node to another billing node.
7. The billing node of any of claims 5-6, further comprising a second processing module;
the second processing module is configured to, when the accounting node currently holds the token, stop performing the transfer operation of the fund transaction and broadcast a first broadcast message in the blockchain if it is detected that an integer overflow occurs in the intelligent contract related to the new block generated by the accounting node, where the first broadcast message carries an identifier of both sides of the intelligent contract, a number of the intelligent contract, and an integer overflow alarm identifier.
8. The billing node of claim 7 wherein the second processing module is further configured to, when the billing node does not currently hold a token, broadcast a second broadcast message in the blockchain if it detects that an integer overflow occurs in a smart contract related to a new block issued by another billing node in the blockchain and a first broadcast message broadcast by the other billing node is not received, the second broadcast message carrying a message that the new block issued by the other billing node is obsolete, an identification of both sides of the smart contract, a number of the smart contract, and an integer overflow alarm identification.
CN202010412219.8A 2020-05-15 2020-05-15 Block chain accounting method and device Active CN111597264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010412219.8A CN111597264B (en) 2020-05-15 2020-05-15 Block chain accounting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010412219.8A CN111597264B (en) 2020-05-15 2020-05-15 Block chain accounting method and device

Publications (2)

Publication Number Publication Date
CN111597264A CN111597264A (en) 2020-08-28
CN111597264B true CN111597264B (en) 2023-06-23

Family

ID=72190911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010412219.8A Active CN111597264B (en) 2020-05-15 2020-05-15 Block chain accounting method and device

Country Status (1)

Country Link
CN (1) CN111597264B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162770B (en) * 2020-10-20 2023-11-10 深圳技术大学 Firmware version upgrading method and device for realizing integrity verification based on block chain
CN112927078A (en) * 2021-03-03 2021-06-08 关莉莉 Block chain financial big data analysis processing system and method and transaction platform system
CN114666043A (en) * 2022-03-04 2022-06-24 广东钜联信息科技有限公司 Method for generating bookkeeper by block chain difference probability consensus algorithm

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566124A (en) * 2017-08-24 2018-01-09 深圳市易成自动驾驶技术有限公司 Common recognition method for building up, block catenary system and storage medium based on lottery mechanism
CN108259235A (en) * 2018-01-04 2018-07-06 杭州复杂美科技有限公司 A kind of block chain accounting nodes selection method
CN108596621A (en) * 2018-04-28 2018-09-28 深圳市优学链科技有限公司 Block chain accounting nodes generation method, device, computer equipment and storage medium
CN109039648A (en) * 2018-08-03 2018-12-18 克洛斯比尔有限公司 A kind of creation method, equipment and the readable storage medium storing program for executing of block chain
CN109102287A (en) * 2018-08-13 2018-12-28 中国联合网络通信集团有限公司 Block chain bookkeeping methods, device, equipment and storage medium
CN109146484A (en) * 2018-08-31 2019-01-04 深圳付贝科技有限公司 Common recognition verification method, digging mine machine and block catenary system based on block chain
CN109525648A (en) * 2018-10-26 2019-03-26 全链通有限公司 Block chain common recognition mechanism, equipment and computer readable storage medium
CN110471953A (en) * 2018-12-07 2019-11-19 深圳市智税链科技有限公司 Method, agent node and the medium of accounting nodes are determined in block chain network
WO2020042586A1 (en) * 2018-08-27 2020-03-05 深圳前海益链网络科技有限公司 Method and apparatus for generating address of smart contract, computer device, and readable storage medium
CN110868386A (en) * 2019-05-17 2020-03-06 北京安妮全版权科技发展有限公司 Block chain consensus method
CN111147229A (en) * 2019-12-30 2020-05-12 山东爱城市网信息技术有限公司 Consensus method and device with block hash to be generated as seed and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566124A (en) * 2017-08-24 2018-01-09 深圳市易成自动驾驶技术有限公司 Common recognition method for building up, block catenary system and storage medium based on lottery mechanism
CN108259235A (en) * 2018-01-04 2018-07-06 杭州复杂美科技有限公司 A kind of block chain accounting nodes selection method
CN108596621A (en) * 2018-04-28 2018-09-28 深圳市优学链科技有限公司 Block chain accounting nodes generation method, device, computer equipment and storage medium
CN109039648A (en) * 2018-08-03 2018-12-18 克洛斯比尔有限公司 A kind of creation method, equipment and the readable storage medium storing program for executing of block chain
CN109102287A (en) * 2018-08-13 2018-12-28 中国联合网络通信集团有限公司 Block chain bookkeeping methods, device, equipment and storage medium
WO2020042586A1 (en) * 2018-08-27 2020-03-05 深圳前海益链网络科技有限公司 Method and apparatus for generating address of smart contract, computer device, and readable storage medium
CN109146484A (en) * 2018-08-31 2019-01-04 深圳付贝科技有限公司 Common recognition verification method, digging mine machine and block catenary system based on block chain
CN109525648A (en) * 2018-10-26 2019-03-26 全链通有限公司 Block chain common recognition mechanism, equipment and computer readable storage medium
CN110471953A (en) * 2018-12-07 2019-11-19 深圳市智税链科技有限公司 Method, agent node and the medium of accounting nodes are determined in block chain network
CN110868386A (en) * 2019-05-17 2020-03-06 北京安妮全版权科技发展有限公司 Block chain consensus method
CN111147229A (en) * 2019-12-30 2020-05-12 山东爱城市网信息技术有限公司 Consensus method and device with block hash to be generated as seed and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Decentration Transaction Method Based on Blockchain Technology";Qi Liu等;《2018 International Conference on Intelligent Transportation, Big Data & Smart City (ICITBS)》;20180409;全文 *
"区块链共识机制之POW算法";程瑤等;《数字通信世界》;20190301;全文 *

Also Published As

Publication number Publication date
CN111597264A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN111597264B (en) Block chain accounting method and device
US11030681B2 (en) Intermediate blockchain system for managing transactions
CN110383791B (en) Map application crowdsourcing based on blockchain
CN108667632B (en) Credit record sharing method and device based on block chain and electronic equipment
US20180365688A1 (en) Transaction execution and validation in a blockchain
US11196566B2 (en) Devices, systems, and methods for facilitating low trust and zero trust value transfers
CN110189128B (en) Distributed consensus method and device for block rapid generation
US7047243B2 (en) Coordinating transactional web services
CN108805627B (en) Media resource allocation method, device, system, medium and equipment
CN110896659B (en) Data processing method, node, blockchain network and virtual data carrier
US11367055B2 (en) Decentralized pooled mining for enabling proof-of-work on blockchains
CN109859043B (en) Transaction clearing method and transaction clearing system
Yadav et al. Blockchain-based digitization of land record through trust value-based consensus algorithm
KR102295231B1 (en) Method for distributing collectables ownership based on blockchain networks by using multi-signature and online transaction server using the same
US20210326879A1 (en) Blockchain protocol and a blockchain network
CN111784128A (en) Asset information processing method and system based on block chain
CN110851531B (en) Cooperative edge computing method, block chain and cooperative edge computing system
CN110944008A (en) Block chain-based task reward processing method, device, equipment and storage medium
EP3970343A1 (en) Parallel multi-blocks creation scheme for blockchain
CN112613877A (en) Intelligent contract triggering method and device applied to block chain network and related equipment
CN110910143A (en) Identity identification generation method, device, related node and medium
CN114610504A (en) Message processing method and device, electronic equipment and storage medium
CN108734578B (en) Data processing method and system based on transaction robot
CN111222885A (en) Data processing request endorsement method and device, computer equipment and storage medium
CN113032036B (en) Service data processing method, device, system, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant