CN110135178A - Zero-lag account book access technique in the verifying of block chain - Google Patents
Zero-lag account book access technique in the verifying of block chain Download PDFInfo
- Publication number
- CN110135178A CN110135178A CN201910361751.9A CN201910361751A CN110135178A CN 110135178 A CN110135178 A CN 110135178A CN 201910361751 A CN201910361751 A CN 201910361751A CN 110135178 A CN110135178 A CN 110135178A
- Authority
- CN
- China
- Prior art keywords
- data
- block chain
- transaction
- verifying
- lag
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000001737 promoting effect Effects 0.000 abstract description 2
- 238000012795 verification Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
The invention discloses the zero-lag account book access techniques in a kind of block chain verifying provided by the invention, the verifying of block chain is divided into data (Fetch), it decodes (Decode), Hash operation (Hash), Status Change (State), write five steps of data (Write), during operation, each flow line stage single treatment one instruction, each of these stages all include one group of initial order, these instructions operate the output of the transaction of entrance, multicore processing (CPU and GPU) and five step assembly lines are combined, to achieve the purpose that verify largely being promoted for transactions velocity, cost is relatively low, convenient for promoting the use of.
Description
Technical field
The present invention relates to Internet technical field, in particular to the zero-lag account book in a kind of block chain verifying accesses skill
Art.
Background technique
Due to the limitation of numerous technical bottlenecks, the large-scale business landing application of block chain distance at present may also need to solve
Certainly following technical bottleneck problem:
Security of system and decentralization: classical block chain needs under each client in order to ensure transaction security
The transaction data of backup the whole network is carried, referred to as " Quan Jiedian ".But run in most cases full node be it is extremely expensive and slow, it is right
Most users in business application are all handling small micro- transaction, do not have the ability to purchase mainframe computer with demand and undertake
Corresponding operating cost.Therefore, medium and small user can not participate in system operations, system award can not be obtained, so as to form minority
The calculation power of user monopolizes.
Summary of the invention
For the substantive defect and deficiency proposed in above-mentioned background content, in order to further increase system in parallel processing effect
Rate, improves arithmetic speed, and the present invention provides the zero-lag account book access technique in a kind of verifying of block chain, can solve background skill
Pointed problem in art.
The verifying of block chain is divided by the zero-lag account book access technique in a kind of verifying of block chain by multicore processing technique
Data acquisition (Fetch), Hash operation (Hash), Status Change (State), writes data (Write) five at decoding (Decode)
Step, each flow line stage single treatment one instruction, five steps are separately synchronous to be executed, wherein
Data acquisition (Fetch) stage, accounting nodes are responsible for obtaining what trusted node server was sent from server
The data of transaction, and the data encryption to transaction, to guarantee the safety of the data in transmission process;
In (Decode) stage of decoding, accounting nodes are responsible for the encrypted data of acquisition to be decoded, after carrying out
Continuous calculating;
In Hash operation (Hash) stage, system carries out Hash operation to decoded transaction data, with the number of deals that conducts a survey
According to being effective, reliable, necessary being;
Status Change (State) stage carries out the increasing of transaction address data to the data change data mode after transaction
Add, reduces, to reach the complete accurate requirement of system;
Data (Write) stage is write, the writing disk manipulation of final state changed data is completed, completes last storage.
Zero-lag account book access technique in a kind of block chain verifying provided by the invention, separates five by the way that transaction is constituted
The mode that a step executes, five steps can separate it is synchronous execute, in the way of this parallel processing, number of deals can be allowed
It is completed according to faster, because generally writing data (Write) time, the time longest of consumption.By multicore handle (CPU and
GPU) combine with five step assembly lines, allow a part of transaction for GPU processing, a part is handled for CPU, maximum in this way
Computing resource is utilized in limit, reduces the waiting time of intermediate steps, to achieve the purpose that improve speed.
Final state determines that the time (FinalityTime) is the time required for the data end-state confirmed on block chain.It mentions
The speed of high block chain seeks to reduction final state and determines the time.Reputation proves that (PoR, Proof of Reputation) algorithm is logical
It crosses prestige (Reputation) and defines sincere node, the number of nodes of confirmation final state is reduced, to reduce the determining time.
But to reach the speed of submicrosecond grade, it is also necessary to quickly a large amount of transaction block (local) of verifying, and meanwhile it is quickly each in network
Quickly (network) is broadcasted between a node.For transaction verification, signature verification is to need most time consuming part (bottle
Neck), in addition there are many parts of management of many such as network-drivens, data dependency to require elapsed time (bottleneck),
Detailed description of the invention
Fig. 1 is the overall step process knot of the zero-lag account book access technique in a kind of block chain verifying provided by the invention
Structure schematic diagram.
Fig. 2 is the overall structure signal of the zero-lag account book access technique in a kind of block chain verifying provided by the invention
Figure.
Specific embodiment
With reference to the accompanying drawing, the specific embodiment of the present invention is described in detail, it is to be understood that of the invention
Protection scope be not limited by the specific implementation.
As shown in Figs. 1-2, the zero-lag account book access technique in a kind of block chain verifying provided by the invention, for background
The verifying of block chain is divided into data (Fetch), decoding (Decode), Hash by cleverly designing by the technical bottleneck in technology
Five steps of data (Write), during operation, each flow line stage one are write in operation (Hash), Status Change (State)
One instruction of secondary processing, each of these stages all include one group of initial order, these instruct the defeated of the transaction to entrance
It is operated out, multicore processing (CPU and GPU) and five step assembly lines is combined, to reach a large amount of of verifying transactions velocity
The purpose of promotion, cost is relatively low, convenient for promoting the use of.
Fig. 1 is the overall step process knot of the zero-lag account book access technique in a kind of block chain verifying provided by the invention
Structure schematic diagram, the figure illustrates the verifying of block chain is divided into data (Fetch), decoding (Decode), Hash operation (Hash), shape
Five steps of data (Write) are write in state change (State), and the first row is a block chain verification process, this process is divided into
Five steps, from left to right carry out.Second row is another block chain verification process, this process is divided into five steps,
From left to right carry out.By the way that the verifying of block chain is subdivided into smaller step, computer resource can be handled and be reached simultaneously
Improve the purpose of speed.
Fig. 2 is the overall structure signal of the zero-lag account book access technique in a kind of block chain verifying provided by the invention
Figure, the abscissa of this figure show the time, and ordinate shows different calculation processing units in computer, has CPU processing unit, have
GPU processing unit.By the way that the verifying of block chain is divided into data (Fetch), decoding (Decode), Hash operation (Hash), state
Five steps of data (Write) are write in change (State), this five steps are no longer simple can only to have a CPU by past
It manages, but different CPU can be deployed to, different GPU handle, and present computer system is typically all more
Core, it is handled so as to calculating step give each computing unit in CPU or GPU.
In the Hash operation stage, complicated problem is cut into smaller piece i.e. partial task 1- partial task N, then
Calculation processing unit 1-N different in computer is given to handle, can achieve the purpose and effect for improving processing speed in this way.
For example there are 1280 processing units in the 1060 type GPU of Nvidia.Transaction step simultaneously by so multiprocessing list
Member processing, to accelerate calculation process speed.It needs one to calculate to need 100 times, traditional calculation method is a meter
After calculation machine calculates one in order, then calculate next.Our improvement is comparable to that this is needed to calculate 100 tasks
100 people (100 computing units) are distributed to go to be handled simultaneously to reach raising speed.
Disclosed above is only several specific embodiments of the invention, and still, the embodiment of the present invention is not limited to this, is appointed
What what those skilled in the art can think variation should all fall into protection scope of the present invention.
Claims (2)
1. the zero-lag account book access technique in a kind of verifying of block chain, which is characterized in that by multicore processing technique by block
Chain verifying is divided into data acquisition, decoding, Hash operation, Status Change, writes five steps of data, and each flow line stage is once located
An instruction is managed, five steps are separately synchronous to be executed, wherein
Data acquisition phase, accounting nodes are responsible for obtaining the data for the transaction that trusted node server is sent from server,
And the data encryption to transaction, to guarantee the safety of the data in transmission process;
Decoding stage, accounting nodes are responsible for the encrypted data of acquisition to be decoded, to carry out subsequent calculating;
Hash operation stage, system carry out Hash operation to decoded transaction data, with the transaction data that conducts a survey be it is effective,
Reliably, necessary being;
The Status Change stage carries out the increase of transaction address data to the data change data mode after transaction, reduces, to reach
To the complete accurate requirement of system;
Data phase is write, the writing disk manipulation of final state changed data is completed, completes last storage.
2. the zero-lag account book access technique in a kind of block chain verifying according to claim 1, which is characterized in that more
Body is said, in the Hash operation stage, complicated problem is cut into smaller piece i.e. partial task 1- partial task N, then
Calculation processing unit 1-N different in computer is given to handle, can achieve the purpose and effect for improving processing speed in this way.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2019102911223 | 2019-04-11 | ||
CN201910291122 | 2019-04-11 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110135178A true CN110135178A (en) | 2019-08-16 |
Family
ID=67575822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910361751.9A Pending CN110135178A (en) | 2019-04-11 | 2019-04-30 | Zero-lag account book access technique in the verifying of block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110135178A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022142781A1 (en) * | 2020-12-28 | 2022-07-07 | 腾讯科技(深圳)有限公司 | Asynchronous bookkeeping method and apparatus for blockchain, medium, and electronic device |
US11575499B2 (en) | 2020-12-02 | 2023-02-07 | International Business Machines Corporation | Self auditing blockchain |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532710A (en) * | 2013-09-26 | 2014-01-22 | 中国科学院数据与通信保护研究教育中心 | Implementation method and device for GPU (Graphics Processing Unit)-based SM2 (Streaming Multiprocessor 2) algorithm |
CN106358003A (en) * | 2016-08-31 | 2017-01-25 | 华中科技大学 | Video analysis and accelerating method based on thread level flow line |
CN106991011A (en) * | 2017-03-30 | 2017-07-28 | 武汉大学 | It is a kind of for big data task handle it is parallel and cooperate with the method optimized based on CPU multithreadings and many granularities of GPU |
WO2018032374A1 (en) * | 2016-08-13 | 2018-02-22 | 深圳市樊溪电子有限公司 | Encrypted storage system for block chain and method using same |
CN107911216A (en) * | 2017-10-26 | 2018-04-13 | 矩阵元技术(深圳)有限公司 | A kind of block chain transaction method for secret protection and system |
CN108053211A (en) * | 2017-12-27 | 2018-05-18 | 北京欧链科技有限公司 | Transaction processing method and device based on block chain |
CN108776929A (en) * | 2018-04-02 | 2018-11-09 | 成都云创智融科技有限公司 | Bill processing method, system based on block chain database and readable storage medium storing program for executing |
CN109102287A (en) * | 2018-08-13 | 2018-12-28 | 中国联合网络通信集团有限公司 | Block chain bookkeeping methods, device, equipment and storage medium |
US20190026146A1 (en) * | 2017-07-21 | 2019-01-24 | Intel Corporation | Apparatuses, methods, and systems for blockchain transaction acceleration |
CN109447648A (en) * | 2018-12-07 | 2019-03-08 | 深圳市智税链科技有限公司 | The method of recorded data zone block, accounting nodes and medium in block chain network |
CN109523385A (en) * | 2018-12-07 | 2019-03-26 | 深圳市智税链科技有限公司 | Method, accounting nodes and the medium of Transaction Information are inquired in block chain network |
-
2019
- 2019-04-30 CN CN201910361751.9A patent/CN110135178A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532710A (en) * | 2013-09-26 | 2014-01-22 | 中国科学院数据与通信保护研究教育中心 | Implementation method and device for GPU (Graphics Processing Unit)-based SM2 (Streaming Multiprocessor 2) algorithm |
WO2018032374A1 (en) * | 2016-08-13 | 2018-02-22 | 深圳市樊溪电子有限公司 | Encrypted storage system for block chain and method using same |
CN106358003A (en) * | 2016-08-31 | 2017-01-25 | 华中科技大学 | Video analysis and accelerating method based on thread level flow line |
CN106991011A (en) * | 2017-03-30 | 2017-07-28 | 武汉大学 | It is a kind of for big data task handle it is parallel and cooperate with the method optimized based on CPU multithreadings and many granularities of GPU |
US20190026146A1 (en) * | 2017-07-21 | 2019-01-24 | Intel Corporation | Apparatuses, methods, and systems for blockchain transaction acceleration |
CN107911216A (en) * | 2017-10-26 | 2018-04-13 | 矩阵元技术(深圳)有限公司 | A kind of block chain transaction method for secret protection and system |
CN108053211A (en) * | 2017-12-27 | 2018-05-18 | 北京欧链科技有限公司 | Transaction processing method and device based on block chain |
CN108776929A (en) * | 2018-04-02 | 2018-11-09 | 成都云创智融科技有限公司 | Bill processing method, system based on block chain database and readable storage medium storing program for executing |
CN109102287A (en) * | 2018-08-13 | 2018-12-28 | 中国联合网络通信集团有限公司 | Block chain bookkeeping methods, device, equipment and storage medium |
CN109447648A (en) * | 2018-12-07 | 2019-03-08 | 深圳市智税链科技有限公司 | The method of recorded data zone block, accounting nodes and medium in block chain network |
CN109523385A (en) * | 2018-12-07 | 2019-03-26 | 深圳市智税链科技有限公司 | Method, accounting nodes and the medium of Transaction Information are inquired in block chain network |
Non-Patent Citations (1)
Title |
---|
朱立 等: "高性能联盟区块链技术研究", 《软件学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11575499B2 (en) | 2020-12-02 | 2023-02-07 | International Business Machines Corporation | Self auditing blockchain |
WO2022142781A1 (en) * | 2020-12-28 | 2022-07-07 | 腾讯科技(深圳)有限公司 | Asynchronous bookkeeping method and apparatus for blockchain, medium, and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109284185A (en) | The device, method and system accelerated for the transaction of block chain | |
US9152601B2 (en) | Power-efficient nested map-reduce execution on a cloud of heterogeneous accelerated processing units | |
CN100538628C (en) | Be used for system and method in SIMD structure processing threads group | |
US20090077360A1 (en) | Software constructed stands for execution on a multi-core architecture | |
Geng et al. | Elasticpipe: An efficient and dynamic model-parallel solution to dnn training | |
CN106547627A (en) | The method and system that a kind of Spark MLlib data processings accelerate | |
CN110135178A (en) | Zero-lag account book access technique in the verifying of block chain | |
CN110109859B (en) | Accelerator architecture on programmable platform | |
ATE554446T1 (en) | METHOD FOR MODELING A FREE POOL OF RESOURCES | |
CN109445953A (en) | A kind of machine learning model training method towards large-scale machines learning system | |
CN109643293A (en) | It detects bus locking condition and bus is avoided to lock | |
CN104615945A (en) | Code cracking method and system based on multiple GPU cracking devices | |
CN106712928A (en) | Big data rainbow table based decryption method and device | |
US20140173606A1 (en) | Streaming processing of short read alignment algorithms | |
Lin et al. | On-GPU thread-data remapping for branch divergence reduction | |
CN109643283A (en) | Manage enclave storage page | |
US20200210402A1 (en) | Systems and methods for performing programmable smart contract execution | |
CN110443690A (en) | A kind of method, apparatus, server and the storage medium of variance data reconciliation | |
JP5689478B2 (en) | Simultaneous request processing and request analysis | |
CN115936886A (en) | Failure detection method, device, equipment and medium for heterogeneous security trading system | |
CN109690546A (en) | It supports to subscribe to the excess of client computer enclave storage page | |
CN109472680A (en) | A kind of accounting processing method and system | |
CN113407351A (en) | Method, apparatus, chip, device, medium and program product for performing operations | |
TWI668657B (en) | Business processing method and device | |
Nisar et al. | Resource-Dependent Critical Path Method for Identifying the Critical Path and the “Real Floats” in Resource-Constrained Project Scheduling |
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: 20190816 |