CN109949033A - A kind of affaris safety trade system and method based on block chain - Google Patents

A kind of affaris safety trade system and method based on block chain Download PDF

Info

Publication number
CN109949033A
CN109949033A CN201811361136.XA CN201811361136A CN109949033A CN 109949033 A CN109949033 A CN 109949033A CN 201811361136 A CN201811361136 A CN 201811361136A CN 109949033 A CN109949033 A CN 109949033A
Authority
CN
China
Prior art keywords
block chain
transaction
user
digital asset
registration
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
CN201811361136.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.)
Shaanxi Medicine Chain Group Co Ltd
Original Assignee
Shaanxi Medicine Chain 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 Shaanxi Medicine Chain Group Co Ltd filed Critical Shaanxi Medicine Chain Group Co Ltd
Priority to CN201811361136.XA priority Critical patent/CN109949033A/en
Publication of CN109949033A publication Critical patent/CN109949033A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of affaris safety trade systems based on block chain, including block chain affaris safety trade system, block chain affaris safety trade system includes client mobile terminal, transaction background system and block chain service system, client mobile terminal supports two kinds of architecture modes of C/S and B/S, ordinary user completes digital asset transaction by cell phone application, transaction background system is used to complete the processing of user's request, core business is extracted to block chain server process, and complete non-core services processing, block chain service system is mainly used for core business processing, intelligent contract is called to execute transaction, and transaction results are packaged into block, block chain account book is written after common recognition, each mechanism disposes a block chain service system, each block chain service system is connected with each other, form a distributed block chain serving system network The advantages of invention achieves Secure Transactions.

Description

A kind of affaris safety trade system and method based on block chain
Technical field
The present invention relates to a kind of affaris safety trade system and method based on block chain, belongs to block chain technology and transaction security System regions.
Background technique
With the appearance of bit coin, block chain technology also develops therewith.Block chain technology, also known as " distributed account book skill Art " is that a kind of decentralization, collective safeguard the technical solution of distributed account book, and essence is by multiple node group participations Distributed data base system.Not a kind of single technology of block chain, multiple technologies integration as a result, utilizing block chain skill Art safeguards an account book record that is reliable, being difficult to tamper with, can reduce the risk of trust, and can effectively reduce participant association The maintenance cost of work.In block chain practical application, each user can generate a pair of of asymmetric key pair, on block chain Trading signature corresponds to identity of the hash value of public key as its trading account.In view of safety, efficiency etc. it is a variety of because Element, block chain rivest, shamir, adelman generally select ECC (elliptic curve) algorithm, and the safety of algorithm depends on elliptic curve The intractability of discrete logarithm problem (ECDLP).
When the value of digital cash or other financial currencies is higher and higher in the account of block chain, the safety of account Become focus therewith.The private key of block chain is unique data for proving user identity, the core asset of user such as bit coin also by And only controlled by private key, mainly enhance the safety of account in block chain using hardware keys in the prior art, but it is this Technological means can not cope with the safety problem that more people share account, i.e., some account will carry out the behaviour such as transfer accounts in block chain network As when need more people to approve that signature could execute the scene of operation jointly, need one kind now and cope with the shared account of more people to pacify The means paid entirely.
In addition, the digital asset that people possess is more and more with the fast development of " internet+", and conventional digital provides The problems such as producing transaction system there are mutual mistrusts, the mutually indepedent, safety that is unable to satisfy assets, across mechanism circulation demand.Base In the digital asset transaction system of block chain, the characteristics such as the multicenter of application block chain technology, trusted, traceable make to join The digital asset transaction system of enterprise, alliance is interconnected, and realizes across the mechanism safety circulation of digital asset.Pass through setting for intelligent contract Meter, system can realize flexible digital asset trading strategies.Actual measurement proves that the system can stablize processing transaction, substantially meets small The digital asset transactions demand of alliance.Therefore it is badly in need of a kind of affaris safety trade system and method based on block chain.
Summary of the invention
The present invention in order to solve the problems, such as it is above-mentioned exist in the prior art, a kind of Secure Transaction system based on block chain is provided System, risk big technical problem low to solve current transaction security.
The technical solution adopted by the present invention to solve the technical problems is: the present invention provides a kind of peaces based on block chain Full transaction system, including block chain affaris safety trade system, block chain affaris safety trade system include client mobile terminal, transaction backstage System and block chain service system, client mobile terminal support two kinds of architecture modes of C/S and B/S, and ordinary user passes through Cell phone application is traded to complete digital asset, and transaction background system is used to complete the processing of user's request, extracts core business to area Block chain server process, and non-core services processing is completed, block chain service system is mainly used for core business processing, calls intelligence Energy contract executes transaction, and transaction results are packaged into block, and block chain account book, each mechanism deployment one are written after common recognition A block chain service system, each block chain service system are connected with each other, and form a distributed block chain service system net Network;Core business includes: digital asset registration, transaction, table on exchange rates creation and updates;Non-core services include: user member etc. Grade setting, user's message, system introduction.
In addition, the affaris safety trade system according to an embodiment of the present invention based on block chain can also have following supplementary technology Feature:
Preferably, core business includes: digital asset registration, transaction, table on exchange rates creation and updates;Non-core services include: use The setting of family membership grade, user's message, system introduction.
Preferably, the system logic of block chain affaris safety trade system can be divided into application module, service module and block chain mould Block, wherein application module is mainly digital asset transaction related service, including the registration of user's registration, digital asset, digital asset Transaction, service module provides application module and block chain module is linked up, including account center, intelligent contract, open interface, block Link layer includes block chain database, common recognition mechanism, block chain security mechanism, network communication module, forms each mechanism and safeguards jointly Underlying platform.
Preferably, block chain affaris safety trade system uses Docker as the performing environment of intelligent contract, and digital asset is handed over Easily intelligence contract is used to business, inter-agency business and inquiry business in processing system transaction core business, including mechanism.
Preferably, wherein business includes user's registration, digital asset granting, digital asset transaction, inter-agency industry in mechanism Business includes that assets table on exchange rates is established, updated, across institutional network, and inquiry business includes realizing digital asset, table on exchange rates inquiry, to protect It demonstrate,proves above-mentioned business only to be operated by the people of corresponding authority, intelligent contract needs to be handed over according to the digital signature verification of transaction before executing transaction The identity of easy related side.
Preferably, block chain service system uses distributed structure/architecture, using the common recognition mechanism of Byzantine failure tolerance.
The present invention is based on the application method of the affaris safety trade system of block chain the following steps are included:
(1) user's registration: user's registration forms User ID after being encoded public key when client generates public key, to friendship Easily backstage sends registration request, is verified after authorities to user's registration information, and verification signs transaction after passing through It is packaged and is sent in block chain, block catenary system calls intelligent contract registration interface to complete user's registration request, and is sent to Each block chain node, user's registration is completed after reaching common understanding and keeping accounts.
(2) across mechanism transaction in assets: digital asset circulation relies on the foundation of assets table on exchange rates, table on exchange rates master between different institutions Will comprising mechanism both sides digital asset the exchange rate and can number of deals, digital asset table on exchange rates by both party jointly initiate establish, wound Digital asset transaction can be carried out by building between rear different institutions, when block catenary system receives across institutional network, first check transaction hair Play person's identity, then inquire two kinds of digital assets transaction table on exchange rates, inquiry checked after passing through initiator mechanism can transactions balances, if Remaining sum abundance then executes transaction and returns to transaction results.
(3) intelligent contract is realized: intelligent contract provides the application interface that core transaction is handled to block chain, should by calling Interface transaction can execute automatically, and return to implementing result to block catenary system, block catenary system reach common understanding after by transaction results It is written in block chain account book, process is as follows:
If: promoter's information and transaction digital signature are correct;
Then: obtain across institutional network Asset Type, inquire in next step table on exchange rates and can transactions balances, next step transaction amount root It is converted according to the exchange rate, finally executes transaction.
In this way, by using the affaris safety trade system of the invention based on block chain, the single centralized system with tradition Framework is compared, and platform uses centralization framework to block chain digital asset transaction system after a transaction, and in block chain server network Middle to use distributed structure/architecture, it has the advantage that
System business processing divides transaction backstage and two layers of server system of block chain, inter-agency only to pass through block chain server network Connection, transaction backstage break down and will not have any impact to block chain server system, that is, will not influence other mechanisms and hold Row transaction.Block chain server system is had in error tolerance using distributed structure/architecture using the common recognition mechanism of Byzantine failure tolerance There is stronger safety.Core business is executed by block chain intelligence contract, and broadcasts the whole network common recognition, and core transaction is effectively ensured The validity and the transparency of data can be realized multimachine structure real time settlement.Non-core services by each in-house processing, Guarantee the differentiation development for realizing different institutions while the data sharing of block chain, the privacy of significant data in mechanism is effectively ensured Property.
System using block chain common recognition mechanism, intelligent contract, the distributed technologies such as account book and chained record block, have with Lower advantage: realize different institutions between without trust each other can carry out digital asset across institutional network;All kinds of transaction being capable of root It is automatically processed according to the rule that intelligent contract is set, account book real-time synchronization, realizes the real-time reconciliation clearing of transaction;Transaction data safety Trackability can not be distorted and be had, prevents transaction from denying.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the schematic illustration of the affaris safety trade system based on block chain of the embodiment of the present invention;
Fig. 2 is the module principle schematic diagram of the affaris safety trade system based on block chain of the embodiment of the present invention;
Fig. 3 is the intelligent contract system principle schematic diagram of the affaris safety trade system based on block chain of the embodiment of the present invention;
Fig. 4 is the system flow schematic diagram of the affaris safety trade system based on block chain of the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of embodiment is shown in the accompanying drawings, below with reference to it is attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.Below with reference to Attached drawing further illustrates.
As Figure 1-Figure 4, the affaris safety trade system of the invention based on block chain, including block chain Secure Transaction system System, block chain affaris safety trade system include client mobile terminal, transaction background system and block chain service system, and client is mobile Terminal supports two kinds of architecture modes of C/S and C/S, and ordinary user completes digital asset transaction by cell phone application, and transaction backstage is The processing united for completing user's request extracts core business to block chain server process, and completes non-core services processing, Block chain service system is mainly used for core business processing, calls intelligent contract to execute transaction, and transaction results are packaged into area Block, is written block chain account book after common recognition, and each mechanism disposes a block chain service system, each block chain service system It is connected with each other, forms a distributed block chain serving system network;Core business includes: digital asset registration, transaction, converges The creation of rate table and update;Non-core services include: the setting of user's membership grade, user's message, system introduction.
The system logic of block chain affaris safety trade system can be divided into application module, service module and block chain module, wherein Application module is mainly digital asset transaction related service, including the registration of user's registration, digital asset, digital asset transaction, clothes Module of being engaged in provides application module and block chain module is linked up, including account center, intelligent contract, open interface, block link layer packet Block chain database, common recognition mechanism, block chain security mechanism, network communication module are included, the bottom that each mechanism safeguards jointly is formed Platform.Block chain affaris safety trade system uses Docker as the performing environment of intelligent contract, the intelligent contract of digital asset transaction For business, inter-agency business and inquiry business in processing system transaction core business, including mechanism, wherein business packet in mechanism User's registration, digital asset granting, digital asset transaction are included, inter-agency business includes that assets table on exchange rates is established, updated, across mechanism Transaction, inquiry business includes realizing digital asset, table on exchange rates inquiry, to guarantee that above-mentioned business is only operated by the people of corresponding authority, The identity according to the digital signature verification of transaction transaction related side is needed before intelligent contract execution transaction.Block chain service system is adopted With distributed structure/architecture, using the common recognition mechanism of Byzantine failure tolerance.
The application method of affaris safety trade system of the present embodiment based on block chain is as follows:
(1) user's registration: user's registration forms User ID after being encoded public key when client generates public key, to friendship Easily backstage sends registration request, is verified after authorities to user's registration information, and verification signs transaction after passing through It is packaged and is sent in block chain, block catenary system calls intelligent contract registration interface to complete user's registration request, and is sent to Each block chain node, user's registration is completed after reaching common understanding and keeping accounts.
(2) across mechanism transaction in assets: digital asset circulation relies on the foundation of assets table on exchange rates, table on exchange rates master between different institutions Will comprising mechanism both sides digital asset the exchange rate and can number of deals, digital asset table on exchange rates by both party jointly initiate establish, wound Digital asset transaction can be carried out by building between rear different institutions, when block catenary system receives across institutional network, first check transaction hair Play person's identity, then inquire two kinds of digital assets transaction table on exchange rates, inquiry checked after passing through initiator mechanism can transactions balances, if Remaining sum abundance then executes transaction and returns to transaction results.
(3) intelligent contract is realized: intelligent contract provides the application interface that core transaction is handled to block chain, should by calling Interface transaction can execute automatically, and return to implementing result to block catenary system, block catenary system reach common understanding after by transaction results It is written in block chain account book, process is as follows:
If: promoter's information and transaction digital signature are correct;
Then: obtain across institutional network Asset Type, inquire in next step table on exchange rates and can transactions balances, next step transaction amount root It is converted according to the exchange rate, finally executes transaction.
The utility model has the advantages that block chain digital asset transaction system is being traded compared with the single centralized system framework of tradition Backstage uses centralization framework, and distributed structure/architecture is used in block chain server network, it has the advantage that
System business processing divides transaction backstage and two layers of server system of block chain, inter-agency only to pass through block chain server network Connection, transaction backstage break down and will not have any impact to block chain server system, that is, will not influence other mechanisms and hold Row transaction.Block chain server system is had in error tolerance using distributed structure/architecture using the common recognition mechanism of Byzantine failure tolerance There is stronger safety.Core business is executed by block chain intelligence contract, and broadcasts the whole network common recognition, and core transaction is effectively ensured The validity and the transparency of data can be realized multimachine structure real time settlement.Non-core services by each in-house processing, Guarantee the differentiation development for realizing different institutions while the data sharing of block chain, the privacy of significant data in mechanism is effectively ensured Property.
System using block chain common recognition mechanism, intelligent contract, the distributed technologies such as account book and chained record block, have with Lower advantage: realize different institutions between without trust each other can carry out digital asset across institutional network;All kinds of transaction being capable of root It is automatically processed according to the rule that intelligent contract is set, account book real-time synchronization, realizes the real-time reconciliation clearing of transaction;Transaction data safety Trackability can not be distorted and be had, prevents transaction from denying.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this The range of invention is defined by the claims and their equivalents.

Claims (7)

1. a kind of affaris safety trade system based on block chain, which is characterized in that including block chain affaris safety trade system, block chain peace Full transaction system includes client mobile terminal, transaction background system and block chain service system, and client mobile terminal supports C/ Two kinds of architecture modes of S and B/S, ordinary user complete digital asset transaction by cell phone application, and transaction background system is used In the processing for completing user's request, core business is extracted to block chain server process, and completes non-core services processing, block Chain service system is mainly used for core business processing, calls intelligent contract to execute transaction, and transaction results are packaged into block, passes through Block chain account book is written after crossing common recognition, each mechanism disposes a block chain service system, and each block chain service system is mutual Connection forms a distributed block chain serving system network.
2. the affaris safety trade system according to claim 1 based on block chain, which is characterized in that core business includes: number Word Asset Registration, transaction, table on exchange rates creation and update;Non-core services include: the setting of user's membership grade, user's message, are System is introduced.
3. the affaris safety trade system according to claim 1 based on block chain, which is characterized in that block chain Secure Transaction system The system logic of system can be divided into application module, service module and block chain module, and wherein application module is mainly that digital asset is handed over Easy related service, including the registration of user's registration, digital asset, digital asset transaction, service module provide application module and block Chain module is linked up, including account center, intelligent contract, open interface, block link layer include block chain database, common recognition mechanism, Block chain security mechanism, network communication module form the underlying platform that each mechanism safeguards jointly.
4. the affaris safety trade system according to claim 1 based on block chain, which is characterized in that block chain Secure Transaction system System use Docker as the performing environment of intelligent contract, and digital asset trades intelligent contract for processing system transaction core industry Business, including business, inter-agency business and inquiry business in mechanism.
5. the affaris safety trade system according to claim 1 based on block chain, which is characterized in that wherein business packet in mechanism User's registration, digital asset granting, digital asset transaction are included, inter-agency business includes that assets table on exchange rates is established, updated, across mechanism Transaction, inquiry business includes realizing digital asset, table on exchange rates inquiry, to guarantee that above-mentioned business is only operated by the people of corresponding authority, The identity according to the digital signature verification of transaction transaction related side is needed before intelligent contract execution transaction.
6. the affaris safety trade system according to claim 1 based on block chain, which is characterized in that block chain service system is adopted With distributed structure/architecture, using the common recognition mechanism of Byzantine failure tolerance.
7. the application method of the affaris safety trade system based on block chain, which comprises the following steps:
(1) user's registration: user's registration forms User ID after being encoded public key when client generates public key, to friendship Easily backstage sends registration request, is verified after authorities to user's registration information, and verification signs transaction after passing through It is packaged and is sent in block chain, block catenary system calls intelligent contract registration interface to complete user's registration request, and is sent to Each block chain node, user's registration is completed after reaching common understanding and keeping accounts;
(2) across mechanism transaction in assets: digital asset circulation relies on the foundation of assets table on exchange rates between different institutions, and table on exchange rates mainly wraps The exchange rate of the digital asset of both sides containing mechanism and can number of deals, digital asset table on exchange rates by both party jointly initiate establish, after creation Digital asset transaction can be carried out between different institutions first checks transaction initiator when block catenary system receives across institutional network Identity, then inquire two kinds of digital assets transaction table on exchange rates, inquiry checked after passing through initiator mechanism can transactions balances, if remaining sum It is sufficient then execute transaction and return to transaction results;
(3) intelligent contract is realized: intelligent contract provides the application interface that core transaction is handled to block chain, by calling the interface Transaction can execute automatically, and return to implementing result to block catenary system, and transaction results are written after reaching common understanding for block catenary system In block chain account book, process is as follows:
If: promoter's information and transaction digital signature are correct;
Then: obtain across institutional network Asset Type, inquire in next step table on exchange rates and can transactions balances, next step transaction amount root It is converted according to the exchange rate, finally executes transaction.
CN201811361136.XA 2018-11-15 2018-11-15 A kind of affaris safety trade system and method based on block chain Pending CN109949033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811361136.XA CN109949033A (en) 2018-11-15 2018-11-15 A kind of affaris safety trade system and method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811361136.XA CN109949033A (en) 2018-11-15 2018-11-15 A kind of affaris safety trade system and method based on block chain

Publications (1)

Publication Number Publication Date
CN109949033A true CN109949033A (en) 2019-06-28

Family

ID=67006338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811361136.XA Pending CN109949033A (en) 2018-11-15 2018-11-15 A kind of affaris safety trade system and method based on block chain

Country Status (1)

Country Link
CN (1) CN109949033A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046437A (en) * 2019-10-31 2020-04-21 中国科学院计算技术研究所 Block chain parallel transaction processing method and system based on isomorphic multi-chain and terminal
CN111275443A (en) * 2020-01-21 2020-06-12 江苏荣泽信息科技股份有限公司 Transaction processing system based on block chain
CN111369357A (en) * 2019-12-18 2020-07-03 九次方大数据信息集团有限公司 Service data transaction settlement method and system based on block chain
CN112200668A (en) * 2020-03-27 2021-01-08 北京天德科技有限公司 Intelligent contract mixed architecture model
CN112418867A (en) * 2020-11-18 2021-02-26 中国电子科技集团公司第三十研究所 Distributed token payment method based on block chain
CN113300850A (en) * 2021-04-30 2021-08-24 深圳市东恒尚科信息技术有限公司 Electronic transaction system based on block chain
CN113327165A (en) * 2021-06-07 2021-08-31 支付宝(杭州)信息技术有限公司 Transaction method based on block chain
CN114154981A (en) * 2021-08-16 2022-03-08 北京天德科技有限公司 Interaction method for block chain and big data platform in real-time settlement and supervision system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046437A (en) * 2019-10-31 2020-04-21 中国科学院计算技术研究所 Block chain parallel transaction processing method and system based on isomorphic multi-chain and terminal
CN111369357A (en) * 2019-12-18 2020-07-03 九次方大数据信息集团有限公司 Service data transaction settlement method and system based on block chain
CN111275443A (en) * 2020-01-21 2020-06-12 江苏荣泽信息科技股份有限公司 Transaction processing system based on block chain
CN111275443B (en) * 2020-01-21 2022-06-10 江苏荣泽信息科技股份有限公司 Transaction processing system based on block chain
CN112200668A (en) * 2020-03-27 2021-01-08 北京天德科技有限公司 Intelligent contract mixed architecture model
CN112418867A (en) * 2020-11-18 2021-02-26 中国电子科技集团公司第三十研究所 Distributed token payment method based on block chain
CN113300850A (en) * 2021-04-30 2021-08-24 深圳市东恒尚科信息技术有限公司 Electronic transaction system based on block chain
CN113327165A (en) * 2021-06-07 2021-08-31 支付宝(杭州)信息技术有限公司 Transaction method based on block chain
CN114154981A (en) * 2021-08-16 2022-03-08 北京天德科技有限公司 Interaction method for block chain and big data platform in real-time settlement and supervision system

Similar Documents

Publication Publication Date Title
CN109949033A (en) A kind of affaris safety trade system and method based on block chain
US10713731B2 (en) Method for secure ledger distribution and computer system using secure distributed ledger technology
WO2018209542A1 (en) Consensus method for decentralized domain name system
CN106878000A (en) A kind of alliance's chain common recognition method and system
KR20180101355A (en) Systems and methods for improving security in exchanges of block-chain assets
CN109151013A (en) Logistics information platform based on alliance's block chain
TWM543413U (en) Web lending platform using technology of blockchain for deal
CN108881187A (en) A kind of across chain data transferring method and equipment suitable for permitting chain scene
CN110599181B (en) Data processing method, device and equipment based on block chain and storage medium
CN108876599B (en) Poverty relief loan management system
CN110431541A (en) The electronic trading system and electronic trade method recorded using block chain stored transaction
CN109447647A (en) A kind of safety payment system based on block chain
CN109767336A (en) It is a kind of based on block chain P2P financing platform fund bank deposit pipe management method
Wang et al. LoC—A new financial loan management system based on smart contracts
CN108009818B (en) Online payment method and system based on distributed network
CN108270551B (en) Security service construction system on block chain
Kwon et al. A network of distributed ledgers
Han et al. A blockchain-based framework for central bank digital currency
CN110335147A (en) A kind of digital asset Information Exchange System and method based on block chain
CN110751468A (en) Multi-directional state channel method, system and medium for block chain expansion
CN110084594A (en) A kind of block chain method of commerce and device by lightning network
CN109274573A (en) A kind of immediate news systems, method and application for merging block chain technology
CN109285066A (en) A method of the intelligent contract based on banking stream is generated and is executed
Aggarwal et al. Basics of blockchain
KR20190086298A (en) Involvement Control System of Block Chain Controller based on Transaction Value

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