Alliance chain treatment method based on double-chain architecture, computer equipment and storage medium

By adopting a consortium chain governance method based on a double-chain architecture in the blockchain system, the problem of lack of an effective governance mechanism is solved, and more efficient, secure and flexible consortium chain governance is achieved, which enhances the stability and reliability of the consortium chain network.

CN120180464AActive Publication Date: 2025-06-20ZHONGJINKE INFORMATION TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510153448.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2025-06-20
Estimated Expiration
2045-02-12

AI Technical Summary

Technical Problem

The blockchain system lacks an effective governance mechanism and makes it difficult to make reasonable and democratic decisions, especially in emergencies such as the initial agreement fails to meet actual needs or the agreement upgrade.

Method used

Adopt the alliance chain governance method based on the double-chain architecture. Through the collaborative cooperation between the public chain and the application chain, the public chain is responsible for managing the authority of participating organizations in the alliance, while the application chain is responsible for handling the actual business of the alliance and achieving reasonable democratic decisions on governance strategies.

Benefits of technology

A more efficient, secure and flexible alliance chain governance mechanism is achieved, which can deal with emergencies such as the initial protocol fails to meet actual needs or protocol upgrades, and enhances the stability and reliability of alliance chain networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120180464A_ABST
    Figure CN120180464A_ABST
Patent Text Reader

Abstract

The invention provides an alliance chain treatment method based on a double-chain architecture, computer equipment and a storage medium, and relates to the field of block chains. The method comprises the steps that alliance chain governance is carried out based on a double-chain architecture of cooperation of a public chain and an application chain, the public chain is responsible for managing permissions participating in organizations in an alliance, and the application chain is responsible for processing actual businesses of the alliance; the organizations creating the public chain are used as alliance administrator roles, and organizations subsequently added into the public chain are used as alliance participating member roles; the organization creating the application chain is used as an application chain administrator role, and the organization subsequently added into the application chain is used as an application chain participation member role; the alliance administrator role, the alliance participating member role, the application chain administrator role and the application chain participating member role correspond to the following three different permissions: a proposal initiating permission, a proposal voting permission and a governance strategy operation permission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain, and in particular, to a consortium chain governance method, a computer device, and a storage medium based on a double-chain architecture. Background Art

[0002] Blockchain has attracted extensive attention due to its characteristics such as decentralization and immutability. However, in the actual engineering practice process, it is found that the characteristics of blockchain such as immutability and decentralization often bring many usage restrictions. There are obvious contradictions and conflicts between the immutability of blockchain and the iterative update requirements in engineering. Solving these conflicts requires strong decision-making, but the blockchain systems in related technologies lack a good governance mechanism to make reasonable and democratic decisions. Summary of the Invention

[0003] In view of this, this application provides a consortium chain governance method, a computer device, and a storage medium based on a double-chain architecture, which solves the problem that the blockchain systems in related technologies lack a good governance mechanism to make reasonable and democratic decisions.

[0004] In the first aspect, an embodiment of this application provides a consortium chain governance method based on a double-chain architecture, including:

[0005] Based on a double-chain architecture that coordinates a public chain and an application chain, perform consortium chain governance. The public chain is responsible for managing the permissions of participating organizations in the consortium, and the application chain is responsible for processing the actual business of the consortium;

[0006] Among them, the organization that creates the public chain is regarded as the consortium administrator role, and the organizations that subsequently join the public chain are regarded as consortium participating member roles; the organization that creates the application chain is regarded as the application chain administrator role, and the organizations that subsequently join the application chain are application chain participating member roles;

[0007] The consortium administrator role, the consortium participating member role, the application chain administrator role, and the application chain participating member role all correspond to the following three types of different permissions: the power to initiate a proposal, the power to vote on a proposal, and the power to operate governance strategies. The power to initiate a proposal refers to the power to initiate an application to modify the public information of the public chain and the application chain. The power to vote on a proposal refers to the power to vote on a proposal. The power to operate governance strategies refers to the power to modify governance strategies.

[0008] In the second aspect, an embodiment of this application provides a computer device, which includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method in the first aspect are implemented.

[0009] In a third aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the method in the first aspect are implemented.

[0010] In the embodiments of the present application, a governance mechanism for the consortium chain governance strategy based on a double-chain architecture is provided, which can enable a reasonable and democratic decision-making for the consortium chain governance strategy, cope with emergencies such as the initial protocol being unable to meet the actual needs or protocol upgrade, and at the same time combines the advantages of both the public chain and the application chain, integrating both permission management and actual business aspects to achieve a more efficient, secure and flexible consortium chain governance mechanism.

[0011] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the specific embodiments of the present application are specifically given below. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings:

[0013] Figure 1 One of the flow diagrams of the consortium chain governance method based on the double-chain architecture in the embodiments of the present application is shown;

[0014] Figure 2 Another flow diagram of the consortium chain governance method based on the double-chain architecture in the embodiments of the present application is shown;

[0015] Figure 3 The block diagram of the computer device in the embodiments of the present application is shown. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0016] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.

[0017] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and do not limit the number of objects. For example, the first object can be one or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0018] The following will combine the accompanying drawings and, through specific embodiments and their application scenarios, elaborate in detail on the consortium chain governance method, computer device, and storage medium provided by the embodiments of this application based on a double-chain architecture.

[0019] The embodiments of this application provide a consortium chain governance method based on a double-chain architecture, which is applied to a computer device. As Figure 1 shown, the method includes:

[0020] Step 101, based on a double-chain architecture that coordinates a public chain and an application chain, conduct consortium chain governance. The public chain is responsible for managing the permissions of the participating organizations in the consortium, and the application chain is responsible for handling the actual business of the consortium.

[0021] This application proposes a consortium governance mechanism based on a double-chain architecture. When the initial protocol fails to meet the actual needs, or when there are conflicting protocols that need to be upgraded during the operation of the consortium chain network, etc., it can be solved through the consortium self-governance mechanism.

[0022] Based on a double-chain architecture that coordinates a public chain and an application chain, conduct consortium chain governance. Among them, the public chain is responsible for managing the permissions of the participating organizations in the consortium, and the application chain is responsible for handling the actual business of the consortium. Specifically, the public chain implements the corresponding smart contract based on the RBAC (Role-Based Access Control) permission model, and realizes the authorization of participating organizations by associating permissions with roles. The organization that defaults to creating the public chain is the consortium administrator role, the organization that subsequently joins the public chain is the consortium participating member role, the organization that defaults to creating the application chain is the application chain administrator role, and the organization that subsequently joins the application chain is the application chain participating member role. The above four roles correspond to the following three types of different permissions, namely the power to initiate a proposal, the power to vote on a proposal, and the power to operate governance strategies. The power to initiate a proposal refers to the power to initiate an application to modify the public information of the public chain and the application chain. The power to vote on a proposal refers to the power to vote on a proposal. The power to operate governance strategies refers to the power to modify governance strategies.

[0023] The corresponding relationship between roles and permissions is shown in Table 1:

[0024] Table 1

[0025]

[0026] The permission content and permission descriptions for the above three types of different permissions are shown in Table 2:

[0027] Table 2

[0028]

[0029]

[0030] In the embodiments of the present application, the proposal permission refers to the application power for initiating applications to modify public information such as members, consensus nodes, block production strategies, and contract operations of the public chain and application chains, including: changes in the consortium members of the public chain (joining, exiting), changes in the consortium consensus nodes (joining, exiting), changes in the consortium block production strategy, as well as changes in the application chain members of the application chain, changes in the application chain consensus nodes, changes in the application chain block production strategy, application chain contract operations (contract deployment, version upgrade, parameter upgrade, version forward / rollback, contract freeze / thaw, contract revocation), closing proposals, etc.

[0031] In the embodiments of the present application, the voting permission refers to the power to vote on proposals, including: changes in the consortium members of the public chain (joining, exiting), changes in the consortium consensus nodes (joining, exiting), changes in the consortium block production strategy, as well as changes in the application chain members of the application chain, changes in the application chain consensus nodes, changes in the application chain block production strategy, application chain contract operations (contract deployment, version upgrade, parameter upgrade, version forward / rollback, contract freeze / thaw, contract revocation), etc.

[0032] In the embodiments of the present application, the governance strategy operation permission refers to the power to modify the voting strategy, including: modifying the governance strategy for the proposal on changes in the consortium members of the public chain, modifying the governance strategy for the proposal on changes in the consortium consensus nodes, modifying the governance strategy for the proposal on changes in the consortium block production strategy, as well as modifying the governance strategy for the proposal on changes in the application chain members of the application chain, modifying the governance strategy for the proposal on changes in the application chain consensus nodes, modifying the governance strategy for the proposal on changes in the application chain block production strategy, and modifying the strategic governance for the proposal on application chain contract operations (contract deployment, version upgrade, parameter upgrade, version forward / rollback, contract freeze / thaw, contract revocation), etc.

[0033] The embodiments of the present application provide a governance mechanism for the consortium chain governance strategy based on a double-chain architecture, which can enable the consortium chain governance strategy to make reasonable and democratic decisions, respond to emergencies such as the inability of the initial protocol to meet actual needs or protocol upgrades, and at the same time combine the advantages of the public chain and the application chain, integrating both permission management and actual business to achieve a more efficient, secure and flexible consortium chain governance mechanism.

[0034] In addition, the governance strategies of the BaaS (Blockchain as a Service) platform in related technologies are relatively single, and there is no detailed management of the governance strategies. However, in the embodiments of the present application, the governance strategies of the simply divided public chain and application chain are further divided into specific categories for management. For example, the public chain includes the governance strategy for consortium member changes, the governance strategy for consortium consensus node changes, and the governance strategy for consortium block production strategies, and the application chain includes the governance strategy for application chain member changes, the governance strategy for application chain consensus node changes, the governance strategy for application chain block production strategy changes, and the governance strategy for application chain contract operations. Through this method, each governance strategy can be carefully governed, achieving the flexibility of governance and improving the diversification and liberalization of governance. Finally, through an effective governance and decision-making mechanism, the stability and reliability of the consortium chain network can be enhanced.

[0035] In an embodiment of the present application, the method further includes: supporting the consortium administrator to customize roles and permissions for the public chain contract method set through interface calls. The public chain contract method set includes: query permissions, add roles, edit roles, delete roles, and query roles.

[0036] The public chain contract method set of the present application supports the consortium administrator to customize roles and permissions. The public chain contract method set allows the consortium administrator to call through an interface. The public chain contract method set includes: query permissions, add roles, edit roles, delete roles, query roles, etc.

[0037] In an embodiment of the present application, the parameters of the consortium chain governance include governance strategy objects, governance members, and voting rules. The governance strategy objects include: the governance strategy for consortium member changes in the public chain, the governance strategy for consortium consensus node changes, the governance strategy for consortium block production strategies, and the governance strategy for application chain member changes in the application chain, the governance strategy for application chain consensus node changes, the governance strategy for application chain block production strategy changes, and the governance strategy for application chain contract operations. That is, the objects of the governance strategy are composed of the permission contents of the 7 governance permissions in Table 2.

[0038] Governance members refer to the organizations participating in the governance strategy, including two types: all members and custom members. Each governance strategy can select one type of membership. In one embodiment, for the governance strategy of the public chain, all members include all members of the alliance (organizations with the resource status of "created"), and the optional member list for custom members is all members of the alliance. For the governance strategy of the application chain, all members include all members of the application chain, and the optional member list for custom members is all members of the application chain.

[0039] The voting rules include two types: custom member voting rules and all member voting rules due to different governance members. Each governance strategy object can select one voting rule. In one embodiment, for all members, the voting rule adopts an implicit policy rule, which is convenient for no modification of the policy content when the members change dynamically. The voting rule is of the enumerated value type, and the enumerated content includes: all members agree, any one member agrees, and more than half of the members agree. The initialization policy of the proposal can be that more than half of the members agree, and the user can select one of them according to the need. For custom members, the voting rule adopts a fixed number of votes rule, and the voting rule includes the minimum number of voting consents required for voting success, the voting weights of each organization, and the policy voting counting rule.

[0040] In one embodiment of the present application, for the governance of the alliance chain, it includes: on the governance strategy interface, obtaining the editing performed by the user on the governance strategy object, and the editing content includes governance members and voting rules; if the user selects all members, obtaining any one of the voting rules selected by the user through the drop-down box: all members agree, any one member agrees, and more than half of the members agree; if the user selects custom members, obtaining the voting weights of each organization (i.e., members) edited by the user and the minimum number of voting consents required for voting success.

[0041] In this embodiment, on the governance strategy interface, a user with editing permission can query the governance strategy parameters of the alliance chain created or joined by this organization, and a user with editing permission can perform editing operations on the governance strategy parameters. And different voting rules will be displayed on the governance strategy interface according to whether the governance members selected by the user are all members or custom members. For all members, different privacy policy rules can be selected by the user through the drop-down box, including: all members agree, any one member agrees, and more than half of the members agree.

[0042] For custom members, all members within the strategy and their voting weights will be displayed for the user to select. For example, for the voting rule corresponding to custom members, the content edited by the user includes:

[0043] (1) The administrator members are default selected and cannot be modified; the administrator members are the members who must vote. The administrator members have richer experience and professional knowledge, and their votes help to ensure that the governance strategy is more professional and reasonable, ensure the efficient implementation of decisions, and thus quickly resolve contradictions and problems in the alliance chain network.

[0044] (2) For the selected members, it is supported to set the voting weight of the member. The voting weight uses positive integers, and the value range is from 1 to 100, with a default value of 1. The voting weight represents the weight of the number of votes of the member. When voting on subsequent proposals, the vote counting will be based on the voting weight.

[0045] (3) Set the minimum number of votes in favor required for the voting to succeed.

[0046] (4) Strategy voting counting rule: The number of votes in favor = the number of votes in favor of organization a * voting weight + the number of votes in favor of organization b * voting weight +...... + the number of votes in favor of organization n * voting weight, where n is the number of organizations.

[0047] The embodiment of this application can realize the editing of the governance strategy and improve the flexibility of governance.

[0048] Moreover, for each category of governance strategy in the embodiment of this application, it can be edited and queried, and the weight of the organization in each policy content can be edited to achieve diversified and liberalized weight management.

[0049] In one embodiment, before the user queries and edits, the user's permissions are verified. If the user has the permissions to query and edit, then the user is allowed to query and edit.

[0050] In one embodiment of this application, for the governance of the alliance chain, it further includes:

[0051] Initiate a proposal for the governance of the alliance chain in the alliance chain, and when the proposal enters the voting stage, initiate a vote to each organization;

[0052] If the voting result of the organization meets the voting rules, then it is determined that the proposal passes.

[0053] In this embodiment, after the user edits, as Figure 2 shown, initiate a proposal for the governance of the alliance chain in the alliance chain, initialize the proposal. The proposal initialization includes determining the scope to be notified for this proposal, and then enter the voting stage of this proposal. In the voting stage, initiate a vote to the selected governance members. After the governance members vote, count the number of votes in favor of the governance members according to the strategy voting counting rule in the voting rules. Further, determine whether the number of votes in favor of the governance members is greater than the minimum number of votes in favor required for the voting to succeed in the voting rules. If it is greater, then it is determined that this proposal passes.

[0054] An embodiment of this application also provides a computer device, such as Figure 3 shown, the computer device 300 includes a processor 301 and a memory 302. A program or instruction that can run on the processor 301 is stored on the memory 302. When the program or instruction is executed by the processor 301, each step of the above-mentioned embodiment of the consortium chain governance method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.

[0055] The memory 302 can be used to store software programs and various data. The memory 302 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 302 can include volatile memory or non-volatile memory, or the memory 302 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 302 in the embodiment of this application includes but is not limited to these and any other suitable types of memory.

[0056] The processor 301 may include one or more processing units; optionally, the processor 301 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor may not be integrated into the processor 301 either.

[0057] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the federated blockchain governance method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.

[0058] It should be noted that in this article, the terms "including", "comprising" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0059] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.

Claims

1. A consortium chain governance method based on a dual-chain architecture, characterized in that: include: Based on the dual-chain architecture of public chain and application chain collaboration, alliance chain governance is carried out. The public chain is responsible for managing the permissions of participating organizations in the alliance, and the application chain is responsible for handling the actual business of the alliance. The organization that creates the public chain is used as the alliance administrator, and the organizations that subsequently join the public chain are used as alliance participating members; the organization that creates the application chain is used as the application chain administrator, and the organizations that subsequently join the application chain are used as application chain participating members; The alliance administrator role, the alliance participating member role, the application chain administrator role and the application chain participating member role all correspond to the following three different permissions: proposal initiation permission, proposal voting permission and governance strategy operation permission. The proposal initiation permission refers to the application power initiated to modify the public information of the public chain and the application chain, the proposal voting permission refers to the power to vote on the proposal, and the governance strategy operation permission refers to the power to modify the governance strategy.

2. The method according to claim 1, characterized in that The rights to initiate proposals include: changes in alliance members, alliance consensus nodes, and alliance block generation strategies of the public chain, as well as changes in application chain members, application chain consensus nodes, application chain block generation strategies, and application chain contract operations of the application chain; The rights of the proposal voting rights include: changes to the alliance members, alliance consensus nodes, and alliance block generation strategies of the public chain, as well as changes to the application chain members, application chain consensus nodes, application chain block generation strategies, and application chain contract operations of the application chain; The authority content of the governance policy operation authority includes: changing the governance policy of alliance members of the public chain, changing the governance policy of alliance consensus nodes, and changing the governance policy of alliance block generation strategy, as well as changing the governance policy of application chain members of the application chain, changing the governance policy of application chain consensus nodes, changing the governance policy of application chain block generation strategy, and application chain contract operation governance policy.

3. The method according to claim 1, characterized in that: The method further comprises: The alliance administrator is supported to customize roles and permissions for the public chain contract method set through interface calls. The public chain contract method set includes: query permissions, add roles, edit roles, delete roles, and query roles.

4. The method according to claim 1, characterized in that The parameters of the alliance chain governance include governance policy objects, governance members and voting rules. The governance policy objects include: governance policies for alliance member changes of the public chain, governance policies for alliance consensus node changes, governance policies for alliance block generation strategies, and governance policies for application chain member changes of the application chain, governance policies for application chain consensus node changes, governance policies for application chain block generation strategy changes, and application chain contract operation governance policies. The governance members include all members and custom members. The voting rules include custom member voting rules and all member voting rules due to the differences in the governance members. Each of the governance policy objects corresponds to one governance member and one voting rule.

5. The method according to claim 4, characterized in that For the governance strategy of the public chain, the all members include all members of the alliance, and the optional member list of the custom members is all members of the alliance; For the governance strategy of the application chain, the all members include all members of the application chain, and the optional member list of the custom members is all members of the application chain.

6. The method according to claim 4, characterized in that For all members, the voting rules adopt implicit strategy rules, and the voting rules include: all members agree, any member agrees, and more than half of the members agree; For the user-defined members, the voting rules adopt a fixed number of votes rule, and the voting rules include the minimum number of votes required for a successful vote, the voting weight of each organization, and the strategic voting counting rule.

7. The method according to claim 4, characterized in that The alliance chain governance includes: In the governance policy interface, obtain the user's edits to the governance policy object, including governance members and voting rules; If the user selects all members, any one of the voting rules selected by the user through the drop-down box, including consent of all members, consent of any one member, and consent of more than half of the members, is obtained; if the user selects custom members, the voting weight of each organization edited by the user and the minimum number of votes required for a successful vote are obtained.

8. The method according to claim 7, characterized in that The alliance chain governance also includes: Initiate a proposal for the governance of the alliance chain in the alliance chain, and initiate voting to various organizations when the proposal enters the voting stage; If the voting result of the organization meets the voting rules, the proposal is considered to be passed.

9. A computer device, characterized in that: It includes a processor and a memory, the memory stores a program or instruction running on the processor, and when the program or instruction is executed by the processor, the steps of the alliance chain governance method based on the dual-chain architecture as described in any one of claims 1 to 7 are implemented.

10. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by the processor, the steps of the alliance chain governance method based on the dual-chain architecture as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for realizing alliance chain autonomy by combining on-chain and off-chain based on voting

    CN111159764A

  • Intelligent contract management method and device based on alliance governance and storage medium

    CN114090683A

  • Alliance chain cross-chain distributed governance method and device and server

    CN114328666A