CN111222173A - Distributed transaction recording method based on block chain technology - Google Patents
Distributed transaction recording method based on block chain technology Download PDFInfo
- Publication number
- CN111222173A CN111222173A CN201911377163.0A CN201911377163A CN111222173A CN 111222173 A CN111222173 A CN 111222173A CN 201911377163 A CN201911377163 A CN 201911377163A CN 111222173 A CN111222173 A CN 111222173A
- Authority
- CN
- China
- Prior art keywords
- data
- block chain
- layer
- transaction
- method comprises
- 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
Images
Classifications
-
- 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/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a distributed transaction recording method based on a block chain technology, which consists of a display layer, a service layer and a data layer; the display layer is responsible for displaying and interacting the transaction records; the business layer is responsible for processing complex business logic and reading and writing the transaction data on the block chain; the distributed transaction recording method comprises the following steps: collecting data through a collection module, and transmitting the collected data to a block chain platform; the block chain platform processes and records the received data; the invention has the beneficial effects that: the cloud computing is combined with the block chain, so that the development threshold of the block chain can be effectively reduced, the block chain is promoted to be developed to more fields, and the analysis and the processing of mass data in the block chain are facilitated; the data account book stores all block data and transaction data; all transaction record data are stored on a blockchain in a scattered mode, and transaction streams controlled by the intelligent contract can be recorded on the blockchain in a tamper-proof mode, so that the transaction records are accurate and transparent.
Description
Technical Field
The invention belongs to the technical field of transaction records, and particularly relates to a distributed transaction recording method based on a block chain technology.
Background
The traditional transaction records depend on a third-party mechanism, the transaction process is multiple, the efficiency is low, the time is long, the data of the transaction records are stored in a database of a central mechanism, the central mechanism manages all user account information and transaction history records, the data safety factor is low, and once the database is attacked, the data is difficult to recover; the user only grasps own record and cannot know the transaction records of other users, so that the establishment of a mutual trust market is influenced. There are hidden dangers of transaction safety and privacy protection.
The blockchain, in a narrow sense, is a chain data structure that combines data blocks in a sequential connection manner according to a time sequence, and is a distributed account book that is cryptographically guaranteed to be not falsifiable and not faked. Broadly speaking, the blockchain technique is a completely new distributed infrastructure and computing paradigm that utilizes blockchain data structures to verify and store data, utilizes distributed node consensus algorithms to generate and update data, cryptographically secure data transmission and access, and utilizes intelligent contracts composed of automated script code to program and manipulate data.
In the distributed transaction recording system based on the block chain technology, each node becomes an independent producer and consumer, each main body equally disperses decisions, all transactions are disclosed, transaction nodes can be anonymous, the security of node accounts is guaranteed, a central server is not needed in decentralized management, expensive operation and maintenance expenses are avoided, and the cost is reduced. Safe data sharing, more data, optimized models and better results; and data tracing and tracking are performed, and mutual trust between market main bodies is increased.
In traditional business networks, all participants maintain their own accounts, and duplication and differentiation between these accounts can lead to disputes, longer settlement times, and associated indirect management costs due to the need for intermediaries
To make the transaction more transparent, fraud is avoided; the time and the cost are saved, the risk is reduced, and therefore a distributed transaction recording method based on the block chain technology is provided.
Disclosure of Invention
The present invention is directed to a distributed transaction recording method based on a blockchain technique, so as to solve the problems mentioned in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a distributed transaction recording method based on block chain technology comprises a display layer, a service layer and a data layer; wherein the content of the first and second substances,
the display layer is responsible for displaying and interacting the transaction records;
the business layer is responsible for processing complex business logic and reading and writing the transaction data on the block chain;
the data layer comprises an IPFS node and a Fabric node which are respectively used for managing data outside a chain and data on the chain, wherein the Fabric node comprises a Fabric CA (certificate Authority) which is responsible for identity authentication and authority management, a chaincode and a data book; the chaincode runs on a block chain and is used for processing data, updating an account book and compiling an intelligent contract; the data account book stores all block data and transaction data;
the distributed transaction recording method comprises the following steps:
the method comprises the following steps: collecting data through a collection module, and transmitting the collected data to a block chain platform;
step two: and the block chain platform processes and records the received data.
As a preferred technical solution of the present invention, the data layer includes a data acquisition layer, a data transmission layer, and a data processing layer; the data acquisition layer is used for acquiring data on the network and transmitting the acquired data to the block chain platform; in the data transmission layer, an intelligent terminal user can download data on a block chain; in the data processing layer, collected data are processed in a cloud server, and records of transactions are processed in a block chain platform.
As a preferred technical solution of the present invention, the mobile terminal further includes a communication module, and the communication module is used for transmitting data.
As a preferable technical scheme of the invention, the communication module is one or more of WiFi, GPRS and RS 485.
As a preferred technical solution of the present invention, the data transmission system further includes a virus killing module, which is used for killing virus of the transmitted data.
As a preferable technical scheme of the invention, a levelDB database is adopted as a cloud computing database.
As a preferred technical solution of the present invention, the system further includes a classification module, which is used for sorting and classifying the uploaded data.
Compared with the prior art, the invention has the beneficial effects that:
(1) the cloud computing is combined with the block chain, so that the development threshold of the block chain can be effectively reduced, the block chain is promoted to be developed to more fields, and the analysis and the processing of mass data in the block chain are facilitated;
(2) the data account book stores all block data and transaction data; all transaction record data are dispersedly stored on a block chain, and transaction streams controlled by an intelligent contract can be recorded on the block chain in a tamper-proof manner, so that the accuracy and transparency of the transaction records are ensured;
(3) the modularized design increases the safety and convenience of operation.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Referring to fig. 1, the present invention provides a technical solution: a distributed transaction recording method based on block chain technology comprises a display layer, a service layer and a data layer; wherein the content of the first and second substances,
the display layer is responsible for displaying and interacting the transaction records;
the business layer is responsible for processing complex business logic and reading and writing the transaction data on the block chain;
the data layer comprises an IPFS node and a Fabric node which are respectively used for managing data outside a chain and data on the chain, wherein the Fabric node comprises a Fabric CA (certificate Authority) which is responsible for identity authentication and authority management, a chaincode and a data book; the chaincode runs on a block chain and is used for processing data, updating an account book and compiling an intelligent contract; the data account book stores all block data and transaction data; all transaction record data are stored on a blockchain in a scattered mode, and transaction streams controlled by intelligent contracts can be recorded on the blockchain in a tamper-proof mode;
the distributed transaction recording method comprises the following steps:
the method comprises the following steps: collecting data through a collection module, and transmitting the collected data to a block chain platform;
step two: and the block chain platform processes and records the received data.
In this embodiment, preferably, the data layer includes a data acquisition layer, a data transmission layer, and a data processing layer; the data acquisition layer is used for acquiring data on the network and transmitting the acquired data to the block chain platform; in the data transmission layer, an intelligent terminal user can download data on a block chain; in the data processing layer, collected data are processed in a cloud server, and records of transactions are processed in a block chain platform; the cloud computing is combined with the block chain, so that the development threshold of the block chain can be effectively reduced, the block chain is promoted to be developed to more fields, and the analysis and processing of mass data in the block chain are facilitated.
In this embodiment, it is preferable that the communication device further includes a communication module, and the communication module is used for transmitting data.
In this embodiment, preferably, the communication module is WiFi.
In this embodiment, it is preferable that the data transmission system further includes an antivirus module, and the module is configured to perform antivirus on the transmitted data, reduce the influence of virus data, and maintain network security.
In this embodiment, preferably, the cloud computing database is a levelDB database, and a high-performance embedded database written in C + + is used, so that there is no independent database process, and the method occupies less resources and is fast in speed, and has the following characteristics: the key and value may be any arbitrary array of bytes; the data is stored after the key values are sorted; the sorting method can be customized; the basic operation is key-based; atomic operations that support batch modification; support creating snapshots; and supporting the forward and backward iterative operation of the data.
In this embodiment, preferably, the system further includes a classification module, and the classification module is configured to sort and classify the uploaded data, so as to further improve a processing effect of the data.
The blockchain technology is used in distributed transaction records and has the following characteristics:
a shared license ledger, only an additional recording system and a single fact source, is visible to all participating members of the business network.
Consensus agreements, agreements agreed upon by all participating members of a business network, can ensure that ledgers are updated using only transactions validated by the network.
Encryption can ensure the tamper-proof safety, authentication and integrity of the transaction.
The intelligent contract encapsulates the participant agreement terms of the transaction that occurs over the network; they are stored on the authentication node in the blockchain and triggered by the transaction.
Example 2
Example 2 is substantially identical to example 1 with the following differences:
the communication module is a GPRS.
Example 3
Example 3 is substantially identical to example 1 with the following differences:
the communication module is RS 485.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (7)
1. A distributed transaction recording method based on block chain technology is characterized in that: the system consists of a display layer, a service layer and a data layer; wherein the content of the first and second substances,
the display layer is responsible for displaying and interacting the transaction records;
the business layer is responsible for processing complex business logic and reading and writing the transaction data on the block chain;
the data layer comprises an IPFS node and a Fabric node which are respectively used for managing data outside a chain and data on the chain, wherein the Fabric node comprises a Fabric CA (certificate Authority) which is responsible for identity authentication and authority management, a chaincode and a data book; the chaincode runs on a block chain and is used for processing data, updating an account book and compiling an intelligent contract; the data account book stores all block data and transaction data;
the distributed transaction recording method comprises the following steps:
the method comprises the following steps: collecting data through a collection module, and transmitting the collected data to a block chain platform;
step two: and the block chain platform processes and records the received data.
2. The method of claim 1, wherein the method comprises: the data layer comprises a data acquisition layer, a data transmission layer and a data processing layer; the data acquisition layer is used for acquiring data on the network and transmitting the acquired data to the block chain platform; in the data transmission layer, an intelligent terminal user can download data on a block chain; in the data processing layer, collected data are processed in a cloud server, and records of transactions are processed in a block chain platform.
3. The method of claim 1, wherein the method comprises: the communication module is used for transmitting data.
4. The method of claim 3, wherein the method comprises: the communication module is one or more of WiFi, GPRS and RS 485.
5. The method of claim 1, wherein the method comprises: the system also comprises a virus killing module which is used for killing virus of the transmitted data.
6. The method of claim 1, wherein the method comprises: and the cloud computing database adopts a levelDB database.
7. The method of claim 1, wherein the method comprises: the system also comprises a classification module which is used for sorting and classifying the uploaded data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911377163.0A CN111222173A (en) | 2019-12-27 | 2019-12-27 | Distributed transaction recording method based on block chain technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911377163.0A CN111222173A (en) | 2019-12-27 | 2019-12-27 | Distributed transaction recording method based on block chain technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111222173A true CN111222173A (en) | 2020-06-02 |
Family
ID=70827887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911377163.0A Pending CN111222173A (en) | 2019-12-27 | 2019-12-27 | Distributed transaction recording method based on block chain technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111222173A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788107A (en) * | 2020-12-29 | 2021-05-11 | 长威信息科技发展股份有限公司 | Method and system for secure multi-party computing and data sharing |
CN115189863A (en) * | 2022-09-13 | 2022-10-14 | 图林科技(深圳)有限公司 | E-commerce transaction information management system based on block chain network architecture |
-
2019
- 2019-12-27 CN CN201911377163.0A patent/CN111222173A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788107A (en) * | 2020-12-29 | 2021-05-11 | 长威信息科技发展股份有限公司 | Method and system for secure multi-party computing and data sharing |
CN115189863A (en) * | 2022-09-13 | 2022-10-14 | 图林科技(深圳)有限公司 | E-commerce transaction information management system based on block chain network architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11720711B2 (en) | System and method for interaction object management in a blockchain environment | |
US10417440B2 (en) | Systems and methods for digital content delivery | |
US20180357683A1 (en) | Rating data management | |
CN111367965B (en) | Target object determining method, device, electronic equipment and storage medium | |
CN113568973B (en) | Financial credit investigation data sharing method and device based on blockchain and federal learning | |
CN109493224A (en) | A kind of block chain picture social intercourse system | |
CN112600830B (en) | Service data processing method and device, electronic equipment and storage medium | |
CN112597240B (en) | Federal learning data processing method and system based on alliance chain | |
CN112003940B (en) | Payment network state processing method and server based on block chain and online service | |
CN111222173A (en) | Distributed transaction recording method based on block chain technology | |
US20220036323A1 (en) | Electronic wallet allowing virtual currency expiration date | |
CN115168460A (en) | Data processing method, data transaction system, device and storage medium | |
CN111476640A (en) | Authentication method, system, storage medium and big data authentication platform | |
CN110602215A (en) | Resource processing method based on alliance block chain and alliance block chain system | |
US20190050438A1 (en) | System and method for updating information | |
CN112989338A (en) | Abnormal application data detection method and device, electronic equipment and storage medium | |
CN113011960A (en) | Block chain-based data access method, device, medium and electronic equipment | |
US20220311595A1 (en) | Reducing transaction aborts in execute-order-validate blockchain models | |
CN113051323A (en) | Water environment big data exchange method | |
CN110910091A (en) | Data processing method, device and medium | |
WO2020044350A1 (en) | Tracing cryptocurrencies | |
Johari et al. | Smart Contracts in Smart Cities: Application of Blockchain Technology | |
Wang et al. | Distributed Electronic Data Storage and Proof System Based on Blockchain | |
US20220255990A1 (en) | Topological ordering of blockchain associated proposals | |
Long et al. | Data Middle Office on Cloud |
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 |