CN110032573A - A kind of blacklist sharing method, referee method and device based on block chain - Google Patents

A kind of blacklist sharing method, referee method and device based on block chain Download PDF

Info

Publication number
CN110032573A
CN110032573A CN201910234315.5A CN201910234315A CN110032573A CN 110032573 A CN110032573 A CN 110032573A CN 201910234315 A CN201910234315 A CN 201910234315A CN 110032573 A CN110032573 A CN 110032573A
Authority
CN
China
Prior art keywords
block chain
blacklist
data
intelligent contract
arbitration
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
CN201910234315.5A
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.)
Sun Yat Sen University
National Sun Yat Sen University
Original Assignee
National Sun Yat Sen University
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 National Sun Yat Sen University filed Critical National Sun Yat Sen University
Priority to CN201910234315.5A priority Critical patent/CN110032573A/en
Publication of CN110032573A publication Critical patent/CN110032573A/en
Pending legal-status Critical Current

Links

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/24Querying
    • 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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Technology Law (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of blacklist sharing methods based on block chain, comprising the following steps: S10: building block chain, the block chain includes several blocks;S20: constructing intelligent contract, and the intelligence contract is to store blacklist data simultaneously to the read-write logic of blacklist, and the intelligence contract also exchanges data with block chain;S30: it is shared to carry out synchronizing for blacklist data by executing intelligent contract by access side.Under the present invention participates in many ways in company side, arbitration side etc., solves the problems, such as multiparty collaboration by the characteristic that block chain technology can not distort, is easily tampered;Further through the intelligent contract technology on block chain, solve the problems, such as that program is complicated, repetition is at high cost, public credibility is low.

Description

A kind of blacklist sharing method, referee method and device based on block chain
Technical field
The present invention relates to Computer Science and Technology fields, total more particularly, to a kind of blacklist based on block chain Enjoy method, referee method and device.
Background technique
The development of society is based on credit, and the development of every field requires to establish itself a set of credit system, such as Credit white list, blacklist, the multiple fields such as executing in big data reference, manufacturing industry, supply chain, law works, there is various black List, different company, industry blacklist data like data silo, be often unable to get efficient shared and update.
In order to which the blacklist data for seeking different company, industry is shared, there are two types of solutions for existing technology:
First is that carry out in such a way that centralization node receives blacklist, the shortcomings that such mode, is: needing multi-party association Make, program is complicated and is easily tampered.For example, the credit system of China is based on Central Bank's reference, tripartite financial institution is Auxiliary, the data of Central Bank only have more than 300,000,000, and most and underground, and want to inquire these data, and cost is extremely expensive, together When the risk that is tampered of centralized database bring data it is also very big.
Second is that the scheme shared mutually using industry intercompany, as blacklist data is shared between company A and B mutually, this The shortcomings that mode of sample is: repetition is at high cost, public credibility is low.Such as company A in order to prevent a certain individual from trading with company B, Then blacklist can be written in the individual and share to B, allowed for company B in this way and the individual is distrusted, do not trade with it, and Company A can still trade with the individual.
In short, the shared of blacklist data is every profession and trade develops in society necessary condition, and existing technology cannot Solve blacklist data it is shared in need that multiparty collaboration, program are complicated, be easily tampered, repetition is at high cost, public credibility is low etc. ask Topic.
Summary of the invention
The present invention is directed to solve above-mentioned technical problem at least to a certain extent.
Primary and foremost purpose of the invention is to provide a kind of blacklist sharing method based on block chain, and it is shared to solve blacklist During there is the problems such as multiparty collaboration, program are complicated, are easily tampered, are repeatedly at high cost, public credibility is low.
The further object of the present invention is to provide a kind of blacklist referee method based on block chain.
Third object of the present invention is to provide a kind of blacklist based on block chain is shared and arbitration device.
In order to solve the above technical problems, technical scheme is as follows:
A kind of blacklist sharing method based on block chain, comprising the following steps:
S10: building block chain, the block chain includes several blocks;
S20: constructing intelligent contract, and the intelligence contract is to store blacklist data simultaneously to the read-write logic of blacklist, The intelligence contract also exchanges data with block chain;
S30: it is shared to carry out synchronizing for blacklist data by executing intelligent contract by access side.
Preferably, block chain is used to store all access sides to the maintenance process of blacklist in the step S10, including adds Addend is according to blacklist.
Preferably, the intelligent contract includes Share Permissions to the read-write logic of blacklist, and the intelligence contract is one group It can be realized processing data actively or passively, receive, storage and transmission are worth, and control and manage data etc. on all kinds of chains The sequencing rule and logic of function.
Preferably, corresponding one intelligent contract of each industry.
Preferably, there are also block chain copy, each access side preserves the block chain copy, and to each intelligent contract It is independently executed, the synchronization of data is carried out by common recognition mechanism, participates in consistency maintenance, verifying and execution to transaction.
Preferably, the block chain selects Ethereum or Hyperledger Fabric or Hyperchain block chain bottom Layer is disposed.
It is a kind of according to the described in any item referee methods based on block chain of claim 6, include following steps:
S01: user or company check whether oneself or other people are in blacklist in front end application
S02: the inquiry request that mediation service end receiving front-end transmits, data under marriage chain are interacted with intelligent contract;
S03: intelligent contract returned data, user or company judge whether to issue request for arbitration.
The intelligence contract includes following functions:
A: intelligent contract inquiry: to the traversal queries of bottom storage;
B: permission and blacklist storage: the write-in permission of company side, arbitration side is stored in address variable, will be black List and the ID for arbitrating list are stored in uint array;
C: when intelligent contract is disposed for the first time, the access limit of each side and the row of intelligent contract effect initialization permission: are determined Industry;
D: look into patrol volume: look into patrol user whether in blacklist, look into the logic for patrolling all lists;
E: logic is written in arbitration side: judging whether write-in side's permission is arbitration side, and the User ID newly submitted write-in is secondary The memory space of sanction side;
F: logic is written in company side, judges whether the side's of write-in permission is company side, and public affairs are written in the User ID newly submitted The memory space of department side.
In above scheme, block chain be used to store all nodes to the maintenance process of blacklist, including adds, arbitrates Deng.By all possessing a block chain copy in all nodes, the node includes company side and arbitration side.Block chain is Participate in the decentralization distributed data base system of maintenance jointly by all nodes in block chain network, it is based on by a series of The data chunk that cryptography method generates is at each data block is a block in block chain.It is successive suitable according to the time Sequence, block are sequentially generated and are linked to be a chain, are block chain.
A kind of blacklist based on block chain is shared and arbitration device, and described device includes data processing unit, in completion The blacklist sharing method based on block chain, the blacklist referee method based on block chain stated.
Compared with prior art, the beneficial effect of technical solution of the present invention is:
In the case where company side, arbitration side etc. participate in many ways, solves multi-party association by the characteristic that block chain technology can not distort The problem of making, being easily tampered;Further through the intelligent contract technology on block chain, solve that program is complicated, repeats at high cost, public letter The low problem of power.
Detailed description of the invention
Fig. 1 is a kind of blacklist sharing method flow chart based on block chain.
Fig. 2 is a kind of blacklist referee method flow chart based on block chain.
Fig. 3 is the blacklist technology of sharing frame diagram based on block chain provided in embodiment.
Fig. 4 is the arbitration framework figure based on block chain provided in embodiment.
Specific embodiment
The attached figures are only used for illustrative purposes and cannot be understood as limitating the patent;
In order to better illustrate this embodiment, the certain components of attached drawing have omission, zoom in or out, and do not represent actual product Size;
To those skilled in the art, it is to be understood that certain known features and its explanation, which may be omitted, in attached drawing 's.
The following further describes the technical solution of the present invention with reference to the accompanying drawings and examples.
Embodiment 1
The present embodiment provides a kind of blacklist sharing method based on block chain, such as Fig. 1, comprising the following steps:
S10: building block chain, the block chain includes several blocks;
S20: constructing intelligent contract, and the intelligence contract is to store blacklist data simultaneously to the read-write logic of blacklist, The intelligence contract also exchanges data with block chain;
S30: it is shared to carry out synchronizing for blacklist data by executing intelligent contract by access side.
Block chain is for storing all access sides to the maintenance process of blacklist, including addition data in the step S10 To blacklist.
The intelligence contract includes Share Permissions to the read-write logic of blacklist, and the intelligence contract, which is one group, can be realized Processing data actively or passively receive, storage and transmission are worth, and control and manage the journey of the functions such as data on all kinds of chains Sequenceization rule and logic.
Corresponding one intelligent contract of each industry.
There are also block chain copy, each access side preserves the block chain copy, and carries out to each intelligent contract only It is vertical to execute, the synchronization of data is carried out by common recognition mechanism, participates in consistency maintenance, verifying and execution to transaction.
The block chain selects Ethereum block chain bottom to be disposed.
In the specific implementation process, such as Fig. 3, block chain be used to store all nodes to the maintenance process of blacklist, packet Include addition, arbitration etc..All nodes all possess a block chain copy.Intelligent contract is the read-write logic to blacklist, packet Include Share Permissions, arbiter rights etc..All blacklist, arbitration list are stored in the intelligent contract based on block chain.Often The list of a industry is an intelligent contract, such as financial circles, express delivery industry.Intelligent contract be by it is event driven, have state , on account book that operate in a duplication, sharing and program that assets on account book can be taken care of, be one group can be real Now processing data actively or passively receive, storage and transmission are worth, and control and manage the functions such as data on all kinds of chains Sequencing rule and logic.Node includes company node A, B, C etc. and arbitration node such as public security department, central the People's Bank Deng.The each node of these nodes saves a block chain copy, and independently executes to each intelligent contract, by certain Common recognition mechanism carries out the synchronization of data, participates in consistency maintenance, verifying and execution to transaction.
Embodiment 2
The present embodiment provides a kind of blacklist referee method based on block chain, such as Fig. 2, comprising the following steps:
S01: user or company check whether oneself or other people are in blacklist in front end application
S02: the inquiry request that mediation service end receiving front-end transmits, data under marriage chain are interacted with intelligent contract;
S03: intelligent contract returned data, user or company judge whether to issue request for arbitration.
The intelligence contract includes following functions:
A: intelligent contract inquiry: to the traversal queries of bottom storage;
B: permission and blacklist storage: the write-in permission of company side, arbitration side is stored in address variable, will be black List and the ID for arbitrating list are stored in uint array;
C: when intelligent contract is disposed for the first time, the access limit of each side and the row of intelligent contract effect initialization permission: are determined Industry;
D: look into patrol volume: look into patrol user whether in blacklist, look into the logic for patrolling all lists;
E: logic is written in arbitration side: judging whether write-in side's permission is arbitration side, and the User ID newly submitted write-in is secondary The memory space of sanction side;
F: logic is written in company side, judges whether the side's of write-in permission is company side, and public affairs are written in the User ID newly submitted The memory space of department side.
Embodiment 3
The present embodiment provides a kind of blacklist based on block chain is shared and arbitration device, including including data processing list Member, the completion blacklist sharing method described in embodiment 1 based on block chain, the black name as described in example 2 based on block chain Single referee method.
The same or similar label correspond to the same or similar components;
The terms describing the positional relationship in the drawings are only for illustration, should not be understood as the limitation to this patent;
Obviously, the above embodiment of the present invention be only to clearly illustrate example of the present invention, and not be pair The restriction of embodiments of the present invention.For those of ordinary skill in the art, may be used also on the basis of the above description To make other variations or changes in different ways.There is no necessity and possibility to exhaust all the enbodiments.It is all this Made any modifications, equivalent replacements, and improvements etc., should be included in the claims in the present invention within the spirit and principle of invention Protection scope within.

Claims (9)

1. a kind of blacklist sharing method based on block chain, which comprises the following steps:
S10: building block chain, the block chain includes several blocks;
S20: intelligent contract is constructed, the intelligence contract is to store blacklist data simultaneously to the read-write logic of blacklist, described Intelligent contract also exchanges data with block chain;
S30: it is shared to carry out synchronizing for blacklist data by executing intelligent contract by access side.
2. the blacklist sharing method according to claim 1 based on block chain, which is characterized in that in the step S10 Block chain is used to store all access sides to the maintenance process of blacklist, including adds data to blacklist.
3. the blacklist sharing method according to claim 2 based on block chain, which is characterized in that the intelligence contract pair The read-write logic of blacklist includes Share Permissions, and the intelligence contract is one group of processing data that can be realized actively or passively, Receive, store and send value, and control and the sequencing rule and logic that manage the functions such as data on all kinds of chains.
4. the blacklist sharing method according to claim 3 based on block chain, which is characterized in that each industry corresponding one A intelligence contract.
5. the blacklist sharing method according to claim 4 based on block chain, which is characterized in that there are also block chain pairs This, each access side preserves the block chain copy, and independently executes to each intelligent contract, by common recognition mechanism into The synchronization of row data participates in consistency maintenance, verifying and execution to transaction.
6. the blacklist sharing method according to claim 5 based on block chain, which is characterized in that the block chain is selected Ethereum or Hyperledger Fabric or Hyperchain block chain bottom is disposed.
7. a kind of according to the described in any item referee methods based on block chain of claim 6, which is characterized in that including following step It is rapid:
S01: user or company check whether oneself or other people are in blacklist in front end application
S02: the inquiry request that mediation service end receiving front-end transmits, data under marriage chain are interacted with intelligent contract;
S03: intelligent contract returned data, user or company judge whether to issue request for arbitration.
8. the referee method according to claim 7 based on block chain, which is characterized in that the intelligence contract includes following Function:
A: intelligent contract inquiry: to the traversal queries of bottom storage;
B: permission and blacklist storage: the write-in permission of company side, arbitration side is stored in address variable, by blacklist And the ID of arbitration list is stored in uint array;
C: when intelligent contract is disposed for the first time, the access limit of each side and the industry of intelligent contract effect initialization permission: are determined;
D: look into patrol volume: look into patrol user whether in blacklist, look into the logic for patrolling all lists;
E: logic is written in arbitration side: judging whether write-in side's permission is arbitration side, and arbitration side is written in the User ID newly submitted Memory space;
F: logic is written in company side, judges whether the side's of write-in permission is company side, and company side is written in the User ID newly submitted Memory space.
9. a kind of blacklist based on block chain is shared and arbitration device, which is characterized in that described device includes data processing list Member, complete blacklist sharing method based on block chain described in claim 1 to 6, described in claim 7 to 8 based on area The blacklist referee method of block chain.
CN201910234315.5A 2019-03-26 2019-03-26 A kind of blacklist sharing method, referee method and device based on block chain Pending CN110032573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910234315.5A CN110032573A (en) 2019-03-26 2019-03-26 A kind of blacklist sharing method, referee method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910234315.5A CN110032573A (en) 2019-03-26 2019-03-26 A kind of blacklist sharing method, referee method and device based on block chain

Publications (1)

Publication Number Publication Date
CN110032573A true CN110032573A (en) 2019-07-19

Family

ID=67236662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910234315.5A Pending CN110032573A (en) 2019-03-26 2019-03-26 A kind of blacklist sharing method, referee method and device based on block chain

Country Status (1)

Country Link
CN (1) CN110032573A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879826A (en) * 2019-10-12 2020-03-13 深圳壹账通智能科技有限公司 Credit blacklist sharing method and device based on block chain
CN110928951A (en) * 2019-11-26 2020-03-27 天津理工大学 Data sharing and arbitration method based on block chain
CN111160875A (en) * 2019-12-31 2020-05-15 秒针信息技术有限公司 Practitioner behavior supervision method and system based on block chain
CN111914243A (en) * 2020-07-30 2020-11-10 长沙尚链通信息科技有限公司 Block chain wallet operation reminding method based on block chain intelligent contract
US11343313B1 (en) 2021-01-28 2022-05-24 International Business Machines Corporation Fault tolerant periodic leader rotation for blockchain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862215A (en) * 2017-09-29 2018-03-30 阿里巴巴集团控股有限公司 A kind of date storage method, data query method and device
CN107896157A (en) * 2017-08-31 2018-04-10 上海壹账通金融科技有限公司 Blacklist data exchange method and application server
CN108960890A (en) * 2018-05-31 2018-12-07 深圳市元征科技股份有限公司 A kind of vehicle transaction with credit method and server
CN109325848A (en) * 2018-09-13 2019-02-12 深圳前海微众银行股份有限公司 Debt collection method, equipment and computer readable storage medium based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107896157A (en) * 2017-08-31 2018-04-10 上海壹账通金融科技有限公司 Blacklist data exchange method and application server
CN107862215A (en) * 2017-09-29 2018-03-30 阿里巴巴集团控股有限公司 A kind of date storage method, data query method and device
CN108960890A (en) * 2018-05-31 2018-12-07 深圳市元征科技股份有限公司 A kind of vehicle transaction with credit method and server
CN109325848A (en) * 2018-09-13 2019-02-12 深圳前海微众银行股份有限公司 Debt collection method, equipment and computer readable storage medium based on block chain

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879826A (en) * 2019-10-12 2020-03-13 深圳壹账通智能科技有限公司 Credit blacklist sharing method and device based on block chain
CN110928951A (en) * 2019-11-26 2020-03-27 天津理工大学 Data sharing and arbitration method based on block chain
CN111160875A (en) * 2019-12-31 2020-05-15 秒针信息技术有限公司 Practitioner behavior supervision method and system based on block chain
CN111914243A (en) * 2020-07-30 2020-11-10 长沙尚链通信息科技有限公司 Block chain wallet operation reminding method based on block chain intelligent contract
CN111914243B (en) * 2020-07-30 2023-12-01 长沙尚链通信息科技有限公司 Blockchain wallet operation reminding method based on blockchain intelligent contract
US11343313B1 (en) 2021-01-28 2022-05-24 International Business Machines Corporation Fault tolerant periodic leader rotation for blockchain

Similar Documents

Publication Publication Date Title
CN110032573A (en) A kind of blacklist sharing method, referee method and device based on block chain
US20230100679A1 (en) Data processing method, apparatus, and device, computer-readable storage medium, and computer program product
Roth et al. Stable matchings, optimal assignments, and linear programming
US11003646B2 (en) Data isolation in a blockchain network
US20230028606A1 (en) Method and apparatus for vertical federated learning
Hardini et al. Ontology of education using blockchain: Time based protocol
Zhang et al. Finite automata approach to observability of switched Boolean control networks
US7609703B2 (en) Group communication system and method
CN109684287A (en) Gateway information sharing query method and system based on block chain
Ellis et al. Computer science and office information systems
Weatherall et al. Endogenous epistemic factionalization
CN112101403A (en) Method and system for classification based on federate sample network model and electronic equipment
CN113902127A (en) Asynchronous federal learning method with block chain enabled
Das et al. Issues and Concepts of Graph Database and a Comparative Analysis on list of Graph Database tools
CN110135732A (en) It is a kind of to take a part-time job while studying at school the key smart shift scheduling method and system in post suitable for colleges and universities
Angeli et al. Criteria for asymptotic clustering of opinion dynamics towards bimodal consensus
Zhao Design of Optimal Scheduling Model for emergency medical supplies by Blockchain technology
Min et al. Blockchain-native mechanism supporting the circulation of complex physical assets
Ureña-Carrión et al. Assortative and preferential attachment lead to core-periphery networks
Valencia-Cabrera et al. From NP‐Completeness to DP‐Completeness: A Membrane Computing Perspective
Gannon et al. Semantic information integration in the large: Adaptability, extensibility, and scalability of the context mediation approach
Ponomarev DEVELOPMENT OF A DECENTRALIZED VOTING APPLICATION USING BLOCKCHAIN TECHNOLOGY
Linial Games computers play: Game-theoretic aspects of computing
Vasileva et al. Options of GPSS World for integrated demonstration models in the educational process
CN108898521A (en) A kind of teaching resource data management system for internet learning platform

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