Alliance chain governance method, computer equipment and storage medium based on dual-chain architecture
Through the alliance chain governance method based on the dual-chain architecture, the public chain and the application chain jointly manage permissions and business, which solves the problem of insufficient blockchain system governance mechanism, realizes an efficient, secure and flexible governance mechanism, and enhances the stability of the alliance chain network.
Patent Information
- Application Number
- CN202510153448.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-02-12
AI Technical Summary
The blockchain system lacks an effective governance mechanism, which makes it impossible to make reasonable and democratic decisions, especially when iterative updates and protocol upgrades lead to contradictions and conflicts.
It adopts a consortium chain governance method based on a dual-chain architecture. The public chain is responsible for authority management, and the application chain handles actual business. It achieves reasonable and democratic decision-making through a role and authority model, including the authority to initiate proposals, vote and operate governance strategies.
It achieves more efficient, secure and flexible alliance chain governance, can deal with emergencies such as the initial agreement failing to meet actual needs or protocol upgrades, and enhances the stability and reliability of the alliance chain network.
Smart Images

Figure CN120180464B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain, and in particular to a consortium chain governance method, computer equipment, and storage medium based on a dual-chain architecture. Background Art
[0002] Blockchain has attracted widespread attention for its decentralized and tamper-proof properties. However, in actual engineering practice, these characteristics often lead to numerous limitations. Blockchain's immutability conflicts with the iterative and update requirements of engineering. Resolving these conflicts requires strong decision-making, but blockchain systems in related technologies lack robust governance mechanisms for sound and democratic decision-making. Summary of the Invention
[0003] In view of this, the present application provides a consortium chain governance method, computer equipment and storage medium based on a dual-chain architecture, which solves the problem that the blockchain system in the related technology lacks a good governance mechanism to make reasonable and democratic decisions.
[0004] In a first aspect, the embodiments of the present application provide a consortium chain governance method based on a dual-chain architecture, including:
[0005] 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.
[0006] The organization that creates the public chain will be the alliance administrator, and the organizations that subsequently join the public chain will be the alliance participating members. The organization that creates the application chain will be the application chain administrator, and the organizations that subsequently join the application chain will be the application chain participating members.
[0007] 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 policy operation permission. The proposal initiation permission refers to the application permission to modify the public information of the public chain and the application chain, the proposal voting permission refers to the power to vote on proposals, and the governance policy operation permission refers to the power to modify the governance policy.
[0008] In a second aspect, an embodiment of the present application provides a computer device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0009] In a third aspect, an embodiment of the present application provides a readable storage medium, which stores a program or instruction. When the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0010] In the embodiments of the present application, a governance mechanism for the alliance chain governance strategy based on a dual-chain architecture is provided, which enables reasonable and democratic decision-making on the alliance chain governance strategy, and responds to emergencies such as the initial agreement failing to meet actual needs or protocol upgrades. At the same time, it combines the advantages of both the public chain and the application chain, and integrates both authority management and actual business aspects to achieve a more efficient, secure and flexible alliance chain governance mechanism.
[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed 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 illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0013] Figure 1 This figure shows one of the flow charts of the alliance chain governance method based on the dual-chain architecture according to an embodiment of the present application;
[0014] Figure 2 The second flowchart of the alliance chain governance method based on the dual-chain architecture according to the embodiment of the present application is shown;
[0015] Figure 3 A structural block diagram of a computer device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0016] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0017] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0018] The following, in conjunction with the accompanying drawings, describes in detail the alliance chain governance method, computer equipment, and storage medium based on the dual-chain architecture provided by the embodiments of the present application through specific embodiments and their application scenarios.
[0019] The embodiment of the present application provides a consortium chain governance method based on a dual-chain architecture, which is applied to computer devices. Figure 1 As shown, the method includes:
[0020] Step 101: Based on the dual-chain architecture of the public chain and the application chain, 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.
[0021] This application proposes a dual-chain alliance governance mechanism. When the initial agreement cannot meet actual needs, or when conflicting agreements need to be upgraded during the operation of the alliance chain network, the alliance autonomy mechanism can be used to resolve the problem.
[0022] Consortium chain governance is based on a dual-chain architecture that collaborates with public chains and application chains. The public chain manages the permissions of participating organizations within the consortium, while the application chain handles the actual consortium operations. Specifically, the public chain implements corresponding smart contracts based on the RBAC (Role-Based Access Control) permission model, authorizing participating organizations by associating permissions with roles. By default, the organization that creates the public chain assumes the consortium administrator role, while organizations that subsequently join the public chain assume the consortium member role. By default, the organization that creates the application chain assumes the application chain administrator role, while organizations that subsequently join the application chain assume the application chain member role. These four roles correspond to three different permissions: proposal initiation permission, proposal voting permission, and governance policy manipulation permission. Proposal initiation permission refers to the right to apply for modification of public information on the public chain and application chain; proposal voting permission refers to the right to vote on proposals; and governance policy manipulation permission refers to the right to modify governance policies.
[0023] The correspondence between roles and permissions is shown in Table 1:
[0024] Table 1
[0025]
[0026] The permission contents and permission descriptions of the above three different permissions are shown in Table 2:
[0027] Table 2
[0028]
[0029]
[0030] In the embodiment of the present application, the proposal authority refers to the right to apply for modification of public information such as members, consensus nodes, block generation strategies and contract operations of the public chain and application chain, including: changes in alliance members (joining, leaving), changes in alliance consensus nodes (joining, leaving), changes in alliance block generation strategies of the public chain, and changes in application chain members, application chain consensus nodes, application chain block generation strategies, application chain contract operations (contract deployment, version upgrade, parameter upgrade, version forward / rollback, contract freeze / thaw, contract abolition), closing proposals, etc.
[0031] In the embodiment of the present application, voting rights refer to the power to vote on proposals, including: changes in alliance members (joining and leaving) of the public chain, changes in alliance consensus nodes (joining and leaving), changes in the alliance block production strategy, and changes in application chain members, application chain consensus nodes, application chain block production strategy changes, application chain contract operations (contract deployment, version upgrade, parameter upgrade, version forward / rollback, contract freeze / thaw, contract abolition), etc.
[0032] In the embodiment of the present application, the governance policy operation authority refers to the power to modify the voting strategy, including: modifying the governance strategy of the public chain's alliance member change proposal, modifying the governance strategy of the alliance consensus node change proposal, modifying the governance strategy of the alliance block strategy proposal, and modifying the governance strategy of the application chain's application chain member change proposal, modifying the governance strategy of the application chain consensus node change proposal, modifying the governance strategy of the application chain block strategy change proposal, modifying the policy governance of the application chain contract operation (contract deployment, version upgrade, parameter upgrade, version forward / rollback, contract freeze / thaw, contract abolition) proposal, etc.
[0033] The embodiments of the present application provide a governance mechanism for the alliance chain governance strategy based on a dual-chain architecture, which can enable reasonable and democratic decision-making on the alliance chain governance strategy, and respond to emergencies such as the initial agreement failing to meet actual needs or protocol upgrades. At the same time, it combines the advantages of both the public chain and the application chain, and integrates both authority management and actual business aspects to achieve a more efficient, secure and flexible alliance chain governance mechanism.
[0034] In addition, the governance strategies of BaaS (Blockchain as a Service) platforms in related technologies are relatively simple, and there is no detailed management of governance strategies. However, in the embodiments of the present application, the governance strategies of the public chain and the application chain, which are simply divided, are further divided into specific categories for management. For example, the public chain includes governance strategies for alliance member changes, alliance consensus node changes, and alliance block generation strategy governance strategies. The application chain includes governance strategies for application chain member changes, application chain consensus node changes, application chain block generation strategy changes, and application chain contract operation governance strategies. In this way, each governance strategy is managed in detail, achieving governance flexibility and improving governance diversification and liberalization. Ultimately, through effective governance and decision-making mechanisms, the stability and reliability of the alliance chain network can be enhanced.
[0035] In one embodiment of the present application, the method further includes: supporting alliance administrators to customize roles and permissions for the public chain contract method set through interface calls, and 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 this application supports alliance administrators to customize roles and permissions. The public chain contract method set allows alliance administrators to call it through an interface. The public chain contract method set includes: query permissions, add roles, edit roles, delete roles, query roles, etc.
[0037] In one embodiment of the present application, the parameters for consortium chain governance include governance policy objects, governance members, and voting rules. Governance policy objects include: governance policies for consortium member changes, consortium consensus node changes, and consortium block generation strategies for public chains; as well as governance policies for application chain member changes, application chain consensus node changes, application chain block generation strategy changes, and application chain contract operation governance for application chains. In other words, the governance policy objects consist of the seven governance permissions listed in Table 2.
[0038] Governance members refer to organizations participating in the governance policy, including both full members and custom members. Each governance policy allows you to select a membership type. In one embodiment, for a public chain governance policy, full members include all alliance members (organizations with a resource status of "Created"), while the optional member list for custom members is all alliance members. For an application chain governance policy, full members include all application chain members, while the optional member list for custom members is all application chain members.
[0039] The voting rules include two types of rules, namely, custom member voting rules and all member voting rules, depending on the different governance members. Each governance policy object can choose one voting rule. In one embodiment, for all members, the voting rules adopt implicit policy rules, so that when the members change dynamically, there is no need to modify the policy content. The voting rules are of enumerated value type, and the enumeration content includes: all members agree, any member agrees, and more than half of the members agree. The initialization strategy of the proposal can be more than half of the members agree, and the user can choose one of them as needed. For custom members, the voting rules adopt fixed vote rules. The voting rules include the minimum number of votes required for a successful vote, the voting weight of each organization, and the strategy vote counting rules.
[0040] In one embodiment of the present application, alliance chain governance is performed, including: in the governance policy interface, obtaining the user's edits to the governance policy object, the edited content including 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, including the consent of all members, the consent of any one member, and the consent of more than half of the members; if the user selects custom members, obtaining the voting weight of each organization (i.e., member) edited by the user and the minimum number of votes required for a successful vote.
[0041] In this embodiment, on the governance policy interface, users with edit permissions can query the governance policy parameters of the consortium chains created or joined by their organization, and users with edit permissions can edit governance policy parameters. The governance policy interface displays different voting rules depending on whether the user selects all members or custom members. For all members, a drop-down box allows users to select different privacy policy rules, including: all members agree, any member agree, and more than half of the members agree.
[0042] For custom members, all members in the policy and their voting weights are displayed for the user to select. For example, for the voting rules corresponding to custom members, the user edits the following:
[0043] (1) Administrator members are selected by default and cannot be modified. Administrator members are members who must vote. They have richer experience and professional knowledge. Their votes help ensure that the governance strategy is more professional and reasonable, and ensure the efficient execution of decisions, thereby quickly resolving conflicts and problems in the alliance chain network.
[0044] (2) After checking the box, you can set the voting weight of the member. The voting weight uses a positive integer with a value range of 1 to 100, and the default is 1. The voting weight represents the weight of the member's votes. When voting on subsequent proposals, votes will be counted according to the voting weight.
[0045] (3) Set the minimum number of votes required for a successful vote.
[0046] (4) Strategy vote counting rule: Number of votes in favor = number of votes in favor of organization a * voting weight + number of votes in favor of organization b * voting weight + ... + number of votes in favor of organization n * voting weight, where n is the number of organizations.
[0047] The embodiments of the present application enable editing of governance policies, thereby improving the flexibility of governance.
[0048] Furthermore, the embodiment of the present application can edit and query each category of governance policies, and can edit the weights of organizations within each policy content to achieve diversified and liberalized weight management.
[0049] In one embodiment, before a user performs query and edit, the user's authority is checked. If the user has the query and edit authority, the query and edit are allowed.
[0050] In one embodiment of the present application, performing alliance chain governance also includes:
[0051] Initiate a proposal for alliance chain governance in the alliance chain, and initiate a vote to various organizations when the proposal enters the voting stage;
[0052] If the organization's voting results meet the voting rules, the proposal is considered passed.
[0053] In this embodiment, after the user edits, Figure 2 As shown in the figure, a proposal for consortium chain governance is initiated in the consortium chain and initialized. Proposal initialization includes determining the scope of notification for the proposal. Then, the proposal enters the voting phase, in which voting is initiated with the selected governance members. After the governance members vote, the number of votes in favor of the governance members is counted according to the strategic vote counting rules in the voting rules. Furthermore, it is determined whether the number of votes in favor of the governance members exceeds the minimum number of votes in favor of the voting rules for a successful vote. If so, the proposal is considered passed.
[0054] The present application also provides a computer device, such as Figure 3 As shown, the computer device 300 includes a processor 301 and a memory 302. The memory 302 stores programs or instructions that can be run on the processor 301. When the program or instruction is executed by the processor 301, the various steps of the above-mentioned alliance chain governance method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.
[0055] The memory 302 can be used to store software programs and various data. The memory 302 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may 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 may include volatile memory or non-volatile memory, or the memory 302 may include both volatile and non-volatile memory. The non-volatile memory may 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. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 302 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0056] Processor 301 may include one or more processing units. Optionally, processor 301 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 301.
[0057] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned alliance chain governance method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0058] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted 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 opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0059] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this 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 will be the alliance administrator, and the organizations that subsequently join the public chain will be the alliance participating members. The organization that creates the application chain will be the application chain administrator, and the organizations that subsequently join the application chain will be the application chain participating members. The alliance administrator role, alliance participating member role, application chain administrator role, and application chain participating member role all correspond to the following three different permissions: proposal initiation permission, proposal voting permission, and governance policy operation permission. The proposal initiation permission refers to the right to apply for modification of the public information of the public chain and the application chain; the proposal voting permission refers to the right to vote on proposals; and the governance policy operation permission refers to the right to modify the governance policy; 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.
2. The method according to claim 1, characterized in that The rights to initiate proposals include: changes to alliance members, alliance consensus nodes, and alliance block generation strategies for the public chain; and changes to application chain members, application chain consensus nodes, application chain block generation strategies, and application chain contract operations for the application chain. The proposal voting rights include: changes to alliance members, alliance consensus nodes, and alliance block generation strategies for the public chain, as well as changes to application chain members, application chain consensus nodes, application chain block generation strategies, and application chain contract operations for the application chain. 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, changing the governance policy of alliance block generation strategy, and 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 strategy.
3. The method according to claim 1, characterized in that The method further comprises: The alliance administrator is supported to customize roles and permissions of 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, wherein The parameters of the alliance chain governance include governance policy objects, governance members and voting rules. The governance policy objects include: governance policies for changing alliance members of the public chain, governance policies for changing alliance consensus nodes, governance policies for changing alliance block generation strategies, as well as governance policies for changing application chain members of the application chain, governance policies for changing application chain consensus nodes, governance policies for changing application chain block generation strategies, and governance policies for application chain contract operations. The governance members include all members and custom members. The voting rules include custom member voting rules and all member voting rules depending on the governance members. Each governance policy object 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: consent of all members, consent of any member, and consent of more than half of the members; 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 a strategic vote counting rule.
7. The method according to claim 1, characterized in that The alliance chain governance also includes: Initiate a proposal for the governance of the consortium chain in the consortium chain, and initiate voting with various organizations when the proposal enters the voting stage; If the organization's voting results meet the voting rules, the proposal is considered passed.
8. 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, it implements the steps of the alliance chain governance method based on the dual-chain architecture as described in any one of claims 1 to 7.
9. 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
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