CN110245955A - A kind of block chain account attributes management method and system based on intelligent contract - Google Patents

A kind of block chain account attributes management method and system based on intelligent contract Download PDF

Info

Publication number
CN110245955A
CN110245955A CN201910447510.6A CN201910447510A CN110245955A CN 110245955 A CN110245955 A CN 110245955A CN 201910447510 A CN201910447510 A CN 201910447510A CN 110245955 A CN110245955 A CN 110245955A
Authority
CN
China
Prior art keywords
account
contract
attributes
account attributes
block chain
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
CN201910447510.6A
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.)
Zhongan Information Technology Service Co Ltd
Original Assignee
Zhongan Information Technology Service 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 Zhongan Information Technology Service Co Ltd filed Critical Zhongan Information Technology Service Co Ltd
Priority to CN201910447510.6A priority Critical patent/CN110245955A/en
Publication of CN110245955A publication Critical patent/CN110245955A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of block chain account attributes management method and system based on intelligent contract, wherein method passes through account attributes contract administration account attributes, comprising: account attributes contract described in the account attributes contract address search issued according to account;It is requested according to the attribute management of the account received, audits the permission of the account;If audit passes through, the account is allowed to pass through account attributes described in operation account attributes contract administration.Account attributes contract is created when block chain initializes, comprising: is created an account attribute contract, on block chain in the attribute information deposit account attributes contract of account, will be generated simultaneously broadcast account attribute contract address;To the permission of the account configuration management account attributes contract on block chain.The present invention realizes the unified management of account attributes on block chain by account attributes contract administration account attributes, is conducive to expansion account attributes and solves the problems, such as that block chain account attributes are single.

Description

A kind of block chain account attributes management method and system based on intelligent contract
Technical field
The present invention relates to field of computer technology, in particular to a kind of block chain account attributes management based on intelligent contract Method and system.
Background technique
Existing block chain technology usually only can assign basic attribute, i.e. chain assets remaining sum to account, and actual During business application, inevitably need to assign more attributes, such as gender, address, communication modes etc. for account, no Same business application scene can also have different needs, if increasing database realizing store function in link layer, will affect block chain Compatibility and expansion.Simultaneously as dependence of the intelligent contract to block chain network, there is safety in the outer data of access chain Risk, therefore account not easily passs through the outer data of access chain and obtains account attributes, it is respective so as to cause that can not be learnt between account Attribute information, there are the inconsistent risks of attribute.
Summary of the invention
In order to solve problems in the prior art, the block chain account based on intelligent contract that the embodiment of the invention provides a kind of Attribute management method and system.The technical solution is as follows:
On the one hand, a kind of block chain account attributes management method based on intelligent contract is provided, this method passes through account Account attributes described in attribute contract administration, which comprises
Account attributes contract described in the account attributes contract address search issued according to account;
It is requested according to the attribute management of the account received, audits the permission of the account;
If audit passes through, the account is allowed to pass through account attributes described in operation account attributes contract administration.
Further, account attributes contract described in the account attributes contract address search issued according to account includes: Account attributes contract described in the account attributes contract address search for passing through intelligent contract-defined interface sending according to account, the intelligence are closed About management interface includes: to execute interface and query interface.
Further, it is described by operation account attributes contract administration described in account attributes include: addition, deletion, update, It modifies, inquire account attributes in the account attributes contract.
Further, the account attributes contract is created when the block chain initializes, comprising:
The account attributes contract is created, the attribute information of account on block chain is stored in the account attributes contract, It generates and broadcasts account attributes contract address;
To the permission of account attributes contract described in the account configuration management on the block chain.
Further, the attribute information includes: the corresponding contract function name of attribute, chain account address, attribute-name, attribute Value.
On the other hand, a kind of block chain account attributes management system is provided, the system comprises:
Communication module, for receive according to account issue account attributes contract address search account attributes contract, and Receive attribute management request;
Authority management module, for auditing the permission for initiating the account of the attribute management request;
Account attributes management module, for passing through account attributes described in operation account attributes contract administration.
Further, the communication module includes intelligent contract administration interface, for receiving account attributes contract address;
The intelligence contract administration interface includes: to execute interface and query interface, and the execution interface is described for calling Account attributes contract, account attributes described in change management, the query interface inquire institute for calling the account attributes contract State account attributes.
Further, the account attributes contract is specifically used for adding, deleting, updating, modifying, inquiring the account category Property.
Further, the system also includes:
The attribute information of account on block chain is stored in the account for creating the account attributes contract by creation module In the attribute contract of family, account attributes contract address is generated;
The authority management module is also used to account attributes contract described in the account configuration management on the block chain Permission;
The communication module is also used to broadcast account attributes contract address.
Further, the attribute information includes: the corresponding contract function name of attribute, chain account address, attribute-name, attribute Value.
Technical solution provided in an embodiment of the present invention has the benefit that
1, the present invention realizes the unified management of account attributes on block chain by account attributes contract administration account attributes, Be conducive to expansion account attributes and solve the problems, such as that block chain account attributes are single;
2, the present invention can be avoided the inconsistent risk of account attributes caused by more parts of attribute datas of each account maintenance;
3, the present invention is by setting administration authority, ensure that the safety of account attributes and accurate.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of block chain account attributes management method process based on intelligent contract provided in an embodiment of the present invention Figure;
Fig. 2 is that a kind of block chain account attributes management method based on intelligent contract provided in an embodiment of the present invention executed Cheng Tu;
Fig. 3 is a kind of block chain account attributes management system module schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Existing block catenary system there are account attributes are single and each more parts of attribute datas of account maintenance caused by number According to inconsistent risk, the problems such as account attributes privacy and contract account access barrier.In order to solve of the existing technology ask Topic, the embodiment of the present invention discloses a kind of block chain account attributes management method based on intelligent contract and system, the present invention disclose Method mainly pass through account attributes contract administration account attributes, allow account real by operation to account attributes contract Now to the management of account attributes.The method comprise the steps that
Account attributes contract described in the account attributes contract address search issued according to account;
It is requested according to the attribute management of the account received, audits the permission of the account;
If audit passes through, the account is allowed to pass through account attributes described in operation account attributes contract administration.
It should be noted that account attributes contract described in the above method refer to the intelligent contract for being stored with account attributes, Account attributes contract is that the other intelligent contracts that do not depend on individually disposed exist.The attribute management request can be by block chain Any account issue, including chain account and contract account, wherein chain account refers to account address only with store function, closes About account refers to the account address other than store function also with the trading function for including in contract.The category is initiated in audit Property management request the permission of account include: whether the audit account of initiating attribute management request has attribute change power Whether limit, and/or the account that the attribute management request is initiated in audit have attribute query permission.If initiating attribute management request Account request be attribute change, then audit whether it there is attribute to change permission, if it does not have any permission or only It is not allowed then to access account attributes contract administration account attributes with search access right.If the account for initiating attribute management request is asked What is asked is attribute query, then audits whether it has attribute query permission, does not allow its access if it does not have any permission Account attributes contract inquires account attributes.
Account passes through intelligent contract administration interface sending account attributes contract address search account attributes and closes in the above method About.Intelligent contract administration interface is the interface for referring to any intelligence contract on call area block chain, including executes interface and inquiry Interface is only capable of being added the information in intelligent contract, delete, updating, modifying wherein executing interface and referring to by the interface The operation of equal changes wherein information, query interface refers to be only capable of inquiring the information in intelligent contract by the interface.Account Family attribute contract address and account attributes contract are uniquely corresponding, can find unique account category by account attributes contract address Property contract.Account executive attribute include: addition, deletion, update, modification, inquiry account attributes contract in account attributes.
Illustrate as shown in Fig. 2, in figure account executive have account executive attribute contract permission, can be to account Account attributes in attribute contract such as are added, delete, updating, modifying at the operation of variations.Chain account A, chain account B, contract Account C, contract account C only have the permission of inquiry account management attribute contract.When account executive is added by executing interface sending When the attribute management request of additive attribute, the permission of audit management account, after the approval, account executive is to account attributes therein It changes, account executive is by calling addition attribute function to be added to gender attribute (sex=> boy) to chain account to chain account A Family B is added to gender attribute (sex=> girl), the account attributes of account attributes contract storage management account addition.Chain account A, Chain account B, contract account C, any account passes through the gender attribute that query interface issues inquiry chain account A in contract account C Attribute management request when, audit its permission whether with inquiry, if audit pass through, querying attributes function can be called Find the correspondence attribute of corresponding account.
The above method passes through the attribute that intelligent contract is managed collectively all accounts in block chain, avoids the intelligent contract of transaction The inconsistent risk of middle account attributes obtains account attributes without the outer data of account access chain.
Account attributes contract in the above method creates deployment when initializing block chain, by the attribute of account on block chain Information is stored in the account attributes contract, is generated and is broadcasted account attributes contract address;To the account on the block chain The permission of account attributes contract described in the configuration management of family.The attribute information includes: the corresponding contract function name of attribute, chain account Address, attribute-name, attribute value.
It should be noted that the above method is the creation method of account attributes contract, it is creation in initialization block chain Ensure that account attributes contract preserves the account attributes of all accounts on block chain.Manage the permission of the account attributes contract It may include: change permission and search access right.It is possible to further change permission to specified account setup, guarantee account category The accuracy and safety of property contract information.In the above method, the corresponding contract function name of attribute refers mainly to account attributes contract Interior authority configuration, attribute execute function name corresponding with attribute query, such as: add, change, query etc. are used for account Attribute contract executes specified function.Chain account address refers mainly to that uniquely corresponding address, attribute-name refer mainly to account with chain account Property Name, such as: age, gender etc., attribute value refer mainly to property content corresponding with attribute-name, such as: 32, female etc. Deng.
As shown in figure 3, on the other hand, the embodiment of the present invention is above-mentioned based on intelligent contract administration block chain account attributes pipe Reason method also provides a kind of block chain account attributes management system, comprising: creation module, authority management module, communication module, account Family attribute management module.
The attribute information of account on block chain is stored in institute for creating the account attributes contract by the creation module State in account attributes contract, generate account attributes contract address, the attribute information include: the corresponding contract function name of attribute, Chain account address, attribute-name, attribute value.
The authority management module, for the power to account attributes contract described in the account configuration management on the block chain Limit, and for auditing the permission for initiating the account of the attribute management request.
The communication module, for receiving the account attributes contract address search account attributes contract issued according to account, And attribute management request is received, and broadcast account attributes contract address.Communication module includes: that intelligent contract administration connects Mouthful, for receiving account attributes contract address, including execution interface module and query interface module, the execution interface module is used In calling the account attributes contract, account attributes described in change management, the query interface module is for calling the account Attribute contract inquires the account attributes.
The account attributes management module, for passing through account attributes described in operation account attributes contract administration, specific packet It includes: adding, deletes, updating, modifying, inquiring the account attributes.
A kind of mode of system operation disclosed by the embodiments of the present invention is that creation module creates account when block chain initializes Family attribute contract, the attribute information of account on memory block chain, generates account attributes contract address.Then creation module is by account Attribute contract address is sent to communication module, and communication module is broadcasted to the account on block chain.Authority management module is to area The permission of account distribution management account attributes contract on block chain.When communication module receives attribute management request, permission pipe is given It manages module and sends signal, the permission of authority management module audit request account requests account to pass through account attributes after the approval Management module realizes the management to account attributes.
1, the present invention realizes the unified management of account attributes on block chain by account attributes contract administration account attributes, Be conducive to expansion account attributes and solve the problems, such as that block chain account attributes are single;
2, the present invention can be avoided the inconsistent risk of account attributes caused by more parts of attribute datas of each account maintenance;
3, the present invention is by setting administration authority, ensure that the safety of account attributes and accurate.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of block chain account attributes management method based on intelligent contract, which is characterized in that pass through account attributes contract pipe Manage the account attributes, comprising:
Account attributes contract described in the account attributes contract address search issued according to account;
It is requested according to the attribute management of the account received, audits the permission of the account;
If audit passes through, the account is allowed to pass through account attributes described in operation account attributes contract administration.
2. a kind of block chain account attributes management method based on intelligent contract as described in claim 1, which is characterized in that institute Stating account attributes contract described in the account attributes contract address search issued according to account includes: to pass through intelligent contract according to account Account attributes contract described in the account attributes contract address search that interface issues, the intelligence contract administration interface includes: to execute Interface and query interface.
3. a kind of account attributes management method based on intelligent contract as described in claim 1, which is characterized in that described to pass through Account attributes described in operation account attributes contract administration include: addition, deletion, update, modification, the inquiry account attributes contract In the account attributes.
4. a kind of block chain account attributes management method based on intelligent contract as described in any one of claims 1 to 3, It is characterized in that, the account attributes contract is created when the block chain initializes, comprising:
The account attributes contract is created, the attribute information of account on block chain is stored in the account attributes contract, is generated And broadcast account attributes contract address;
To the permission of account attributes contract described in the account configuration management on the block chain.
5. a kind of block chain account attributes management method based on intelligent contract as claimed in claim 4, which is characterized in that institute Stating attribute information includes: the corresponding contract function name of attribute, chain account address, attribute-name, attribute value.
6. special based on a kind of block chain account attributes management system that any one of Claims 1 to 5 the method is established Sign is, comprising:
Communication module, for receiving the account attributes contract address search account attributes contract issued according to account, and reception Attribute management request;
Authority management module, for auditing the permission for initiating the account of the attribute management request;
Account attributes management module, for passing through account attributes described in operation account attributes contract administration.
7. a kind of block chain account attributes management system as claimed in claim 6, which is characterized in that the communication module includes Intelligent contract administration interface, for receiving account attributes contract address;
The intelligence contract administration interface includes: to execute interface and query interface, and the execution interface is for calling the account Attribute contract, account attributes described in change management, the query interface inquire the account for calling the account attributes contract Family attribute.
8. a kind of block chain account attributes management system as claimed in claim 6, which is characterized in that the account attributes contract Specifically for addition, deletion, update, modification, the inquiry account attributes.
9. a kind of block chain account attributes management system as described in any one of claim 6~8, which is characterized in that institute State system further include:
The attribute information of account on block chain is stored in the account category for creating the account attributes contract by creation module In property contract, account attributes contract address is generated;
The authority management module is also used to the power of account attributes contract described in the account configuration management on the block chain Limit;
The communication module is also used to broadcast account attributes contract address.
10. a kind of block chain account attributes management system as claimed in claim 9, which is characterized in that the attribute information packet It includes: the corresponding contract function name of attribute, chain account address, attribute-name, attribute value.
CN201910447510.6A 2019-05-27 2019-05-27 A kind of block chain account attributes management method and system based on intelligent contract Pending CN110245955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910447510.6A CN110245955A (en) 2019-05-27 2019-05-27 A kind of block chain account attributes management method and system based on intelligent contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910447510.6A CN110245955A (en) 2019-05-27 2019-05-27 A kind of block chain account attributes management method and system based on intelligent contract

Publications (1)

Publication Number Publication Date
CN110245955A true CN110245955A (en) 2019-09-17

Family

ID=67885208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910447510.6A Pending CN110245955A (en) 2019-05-27 2019-05-27 A kind of block chain account attributes management method and system based on intelligent contract

Country Status (1)

Country Link
CN (1) CN110245955A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330311A (en) * 2020-11-16 2021-02-05 深圳壹账通智能科技有限公司 Crowd funding joint account creation method and device based on block chain and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779708A (en) * 2016-12-23 2017-05-31 中钞信用卡产业发展有限公司北京智能卡技术研究院 Participant identity management method and system on block chain based on intelligent contract
CN107181765A (en) * 2017-07-25 2017-09-19 光载无限(北京)科技有限公司 Network digital identity identifying method based on block chain technology
CN108235805A (en) * 2017-12-29 2018-06-29 深圳前海达闼云端智能科技有限公司 Account unifying method and device and storage medium
CN108897763A (en) * 2018-05-23 2018-11-27 闫俊杰 A kind of block chain data conversion system
CN109344631A (en) * 2018-09-18 2019-02-15 百度在线网络技术(北京)有限公司 The data modification and block verification method, device, equipment and medium of block chain
CN109460413A (en) * 2018-11-19 2019-03-12 众安信息技术服务有限公司 Method and system for establishing account across block chains
CN109522735A (en) * 2018-11-29 2019-03-26 上海中信信息发展股份有限公司 A kind of data permission verification method and device based on intelligent contract

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106779708A (en) * 2016-12-23 2017-05-31 中钞信用卡产业发展有限公司北京智能卡技术研究院 Participant identity management method and system on block chain based on intelligent contract
CN107181765A (en) * 2017-07-25 2017-09-19 光载无限(北京)科技有限公司 Network digital identity identifying method based on block chain technology
CN108235805A (en) * 2017-12-29 2018-06-29 深圳前海达闼云端智能科技有限公司 Account unifying method and device and storage medium
CN108897763A (en) * 2018-05-23 2018-11-27 闫俊杰 A kind of block chain data conversion system
CN109344631A (en) * 2018-09-18 2019-02-15 百度在线网络技术(北京)有限公司 The data modification and block verification method, device, equipment and medium of block chain
CN109460413A (en) * 2018-11-19 2019-03-12 众安信息技术服务有限公司 Method and system for establishing account across block chains
CN109522735A (en) * 2018-11-29 2019-03-26 上海中信信息发展股份有限公司 A kind of data permission verification method and device based on intelligent contract

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330311A (en) * 2020-11-16 2021-02-05 深圳壹账通智能科技有限公司 Crowd funding joint account creation method and device based on block chain and storage medium

Similar Documents

Publication Publication Date Title
US11514076B2 (en) Cooperative naming for configuration items in a distributed configuration management database environment
CN111460506A (en) Data access control method and device
CN109087004B (en) Public workflow engine system based on domain model
CN108509523A (en) Structuring processing method, equipment and the readable storage medium storing program for executing of block chain data
CA2827265C (en) Method and system for centralized reservation context management on multi-server reservation system
CN104160381A (en) Managing tenant-specific data sets in a multi-tenant environment
CN109684408A (en) Data managing method, device, medium and the electronic equipment of block catenary system
CN105095313B (en) A kind of data access method and equipment
CN102314506B (en) Based on the distributed buffering district management method of dynamic index
CN105493047A (en) Merging multiple system trees over a data exchange layer
CN102118370A (en) Service management method, device and system
CN106933891A (en) Access the method for distributed data base and the device of Distributed database service
CN105531711A (en) Context-aware network on a data exchange layer
CN106254571A (en) A kind of client ip address distribution method and device
CN110458567B (en) Article transaction management system and method based on block chain
CN110245955A (en) A kind of block chain account attributes management method and system based on intelligent contract
CN104881749A (en) Data management method and data storage system for multiple tenants
CN107277188A (en) A kind of method, client, server and operation system for determining IP address attaching information
CN102024010A (en) Data processing system and data processing method
CN112286643B (en) Transaction processing method, device, equipment and medium for Ether house virtual machine
CN102448077B (en) Content management method and content management system
CN103095833B (en) Cloud service system update method and device
US11658942B2 (en) Maintaining security in digital electronic transfers through use of a label tracking system
WO2022111356A1 (en) Data migration method and system, and server and storage medium
CN105636031A (en) Packet communication management method, apparatus and system

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