The invention discloses a method of managing alliance chain members through block chain public chain, which relates to the technical field of alliance block chain. The method of managing alliance chain members by block chain public chain includes the following steps: alliance creation, administrator adding alliance members, administrator deleting alliance members, and alliance dissolution. This method manages the members of alliance chain through block chain public chain. Each alliance chain of the invention will create an intelligent contract on the public chain. The intelligent contract stores the administrator information in the alliance, all the member information lists, and the administrator has invited the members to join. This intelligent contract is only used to manage the members in the Alliance chain, and does not store the other members in the alliance chain. What information, all member operations in the alliance chain are modified by sending transactions on the public chain to invoke the methods in the intelligent contract. When verifying the member rights of the alliance chain, the list of member rights stored in the intelligent contract can be read.
【技术实现步骤摘要】
一种通过区块链公链管理联盟链成员的方法
本专利技术涉及联盟区块链
,具体为一种通过区块链公链管理联盟链成员的方法。
技术介绍
区块链技术,是一种分布式账本技术,具有去中心化、信息不可篡改等特性,越来越受到各行各业的青睐,目前区块链主要有两种形态:公共区块链和联盟区块链;公共区块链(公链)是指任何人都可以读取、任何人都能发送交易且交易能获得有效确认的、任何人都能参与其中的区块链;联盟链区块链(联盟链)则是指参与到区块链系统中的每个节点都是经过许可的,未经许可的节点是不可以介入到系统中。目前联盟链中,节点的加入许可通常使用CA服务器(CrtificateAthority)完成,联盟链上的节点在加入联盟之前需要向CA申请证书,由CA进行证书发放,这一权限管理设计虽然可以达到成员管理、权限管理的需求,但是CA服务器本质上是一个中心化的系统,该中心化系统会带来一定的风险,为此我们提出一种通过区块链公链管理联盟链成员的方法来解决这一问题。
技术实现思路
本专利技术的目的就是为了弥补现有技术的不足,提供了一种通过区块链公链管理联盟链成员的方法,它具有对联盟区块链去中心化的优点,解决了现有联盟区块链其节点加入许可使用CA服务器,会对联盟区块链交易时带来风险的问题。本专利技术为解决上述技术问题,提供如下技术方案:一种通过区块链公链管理联盟链成员的方法,区块链公链管理联盟链成员的方法包括以下步骤:S1、联盟创建;S2、管理员添加联盟成员;S3、管理员删除联盟成员;S4、联盟解散。进一步的,所述联盟创建包括以下步骤:S1、联盟管理员在公链上发送一笔创建智能合约的交易,将待加入 ...
【技术保护点】
1.一种通过区块链公链管理联盟链成员的方法,其特征在于:区块链公链管理联盟链成员的方法包括以下步骤:S1、联盟创建;S2、管理员添加联盟成员;S3、管理员删除联盟成员;S4、联盟解散。
【技术特征摘要】
1.一种通过区块链公链管理联盟链成员的方法,其特征在于:区块链公链管理联盟链成员的方法包括以下步骤:S1、联盟创建;S2、管理员添加联盟成员;S3、管理员删除联盟成员;S4、联盟解散。2.根据权利要求1所述的一种通过区块链公链管理联盟链成员的方法,其特征在于:所述联盟创建包括以下步骤:S1、联盟管理员在公链上发送一笔创建智能合约的交易,将待加入的节点存入智能合约;S2、公链处理完成交易,广播到所有节点上;S3、联盟链中所有的成员收到公链的广播;S4、待加入的节点在公链上收到创建联盟的交易信息,可以选择是否加入到联盟中;S5、若节点选择加入到联盟之中,同样发送在公链上发送一条确认交易;S6、公链处理完成同意加入节点的交易,更改合约中记录的联盟成员列表,广播到所有节点上;S7、联盟链中所有的节点收到公链广播,建立点对点连接,启动联盟链。3.根据权利要求1所述的一种通过区块链公链管理联盟链成员的方法,其特征在于:所述管理员添加联盟成员包括以下步骤:S1、联盟管理员在公链上发送一笔交易,添加一个联盟节点;S2、公链处理完成交易,...
【专利技术属性】
技术研发人员:庞引明,韩斌,陈立刚,
申请(专利权)人:链极智能科技上海有限公司,
类型:发明
国别省市:上海,31
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。