CN113206748A - Management method of alliance chain network, alliance chain network and electronic device - Google Patents

Management method of alliance chain network, alliance chain network and electronic device Download PDF

Info

Publication number
CN113206748A
CN113206748A CN202010078785.XA CN202010078785A CN113206748A CN 113206748 A CN113206748 A CN 113206748A CN 202010078785 A CN202010078785 A CN 202010078785A CN 113206748 A CN113206748 A CN 113206748A
Authority
CN
China
Prior art keywords
voting
request
target
governance
chain network
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.)
Granted
Application number
CN202010078785.XA
Other languages
Chinese (zh)
Other versions
CN113206748B (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010078785.XA priority Critical patent/CN113206748B/en
Publication of CN113206748A publication Critical patent/CN113206748A/en
Application granted granted Critical
Publication of CN113206748B publication Critical patent/CN113206748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/30Decision processes by autonomous network management units using voting and bidding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/46Secure multiparty computation, e.g. millionaire problem
    • H04L2209/463Electronic voting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a management method of an alliance chain network, the alliance chain network and electronic equipment, and relates to the technical field of block chains. The method comprises the following steps: acquiring voting information aiming at a target governance request in a preset time limit, wherein the target governance request is a governance request initiated in a alliance chain network, and the voting information comprises nodes participating in voting and voting options of the nodes; determining a voting result of the target governance request according to the voting weight of the node and the voting options of the node, wherein the voting weight of the node distributes the organization voting weight of the organization; and if the voting result meets the preset condition, treating the alliance link network according to the target treatment request. One embodiment in the present application has the following beneficial effects: the treatment operation of the alliance chain network is convenient and efficient, the treatment result of the alliance chain network is clear, the bifurcation can be avoided, and the treatment effect of the alliance chain network is improved.

Description

Management method of alliance chain network, alliance chain network and electronic device
Technical Field
The application relates to the computer technology, in particular to the technical field of block chains, and specifically relates to a management method of an alliance chain network, the alliance chain network and an electronic device.
Background
In order to ensure the vitality and development of the blockchain, the blockchain network needs to be managed. The existing alliance chain network is generally managed in an under-chain management mode, a plurality of organizations of the alliance chain network discuss management decisions under a chain (namely under a line), and then the alliance chain network is managed in a unified mode. The under-chain treatment mode goes against the original purpose of block chain decentralization, is complex and tedious to operate, can cause bifurcation, and has poor treatment effect.
Disclosure of Invention
The application provides a management method of a union chain network, the union chain network and electronic equipment, which aim to solve the technical problems in the prior art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, the present application provides a method for governing an alliance chain network, including:
acquiring voting information aiming at a target governance request in a preset time limit, wherein the target governance request is a governance request initiated in a alliance chain network, and the voting information comprises nodes participating in voting and voting options of the nodes;
determining a voting result of the target governance request according to the voting weight of the node and the voting options of the node, wherein the voting weight of the node distributes the organization voting weight of the organization;
and if the voting result meets the preset condition, treating the alliance link network according to the target treatment request.
By adopting the technical means, the treatment operation of the alliance chain network is convenient and efficient, the treatment result of the alliance chain network is clear, the bifurcation can be avoided, and the treatment effect of the alliance chain network is improved.
Optionally, the organization voting weights of the organizations of the federation chain network are the same.
In the embodiment, because the voting weight of the organizations is the same, each organization can be ensured to have equal decision-making weight in the alliance chain network, so that the voting result of the determined target governance request is more reasonable, and the decentralized degree of the block chain is further improved.
Optionally, the obtaining of the voting information for the target governance request within the preset time limit includes:
and acquiring voting information aiming at the target governance request within a voting period corresponding to the target governance request.
In the embodiment, the corresponding voting period is set for the target governance request, so that the governance of the alliance chain network can be realized more timely, and the governance of the alliance chain network is more efficient.
Optionally, the obtaining of the voting information for the target governance request within the voting period corresponding to the target governance request includes:
judging whether the block head time stamp of the current block is larger than the sum of the block head time stamp of the initiated block of the target governance request and the voting period of the target governance request;
and if so, acquiring voting information aiming at the target governance request before the execution of the current block is finished.
In the embodiment, whether the voting period of the target governance request expires is judged through the block header timestamp, so that the alliance chain network can more conveniently acquire the voting information aiming at the target governance request within the voting period corresponding to the target governance request.
Optionally, the obtaining of the voting information for the target governance request within the voting period corresponding to the target governance request includes:
inserting the target abatement requests into a request queue, wherein the abatement requests in the request queue are arranged according to the voting expiration time sequence;
before the execution of each block is finished, extracting the governance request with the expired vote from the request queue; the governing request when the voting expires is a governing request of which the block head timestamp of the current block is greater than the sum of the block head timestamp of the initiating block and the voting period;
and acquiring voting information of the governance request extracted from the request queue.
In the embodiment, whether the voting period of each governance request is expired or not does not need to be checked in each block, so that the resource and time required to be consumed in the governing process of the alliance chain network can be reduced, and the governing efficiency of the alliance chain network can be improved.
In a second aspect, the present application provides an alliance chain network comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring voting information aiming at a target management request in a preset time limit, the target management request is a management request initiated in a alliance chain network, and the voting information comprises nodes participating in voting and voting options of the nodes;
the determining module is used for determining the voting result of the target governance request according to the voting weight of the node and the voting options of the node, and the voting weight of the node distributes the organization voting weight of the organization to which the node belongs;
and the management module is used for managing the alliance link network according to the target management request if the voting result meets the preset condition.
Optionally, the organization voting weights of the organizations of the federation chain network are the same.
Optionally, the obtaining module is specifically configured to:
and acquiring voting information aiming at the target governance request within a voting period corresponding to the target governance request.
Optionally, the obtaining module includes:
the judgment submodule is used for judging whether the block head timestamp of the current block is greater than the sum of the block head timestamp of the block initiated by the target governance request and the voting period of the target governance request;
and the first obtaining submodule is used for obtaining the voting information aiming at the target control request before the current block is finished if the current block is finished.
Optionally, the obtaining module includes:
the inserting submodule is used for inserting the target treatment requests into a request queue, and the treatment requests in the request queue are arranged according to the voting expiration time sequence;
the extraction submodule is used for extracting the governance requests voting to expire from the request queue before the execution of each block is finished; the governing request when the voting expires is a governing request of which the block head timestamp of the current block is greater than the sum of the block head timestamp of the initiating block and the voting period;
and the second obtaining submodule is used for obtaining the voting information of the governance request extracted from the request queue.
In a third aspect, the present application provides an electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any of the methods of the first aspect.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of the first aspects.
One embodiment in the present application has the following advantages or benefits: in the application, the administration request is initiated in the alliance chain network, and any node of the alliance chain network can vote for the administration request, so that the on-chain administration of the alliance chain network is realized. In the application, the voting weight of the organization is distributed to each node of the organization in the process of determining the voting result of the governance request, and the voting result of the governance request is determined according to the voting weight of each node. By adopting the technical means, the treatment operation of the alliance chain network is convenient and efficient, the treatment result of the alliance chain network is clear, the bifurcation can be avoided, and the treatment effect of the alliance chain network is improved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic flow chart of a method for administering a federation chain network according to an embodiment of the present application;
FIG. 2 is an exemplary diagram of abatement request voting provided by embodiments of the present application;
FIG. 3 is a schematic structural diagram of a federation chain network provided by an embodiment of the present application;
fig. 4 is a block diagram of an electronic device for implementing the administering method of the alliance-link network according to the embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The application provides a method for governing an alliance chain network.
As shown in fig. 1, the method for governing the alliance-link network includes the following steps:
step 101: and acquiring voting information aiming at the target treatment request within a preset time limit.
Where the target abatement request is an abatement request initiated at a federation chain network, the term abatement request may be understood as a proposal, proposed transaction, voting transaction or transaction, etc., and the categories of abatement requests may include a variety of, for example, abatement requests relating to parameter modification of the federation chain network, abatement requests relating to software upgrade of the federation chain network, abatement requests relating to organizational additions or deletions of the federation chain network, etc.
The federation chain network includes a plurality of organizations, each organization including at least one node (also referred to as a "consensus node"), the target abatement request may be initiated at the federation chain network by a node of an organization in the federation chain network, the node initiating the abatement request may also be referred to as a proposer, or the like.
After the target abatement request is initiated by the alliance-link network, any node of the alliance-link network may receive or acquire the target abatement request and may participate in voting of the target abatement request, and options of the voting may include multiple types, for example, agreement, abstention, disagreement, strong disagreement, and the like. Nodes of the federation chain network may not participate in the voting of the target abatement request.
In order to effectively control the number of abatement requests in the alliance chain network, the creator and deployer of the alliance chain can also give the initiation authority of the abatement requests to only alliances, and any organization (any node) of the alliance chain network can participate in voting.
The voting information includes nodes voting for the target governance request and voting options of the nodes, and specifically, the voting information includes both information of the nodes participating in the voting for the target governance request and information of the voting options of the nodes.
The preset time limit may be a voting time limit set by an initiator of the target governance request when the target governance request is initiated, may also be a voting time limit set in advance by a creator and a deployer of the federation chain, and may also be a voting time limit determined according to a category of the target governance request, which is not limited in the present application.
In this step, after the target governance request is initiated in the alliance-link network, the alliance-link network may obtain voting information for each node of the alliance-link network in a preset time limit with respect to the target governance request. Because the treatment request is initiated on the alliance chain network, and each node of the alliance chain network votes for the treatment request on the alliance chain network, the treatment of the alliance chain network is not only open and clear, but also is more convenient and efficient, and meets the original intention of decentralization of a block chain.
Step 102: and determining the voting result of the target governance request according to the voting weight of the node and the voting options of the node, wherein the voting weight of the node distributes the organization voting weight of the organization.
Since the federation chain network includes multiple organizations, each organization may enjoy a corresponding organization voting weight in order to ensure that each organization has the appropriate decision-making weights in the federation chain network. If there are multiple nodes in each organization, the nodes can distribute the voting weight of the organization to which the nodes belong so as to ensure that each node has proper decision-making weight in the alliance chain network.
In this step, the alliance chain network may determine the voting result of the target governance request according to the voting weight of the node and the voting options of the node. The voting results of the abatement request may be of various kinds, e.g., agree, disagree, strongly disagree, and so on. For example, on the premise that the voting weights of all the participating votes reach a certain threshold, if the strongly disagreeable voting weights reach a certain threshold, the voting result is strongly disagreeable; if the agreed voting weight reaches a certain threshold value, the voting result is agreed; the rest are disagreeable.
Because the voting weight of each node of each organization in the alliance chain network is considered, the voting result of the determined target governance request is more reasonable, and the governance result of the alliance chain network according to the voting result is more reasonable.
Step 103: and if the voting result meets the preset condition, treating the alliance link network according to the target treatment request.
The preset condition may be a condition set by an initiator of the target abatement request when the target abatement request is initiated, may also be a condition preset by a creator and deployer of the federation chain, and may also be a condition determined according to a category of the target abatement request, which is not limited in this application.
For example, if the target abatement request is an abatement request for parameter modification of the alliance chain network, and the voting result of the target abatement request is agreement, the alliance chain network is abated according to the target abatement request.
In the application, the administration request is initiated in the alliance chain network, and any node of the alliance chain network can vote for the administration request, so that the on-chain administration of the alliance chain network is realized. In the application, the voting weight of the organization is distributed to each node of the organization in the process of determining the voting result of the governance request, and the voting result of the governance request is determined according to the voting weight of each node. By adopting the technical means, the treatment operation of the alliance chain network is convenient and efficient, the treatment result of the alliance chain network is clear, the bifurcation can be avoided, and the treatment effect of the alliance chain network is improved.
Optionally, the voting weights of the organizations of the federation chain network are the same, that is, each organization of the federation chain network can enjoy a voting weight of 1/organization number.
In the embodiment, because the voting weight of the organizations is the same, each organization can be ensured to have equal decision-making weight in the alliance chain network, so that the voting result of the determined target governance request is more reasonable, and the decentralized degree of the block chain is further improved.
Further, the voting weights of the nodes in the same organization of the federation chain network are the same, i.e., the voting weight of each node in the same organization can share 1/node number of the organization voting weight.
In the embodiment, because the voting weights of all nodes in the same organization are the same, each node can be ensured to have equal decision-making weights in the organization to which the node belongs, the voting result of the determined target governance request is more reasonable, and the decentralized degree of the block chain is further improved.
Optionally, the obtaining of the voting information for the target governance request within the preset time limit includes:
and acquiring voting information aiming at the target governance request within a voting period corresponding to the target governance request.
In this embodiment, a corresponding voting period may be set for the target control request, and each node of the federation chain network may vote for the target control request within the voting period, and if the voting period is exceeded, the node of the federation chain network may be considered as an invalid vote even if it votes for the target control request.
Specifically, the voting period corresponding to the target governance request may be in units of time, and the voting period corresponding to the target governance request may be determined according to the category of the target governance request.
In the embodiment, the corresponding voting period is set for the target governance request, so that the governance of the alliance chain network can be realized more timely, and the governance of the alliance chain network is more efficient.
Optionally, the obtaining of the voting information for the target governance request within the voting period corresponding to the target governance request includes:
judging whether the block head time stamp of the current block is larger than the sum of the block head time stamp of the initiated block of the target governance request and the voting period of the target governance request;
and if so, acquiring voting information aiming at the target governance request before the execution of the current block is finished.
In this embodiment, the block header timestamp of each block is considered to be constant, and therefore, whether the voting period of the target abatement request has expired can be determined based on the block header timestamp. Specifically, if the block header timestamp of the current block is greater than the sum of the block header timestamp of the initiating block of the target abatement request and the voting period of the target abatement request, it indicates that the voting period of the target abatement request expires when the current block is executed, and the alliance link network may end the voting of the target abatement request before the current block is executed.
For example, as shown in fig. 2, assuming that the originating block of a target abatement request is block height 1, the target abatement request is packaged into block height 1, the voting period of the target abatement request is t0, the block header timestamp of block height 1 is t1, and the block header timestamp of block height 4 is t2, if t2> t1+ t0, this indicates that the voting period of the target abatement request expires at block height 4. The alliance-link network may obtain voting information for the target abatement request before block height 4 execution ends. If the voting result of the target governance request is agreement, the alliance chain network can govern the alliance chain network according to the target governance request, so that the state of the whole alliance chain network is changed after the block height 4 is finished and before the block height 5 is started.
In the embodiment, whether the voting period of the target governance request expires is judged through the block header timestamp, so that the alliance chain network can more conveniently acquire the voting information aiming at the target governance request within the voting period corresponding to the target governance request.
Optionally, the obtaining of the voting information for the target governance request within the voting period corresponding to the target governance request includes:
inserting the target abatement requests into a request queue, wherein the abatement requests in the request queue are arranged according to the voting expiration time sequence;
before the execution of each block is finished, extracting the governance request with the expired vote from the request queue; the governing request when the voting expires is a governing request of which the block head timestamp of the current block is greater than the sum of the block head timestamp of the initiating block and the voting period;
and acquiring voting information of the governance request extracted from the request queue.
In this embodiment, the request queue may store the voting expiry time and the identity of each abatement request (e.g. abatement request ID) and sort in the voting expiry time order, and when a new abatement request is initiated in the federation chain network, this new abatement request will be inserted into the appropriate location of the request queue by the voting expiry time.
In this embodiment, by inserting the target abatement request into the request queue, the federation chain network can extract the abatement request whose vote expires from the request queue before the execution of each block is finished, so that it is not necessary to check whether the voting period of each abatement request expires in each block, and particularly in the case of a large number of abatement requests, resources and time required to be consumed in the abatement process of the federation chain network can be reduced, and the abatement efficiency of the federation chain network can be improved.
It should be noted that, in the application, various optional embodiments in the governance method of the alliance chain network may be implemented in combination with each other, or may be implemented separately, and the application is not limited to this.
The above-described embodiments of the present application have the following advantages or beneficial effects: in the application, the administration request is initiated in the alliance chain network, and any node of the alliance chain network can vote for the administration request, so that the on-chain administration of the alliance chain network is realized. In the application, the voting weight of the organization is distributed to each node of the organization in the process of determining the voting result of the governance request, and the voting result of the governance request is determined according to the voting weight of each node. By adopting the technical means, the treatment operation of the alliance chain network is convenient and efficient, the treatment result of the alliance chain network is clear, the bifurcation can be avoided, and the treatment effect of the alliance chain network is improved.
The present application also provides a federation chain network, as shown in fig. 3, a federation chain network 300 includes:
an obtaining module 301, configured to obtain voting information for a target governance request within a preset time limit, where the target governance request is a governance request initiated in a alliance-link network, and the voting information includes a node participating in voting and a voting option of the node;
a determining module 302, configured to determine a voting result of the target governance request according to the voting weight of the node and the voting options of the node, where the voting weight of the node apportions an organization voting weight of an organization to which the node belongs;
and a governance module 303, configured to, if the voting result meets a preset condition, govern the alliance link network according to the target governance request.
Optionally, the organization voting weights of the organizations of the federation chain network are the same.
Optionally, the obtaining module 301 is specifically configured to:
and acquiring voting information aiming at the target governance request within a voting period corresponding to the target governance request.
Optionally, the obtaining module 301 includes:
the judgment submodule is used for judging whether the block head timestamp of the current block is greater than the sum of the block head timestamp of the block initiated by the target governance request and the voting period of the target governance request;
and the first obtaining submodule is used for obtaining the voting information aiming at the target control request before the current block is finished if the current block is finished.
Optionally, the obtaining module 301 includes:
the inserting submodule is used for inserting the target treatment requests into a request queue, and the treatment requests in the request queue are arranged according to the voting expiration time sequence;
the extraction submodule is used for extracting the governance requests voting to expire from the request queue before the execution of each block is finished; the governing request when the voting expires is a governing request of which the block head timestamp of the current block is greater than the sum of the block head timestamp of the initiating block and the voting period;
and the second obtaining submodule is used for obtaining the voting information of the governance request extracted from the request queue.
The alliance chain network 300 provided by the present application can implement each process implemented by the alliance chain network in the above-mentioned administration method embodiment of alliance chain network, and can achieve the same beneficial effect, and for avoiding repetition, it is not described here again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 4 is a block diagram of an electronic device according to an embodiment of the present application, illustrating a method for administering a federation chain network. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 4, the electronic apparatus includes: one or more processors 501, memory 502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 4, one processor 501 is taken as an example.
Memory 502 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the method for administering a federated link network provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method for administering a federated link network provided herein.
The memory 502, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the abatement method of the alliance-link network in the embodiment of the present application (e.g., the acquisition module 301, the determination module 302, and the abatement module 303 shown in fig. 3). The processor 501 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions and modules stored in the memory 502, that is, implements the administration method of the alliance link network in the above method embodiment.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the electronic device according to the governance method of the alliance-link network, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 502 may optionally include memory located remotely from the processor 501, which may be connected to the alliance-link network abatement method electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the governance method of the alliance-link network may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 4 illustrates the connection by a bus as an example.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device of the administering method of the alliance-link network, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the treatment operation of the alliance chain network is convenient and efficient, the treatment result of the alliance chain network is clear, the bifurcation can be avoided, and the treatment effect of the alliance chain network is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A method for treating an alliance chain network is characterized by comprising the following steps:
acquiring voting information aiming at a target governance request in a preset time limit, wherein the target governance request is a governance request initiated in a alliance chain network, and the voting information comprises nodes participating in voting and voting options of the nodes;
determining a voting result of the target governance request according to the voting weight of the node and the voting options of the node, wherein the voting weight of the node distributes the organization voting weight of the organization;
and if the voting result meets the preset condition, treating the alliance link network according to the target treatment request.
2. The method of claim 1, wherein the organizational voting weights for each organization of the federation chain network are the same.
3. The method of claim 1, wherein obtaining voting information for a target abatement request within a predetermined time frame comprises:
and acquiring voting information aiming at the target governance request within a voting period corresponding to the target governance request.
4. The method of claim 3, wherein the obtaining of voting information for the target abatement request within the voting period corresponding to the target abatement request comprises:
judging whether the block head time stamp of the current block is larger than the sum of the block head time stamp of the initiated block of the target governance request and the voting period of the target governance request;
and if so, acquiring voting information aiming at the target governance request before the execution of the current block is finished.
5. The method of claim 3, wherein the obtaining of voting information for the target abatement request within the voting period corresponding to the target abatement request comprises:
inserting the target abatement requests into a request queue, wherein the abatement requests in the request queue are arranged according to the voting expiration time sequence;
before the execution of each block is finished, extracting the governance request with the expired vote from the request queue; the governing request when the voting expires is a governing request of which the block head timestamp of the current block is greater than the sum of the block head timestamp of the initiating block and the voting period;
and acquiring voting information of the governance request extracted from the request queue.
6. An alliance chain network comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring voting information aiming at a target management request in a preset time limit, the target management request is a management request initiated in a alliance chain network, and the voting information comprises nodes participating in voting and voting options of the nodes;
the determining module is used for determining the voting result of the target governance request according to the voting weight of the node and the voting options of the node, and the voting weight of the node distributes the organization voting weight of the organization to which the node belongs;
and the management module is used for managing the alliance link network according to the target management request if the voting result meets the preset condition.
7. A federation chain network as claimed in claim 6, wherein the organizational voting weights for each organization of the federation chain network are the same.
8. The alliance-link network of claim 6 wherein the obtaining module is specifically configured to:
and acquiring voting information aiming at the target governance request within a voting period corresponding to the target governance request.
9. The federation chain network of claim 8, wherein the obtaining module comprises:
the judgment submodule is used for judging whether the block head timestamp of the current block is greater than the sum of the block head timestamp of the block initiated by the target governance request and the voting period of the target governance request;
and the first obtaining submodule is used for obtaining the voting information aiming at the target control request before the current block is finished if the current block is finished.
10. The federation chain network of claim 8, wherein the obtaining module comprises:
the inserting submodule is used for inserting the target treatment requests into a request queue, and the treatment requests in the request queue are arranged according to the voting expiration time sequence;
the extraction submodule is used for extracting the governance requests voting to expire from the request queue before the execution of each block is finished; the governing request when the voting expires is a governing request of which the block head timestamp of the current block is greater than the sum of the block head timestamp of the initiating block and the voting period;
and the second obtaining submodule is used for obtaining the voting information of the governance request extracted from the request queue.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 5.
CN202010078785.XA 2020-02-03 2020-02-03 Management method of alliance chain network, alliance chain network and electronic device Active CN113206748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010078785.XA CN113206748B (en) 2020-02-03 2020-02-03 Management method of alliance chain network, alliance chain network and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010078785.XA CN113206748B (en) 2020-02-03 2020-02-03 Management method of alliance chain network, alliance chain network and electronic device

Publications (2)

Publication Number Publication Date
CN113206748A true CN113206748A (en) 2021-08-03
CN113206748B CN113206748B (en) 2022-10-18

Family

ID=77024879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010078785.XA Active CN113206748B (en) 2020-02-03 2020-02-03 Management method of alliance chain network, alliance chain network and electronic device

Country Status (1)

Country Link
CN (1) CN113206748B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220393879A1 (en) * 2021-05-25 2022-12-08 Zhejiang University Decentralized mechanism for collaboratively governing multi-agent trade ecosystem
CN115996130A (en) * 2023-03-23 2023-04-21 安徽中科晶格技术有限公司 DAO (digital access) treatment method, device and equipment based on preset contract and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522456A (en) * 2018-11-14 2019-03-26 全链通有限公司 The node availability detection generated based on block
CN109543075A (en) * 2018-11-14 2019-03-29 全链通有限公司 Block generation method and system
CN110110555A (en) * 2019-04-24 2019-08-09 深圳前海微众银行股份有限公司 Voting method and device in a kind of block chain
US20190253239A1 (en) * 2018-11-30 2019-08-15 Alibaba Group Holding Limited Blockchain smart contract updates using decentralized decision
US20190288846A1 (en) * 2018-03-13 2019-09-19 Paul Zawierka Method and system for verifying a voter through the use of blockchain validation
CN110602217A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Block chain-based alliance management method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190288846A1 (en) * 2018-03-13 2019-09-19 Paul Zawierka Method and system for verifying a voter through the use of blockchain validation
CN109522456A (en) * 2018-11-14 2019-03-26 全链通有限公司 The node availability detection generated based on block
CN109543075A (en) * 2018-11-14 2019-03-29 全链通有限公司 Block generation method and system
US20190253239A1 (en) * 2018-11-30 2019-08-15 Alibaba Group Holding Limited Blockchain smart contract updates using decentralized decision
CN110110555A (en) * 2019-04-24 2019-08-09 深圳前海微众银行股份有限公司 Voting method and device in a kind of block chain
CN110602217A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Block chain-based alliance management method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220393879A1 (en) * 2021-05-25 2022-12-08 Zhejiang University Decentralized mechanism for collaboratively governing multi-agent trade ecosystem
CN115996130A (en) * 2023-03-23 2023-04-21 安徽中科晶格技术有限公司 DAO (digital access) treatment method, device and equipment based on preset contract and storage medium

Also Published As

Publication number Publication date
CN113206748B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
EP4160440A1 (en) Federated computing processing method and apparatus, electronic device, and storage medium
CN111277647B (en) Block chain network member management method, device, equipment and medium
CN113206748B (en) Management method of alliance chain network, alliance chain network and electronic device
CN111769958A (en) Block chain cross-chain processing method, device, equipment and storage medium
CN110727557A (en) Log collector control method, platform, electronic device and storage medium
CN102946410A (en) Method and device for network synchronization
CN112583867A (en) Sharing method and device of intelligent household electrical appliance, electronic equipment and medium
CN108830177A (en) Farming operations behavior checking method and device
CN102946411A (en) Network synchronization system
CN111913808A (en) Task allocation method, device, equipment and storage medium
CN110795763A (en) Electronic certificate processing method, query method, device, equipment, platform and medium
CN110930011B (en) Industrial control system and method, electronic equipment and storage medium
CN110545324B (en) Data processing method, device, system, network equipment and storage medium
CN111339187A (en) Data processing method, device, equipment and storage medium based on intelligent contract
CN113254169B (en) Operation method, device, equipment and storage medium of block chain system
CN111259090A (en) Graph generation method and device of relational data, electronic equipment and storage medium
CN114401121A (en) Application program login method and device, electronic equipment and readable storage medium
CN111767149B (en) Scheduling method, device, equipment and storage equipment
CN112069137A (en) Method and device for generating information, electronic equipment and computer readable storage medium
CN111881304A (en) Author identification method, device, equipment and storage medium
CN111737534A (en) File processing method, device and equipment
CN111178846A (en) Workflow file generation method, device, equipment and storage medium
CN103701799A (en) Parameter acquiring method, server and terminal
CN110765210B (en) Authentication method, device, equipment and medium based on block chain
CN109981521B (en) Message association method, message association device and message association 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
GR01 Patent grant
GR01 Patent grant