Nothing Special   »   [go: up one dir, main page]

CN113364871A - Node election method and device based on intelligent contract and electronic equipment - Google Patents

Node election method and device based on intelligent contract and electronic equipment Download PDF

Info

Publication number
CN113364871A
CN113364871A CN202110633510.2A CN202110633510A CN113364871A CN 113364871 A CN113364871 A CN 113364871A CN 202110633510 A CN202110633510 A CN 202110633510A CN 113364871 A CN113364871 A CN 113364871A
Authority
CN
China
Prior art keywords
contract
consensus
node
leader
consensus node
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
CN202110633510.2A
Other languages
Chinese (zh)
Other versions
CN113364871B (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.)
Hangzhou Rivtower Technology Co Ltd
Original Assignee
Hangzhou Rivtower 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 Hangzhou Rivtower Technology Co Ltd filed Critical Hangzhou Rivtower Technology Co Ltd
Priority to CN202110633510.2A priority Critical patent/CN113364871B/en
Publication of CN113364871A publication Critical patent/CN113364871A/en
Application granted granted Critical
Publication of CN113364871B publication Critical patent/CN113364871B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1051Group master selection mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the specification relates to a node election method, a node election device and electronic equipment based on an intelligent contract, which are applied to a alliance chain system and mainly comprise the following steps: deploying a consensus node management contract in the block chain creation block, and allocating a corresponding contract address to the consensus node management contract; in the contract initialization process, storing a consensus node list and a Leader node election rule into the consensus node management contract as an initial consensus node management rule; and calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule, and performing Leader node election and consensus according to the Leader node election rule. Therefore, the consensus voting right and the Leader election function are separated and controlled through an intelligent contract, and therefore the consensus efficiency is improved.

Description

Node election method and device based on intelligent contract and electronic equipment
Technical Field
The embodiment of the specification relates to the technical field of networks, in particular to a node election method and device based on an intelligent contract and electronic equipment.
Background
In the current alliance chain system, a BFT type algorithm is usually adopted for consensus, in the BFT type consensus algorithm, a Leader node is elected at first, a Leader node sends out a pre-packed block, after two subsequent rounds of voting, consensus nodes collect enough votes to achieve consensus, and if the consensus cannot be achieved in the current round, the new Leader node is replaced in the next round, and the processes are repeated until the consensus is achieved finally.
In a federation chain, a Leader node usually adopts a mode of taking a consensus node in turn, but in an actual network environment and a service scene, the consensus node cannot reach all interlinks due to some special conditions, so that the mode of taking a Leader in turn is not ideal. For example, in the topological network structure shown in fig. 1, the consensus nodes node-A, node-B, node-C, node-D are interconnected two by two, while the consensus nodes node-E and node-F can only be connected with the consensus node-C, node-D, for some network or other special reasons. When it is the turn of nodes-E and-F as Leader nodes and when the network conditions are not good, it may result in a reduction in consensus efficiency.
Disclosure of Invention
The embodiment of the specification provides a node election method and device based on an intelligent contract and electronic equipment, and aims to solve the problem that in the prior art, consensus nodes serve as leader nodes in turn, so that consensus efficiency is reduced.
In order to solve the above technical problem, the embodiments of the present specification adopt the following technical solutions:
in a first aspect, a node election method based on an intelligent contract is provided, and is applied to a federation chain system, and the method includes:
deploying a consensus node management contract in the block chain creation block, and allocating a corresponding contract address to the consensus node management contract;
in the contract initialization process, storing a consensus node list and a Leader node election rule into the consensus node management contract as an initial consensus node management rule;
and calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule, and performing Leader node election and consensus according to the Leader node election rule.
In a second aspect, an intelligent contract-based node election device is provided, which is applied to a federation chain system, and includes:
a contract deployment module: the system comprises a contract management module, a contract management module and a contract management module, wherein the contract management module is used for deploying a consensus node management contract in a block chain creation block and allocating a corresponding contract address to the contract management contract;
the management rule initialization module: the contract management system is used for storing a consensus node list and a Leader node election rule into a consensus node management contract as an initial consensus node management rule in a contract initialization process;
and the contract calling module is used for calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule in the contract management contract, and electing and consensus of the Leader node according to the Leader node election rule.
In a third aspect, an electronic device is provided, including: one or more processors and memory, wherein the memory contains one or more computer programs executable by the one or more processors to cause the one or more processors to perform a method for intelligent contract-based node election provided in accordance with embodiments of the present invention.
In a fourth aspect, the present invention further provides a storage medium storing a computer program, where the computer program makes a computer execute the node election method based on intelligent contracts provided according to the embodiments of the present invention.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: a Leader election mechanism of the coalition chain is customized by the coalition chain according to actual needs, consensus voting right and a Leader election function are separated, and control is performed through an intelligent contract, so that consensus efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative efforts.
FIG. 1 is a schematic diagram of a topology network;
FIG. 2 is a schematic diagram illustrating steps of a node election method based on intelligent contracts according to an embodiment of the present specification;
fig. 3 is a schematic structural diagram of a node election device based on an intelligent contract according to an embodiment of the present specification;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of this specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort belong to the protection scope of the embodiments in the present specification.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 2, a schematic diagram of steps of a node election method based on an intelligent contract provided in an embodiment of the present specification, which is applied to a federation chain system, may include the following steps:
step 201: deploying a consensus node management contract in the block chain creation block, and allocating a corresponding contract address to the consensus node management contract;
step 202: in the contract initialization process, storing a consensus node list and a Leader node election rule into the consensus node management contract as an initial consensus node management rule;
step 203: and calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule, and performing Leader node election and consensus according to the Leader node election rule.
Further, the consensus node list is an array representing consensus node public keys, and the consensus node public keys correspond to the identities of the consensus nodes one to one;
the Leader node election rule represents the sequence and the weight of the consensus nodes when electing the Leader nodes in the form of a consensus node public key array.
For example, for the topology network structure diagram shown in fig. 1, the consensus node management contract may specify that the consensus node list is node-a/node-B/node-C/node-D/node-E/node-F, and the Leader node election rule indicates that ABCDEF has a consensus voting function in the consensus process in the form of a consensus node public key array ACDBCD, but the node having the Leader function is ABCD, and the Leader node election sequence is ACDBCD, and it can be seen that which nodes are included in the sequence may be Leader nodes, and the sequence of the Leader nodes and the weights of the Leader nodes, so that the Leader node election may be sequentially repeated in the consensus process according to the sequence of ACDBCD.
The common identification node management contract is deployed into the creation block in the form of a system contract when the creation block is initialized, and a fixed address is given to the contract. And the consensus node list and the Leader node election rule are stored in the contract initialization process, so that the initial consensus node management rule is obtained after the creation block is generated. All the common-recognition nodes adopt the same creation block, and cache the common-recognition node list and the Leader election rule from the common-recognition node management contract of the creation block, so that all the common-recognition nodes perform Leader node election and common recognition according to a preset sequence.
Further, a contract interface of the contract management contract may be set, and the contract interface may be invoked to update the list of the contract management node and/or the Leader node election rule by sending an update transaction.
And when the update transaction is packaged and the block where the update transaction is located is determined, and when the transaction calls the consensus node management contract in the block, the consensus node actively inquires the latest and latest consensus node list and the Leader node election to locally update the cache, and the Leader node election is performed according to the latest Leader node election rule.
Therefore, when the network topology structure of the alliance chain changes, including the situation that the network link changes under the condition that the number of the consensus nodes is not changed, the administrator of the system contract increases the consensus nodes, deletes the consensus nodes, and modifies the Leader node election rule, the administrator can change the network topology structure by calling the intelligent contract interface.
The method may further comprise: when the consensus node restarts or performs block synchronization, the consensus node list and the Leader node election rule are first read from the latest block to update its local cache.
Through the technical scheme of the specification, the Leader election mechanism of the alliance chain is customized by the alliance chain according to actual needs, consensus voting right and the Leader election function are separated, and control is performed through an intelligent contract, so that consensus efficiency is improved.
Example two
Referring to fig. 3, a schematic structural diagram of a node election device based on an intelligent contract provided in this embodiment of the present disclosure, where the device is applied to a federation chain system, and mainly includes:
the contract deployment module 301: the system comprises a contract management module, a contract management module and a contract management module, wherein the contract management module is used for deploying a consensus node management contract in a block chain creation block and allocating a corresponding contract address to the contract management contract;
management rule initialization module 302: the contract management system is used for storing a consensus node list and a Leader node election rule into a consensus node management contract as an initial consensus node management rule in a contract initialization process;
and the contract calling module 303 is used for calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule in the contract management contract, and performing Leader node election and consensus according to the Leader node election rule.
Further, the consensus node list is an array representing consensus node public keys, and the consensus node public keys correspond to the identities of the consensus nodes one to one;
the Leader node election rule represents the sequence and the weight of the consensus nodes when electing the Leader nodes in the form of a consensus node public key array.
Further, a contract interface setting module may be added, configured to set a contract interface of the consensus node management contract, and call the contract interface to update the consensus node list and/or the Leader node election rule by sending an update transaction.
And when the update transaction is packaged and the block where the update transaction is located is determined, and when the transaction calls the consensus node management contract in the block, the consensus node actively inquires the latest and latest consensus node list and the Leader node election to locally update the cache, and the Leader node election is performed according to the latest Leader node election rule.
Therefore, when the network topology structure of the alliance chain changes, including the situation that the network link changes under the condition that the number of the consensus nodes is not changed, the administrator of the system contract increases the consensus nodes, deletes the consensus nodes, and modifies the Leader node election rule, the administrator can change the network topology structure by calling the intelligent contract interface.
The apparatus may further comprise: when the consensus node restarts or performs block synchronization, the consensus node list and the Leader node election rule are first read from the latest block to update its local cache.
Through the technical scheme of the specification, the Leader election mechanism of the alliance chain is customized by the alliance chain according to actual needs, consensus voting right and the Leader election function are separated, and control is performed through an intelligent contract, so that consensus efficiency is improved.
It should be understood that, in the second embodiment, the node election device may execute all technical solutions related to the node election method in the form of a functional module, and implement corresponding technical effects, which are not described herein again.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 4, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the node election device based on the intelligent contract on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
deploying a consensus node management contract in the block chain creation block, and allocating a corresponding contract address to the consensus node management contract;
in the contract initialization process, storing a consensus node list and a Leader node election rule into the consensus node management contract as an initial consensus node management rule;
and calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule, and performing Leader node election and consensus according to the Leader node election rule.
The method performed by the apparatus according to the embodiment shown in fig. 3 of the present specification can be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The methods, steps, and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may also execute the method of fig. 2 and implement the functions of the corresponding apparatus in the embodiment shown in fig. 2, which are not described herein again in this specification.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
Through the technical scheme of the specification, the Leader election mechanism of the alliance chain is customized by the alliance chain according to actual needs, consensus voting right and the Leader election function are separated, and control is performed through an intelligent contract, so that consensus efficiency is improved.
Example four
Embodiments of the present specification also provide a storage medium storing a computer program, the computer program being used by a processor to execute the intelligent contract-based node election method described in the present application:
deploying a consensus node management contract in the block chain creation block, and allocating a corresponding contract address to the consensus node management contract;
in the contract initialization process, storing a consensus node list and a Leader node election rule into the consensus node management contract as an initial consensus node management rule;
and calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule, and performing Leader node election and consensus according to the Leader node election rule.
Therefore, according to actual needs, a Leader election mechanism of the coalition chain is customized by the coalition chain, consensus voting right and a Leader election function are separated, and control is performed through an intelligent contract, so that consensus efficiency is improved.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The system, apparatus, module or unit illustrated in one or more of the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with a certain functionality. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Claims (12)

1. A node election method based on intelligent contracts is applied to a alliance chain system, and is characterized by comprising the following steps:
deploying a consensus node management contract in the block chain creation block, and allocating a corresponding contract address to the consensus node management contract;
in the contract initialization process, storing a consensus node list and a Leader node election rule into the consensus node management contract as an initial consensus node management rule;
and calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule, and performing Leader node election and consensus according to the Leader node election rule.
2. The method of claim 1, wherein the list of consensus nodes is an array characterizing consensus node public keys, the consensus node public keys corresponding one-to-one with identities of the consensus nodes;
the Leader node election rule represents the sequence and the weight of the consensus nodes when electing the Leader nodes in the form of a consensus node public key array.
3. The method of claim 2, further comprising: and setting a contract interface of the contract management of the consensus node, and calling the contract interface to update the consensus node list and/or the Leader node election rule in a mode of sending update transaction.
4. The method of claim 3, further comprising:
and when the update transaction is packaged and the block where the update transaction is located is determined, and when the transaction calls the consensus node management contract in the block, the consensus node actively inquires the latest and latest consensus node list and the Leader node election to locally update the cache, and the Leader node election is performed according to the latest Leader node election rule.
5. The method of claim 1, further comprising:
when the consensus node restarts or performs block synchronization, the consensus node list and the Leader node election rule are first read from the latest block to update its local cache.
6. An intelligent contract-based node election device applied to a federation chain system, the device comprising:
a contract deployment module: the system comprises a contract management module, a contract management module and a contract management module, wherein the contract management module is used for deploying a consensus node management contract in a block chain creation block and allocating a corresponding contract address to the contract management contract;
the management rule initialization module: the contract management system is used for storing a consensus node list and a Leader node election rule into a consensus node management contract as an initial consensus node management rule in a contract initialization process;
and the contract calling module is used for calling the consensus node management contract by the consensus node, inquiring and locally caching the consensus node list and the Leader node election rule in the contract management contract, and electing and consensus of the Leader node according to the Leader node election rule.
7. The apparatus of claim 6, wherein the list of consensus nodes is an array characterizing consensus node public keys, the consensus node public keys corresponding one-to-one with identities of the consensus nodes;
the Leader node election rule represents the sequence and the weight of the consensus nodes when electing the Leader nodes in the form of a consensus node public key array.
8. The apparatus of claim 7, further comprising:
and the contract interface setting module is used for setting a contract interface of the consensus node management contract and calling the contract interface to update the consensus node list and/or the Leader node election rule in a mode of sending update transaction.
9. The apparatus of claim 8, further comprising:
and when the update transaction is packaged and the block where the update transaction is located is determined, and when the transaction calls the consensus node management contract in the block, the consensus node actively inquires the latest and latest consensus node list and the Leader node election to locally update the cache, and the Leader node election is performed according to the latest Leader node election rule.
10. The apparatus of claim 6, further comprising:
when the consensus node restarts or performs block synchronization, the consensus node list and the Leader node election rule are first read from the latest block to update its local cache.
11. An electronic device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-5.
12. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-5.
CN202110633510.2A 2021-06-07 2021-06-07 Node election method and device based on intelligent contract and electronic equipment Active CN113364871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110633510.2A CN113364871B (en) 2021-06-07 2021-06-07 Node election method and device based on intelligent contract and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110633510.2A CN113364871B (en) 2021-06-07 2021-06-07 Node election method and device based on intelligent contract and electronic equipment

Publications (2)

Publication Number Publication Date
CN113364871A true CN113364871A (en) 2021-09-07
CN113364871B CN113364871B (en) 2022-05-17

Family

ID=77532932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110633510.2A Active CN113364871B (en) 2021-06-07 2021-06-07 Node election method and device based on intelligent contract and electronic equipment

Country Status (1)

Country Link
CN (1) CN113364871B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331046A (en) * 2015-07-02 2017-01-11 中兴通讯股份有限公司 Cluster main node voting method and device
CN106878071A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain common recognition mechanism based on Raft algorithms
CN107819749A (en) * 2017-10-26 2018-03-20 平安科技(深圳)有限公司 Block catenary system and transaction data processing method based on ether mill
CN109039713A (en) * 2018-07-16 2018-12-18 夸克链科技(深圳)有限公司 A kind of block chain common recognition device and algorithm
CN109389541A (en) * 2018-08-21 2019-02-26 广东工业大学 Public good fund management method based on alliance's chain
CN109714404A (en) * 2018-12-12 2019-05-03 中国联合网络通信集团有限公司 Block chain common recognition method and device based on Raft algorithm
CN111107103A (en) * 2019-12-31 2020-05-05 南京可信区块链与算法经济研究院有限公司 Method, system and storage medium for maintaining performance of alliance chain
CN111355810A (en) * 2020-03-17 2020-06-30 重庆邮电大学 Improved PBFT consensus method based on credit and voting mechanism
CN111355600A (en) * 2018-12-21 2020-06-30 杭州海康威视数字技术股份有限公司 Method and device for determining main node
CN111369358A (en) * 2020-02-10 2020-07-03 杭州溪塔科技有限公司 Block chain consensus method and device and electronic equipment
CN112040015A (en) * 2020-11-06 2020-12-04 腾讯科技(深圳)有限公司 Consensus node list generation method and related device
CN112039964A (en) * 2020-08-24 2020-12-04 大连理工大学 Node reputation consensus method based on block chain
CN112235137A (en) * 2020-10-12 2021-01-15 杭州溪塔科技有限公司 Method and device for upgrading block link point program and electronic equipment
US20210021419A1 (en) * 2018-09-07 2021-01-21 Tencent Technology (Shenzhen) Company Limited Method and apparatus for electing representative node device, computer device, and storage medium
CN112565073A (en) * 2020-11-26 2021-03-26 中国船舶工业系统工程研究院 Unmanned ship head-collar node dynamic election system and method based on block chain
CN112788137A (en) * 2021-01-06 2021-05-11 平衡机器科技(深圳)有限公司 Alliance chain consensus method based on RAFT algorithm

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331046A (en) * 2015-07-02 2017-01-11 中兴通讯股份有限公司 Cluster main node voting method and device
CN106878071A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain common recognition mechanism based on Raft algorithms
CN107819749A (en) * 2017-10-26 2018-03-20 平安科技(深圳)有限公司 Block catenary system and transaction data processing method based on ether mill
CN109039713A (en) * 2018-07-16 2018-12-18 夸克链科技(深圳)有限公司 A kind of block chain common recognition device and algorithm
CN109389541A (en) * 2018-08-21 2019-02-26 广东工业大学 Public good fund management method based on alliance's chain
US20210021419A1 (en) * 2018-09-07 2021-01-21 Tencent Technology (Shenzhen) Company Limited Method and apparatus for electing representative node device, computer device, and storage medium
CN109714404A (en) * 2018-12-12 2019-05-03 中国联合网络通信集团有限公司 Block chain common recognition method and device based on Raft algorithm
CN111355600A (en) * 2018-12-21 2020-06-30 杭州海康威视数字技术股份有限公司 Method and device for determining main node
CN111107103A (en) * 2019-12-31 2020-05-05 南京可信区块链与算法经济研究院有限公司 Method, system and storage medium for maintaining performance of alliance chain
CN111369358A (en) * 2020-02-10 2020-07-03 杭州溪塔科技有限公司 Block chain consensus method and device and electronic equipment
CN111355810A (en) * 2020-03-17 2020-06-30 重庆邮电大学 Improved PBFT consensus method based on credit and voting mechanism
CN112039964A (en) * 2020-08-24 2020-12-04 大连理工大学 Node reputation consensus method based on block chain
CN112235137A (en) * 2020-10-12 2021-01-15 杭州溪塔科技有限公司 Method and device for upgrading block link point program and electronic equipment
CN112040015A (en) * 2020-11-06 2020-12-04 腾讯科技(深圳)有限公司 Consensus node list generation method and related device
CN112565073A (en) * 2020-11-26 2021-03-26 中国船舶工业系统工程研究院 Unmanned ship head-collar node dynamic election system and method based on block chain
CN112788137A (en) * 2021-01-06 2021-05-11 平衡机器科技(深圳)有限公司 Alliance chain consensus method based on RAFT algorithm

Also Published As

Publication number Publication date
CN113364871B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN111461887B (en) Block chain consensus processing method and device and electronic equipment
CN112153143B (en) Flow scheduling method and device for Kubernetes cluster and electronic equipment
CN110557445A (en) Access request routing method and device, storage medium and electronic equipment
CN111651467B (en) Block chain node interface issuing and calling method and device
CN111767142A (en) Current limiting threshold setting method of service node and server side equipment
CN110874650B (en) Alliance learning method, device and system fusing public domain data and private data
CN111523887B (en) Authority control method and device for intelligent contract read-only method and electronic equipment
CN111369358A (en) Block chain consensus method and device and electronic equipment
CN113703996B (en) Access control method, equipment and medium based on user and YANG model grouping
CN112751935B (en) Request processing method and device, electronic equipment and storage medium
CN111694639A (en) Method and device for updating address of process container and electronic equipment
CN108647102B (en) Service request processing method and device of heterogeneous system and electronic equipment
CN110764930A (en) Request or response processing method and device based on message mode
CN111949297B (en) Block chain intelligent contract upgrading method and device and electronic equipment
CN113364871B (en) Node election method and device based on intelligent contract and electronic equipment
CN112583742A (en) Message processing method and device
CN111651469B (en) Method and device for managing blockchain system contracts
CN115396375A (en) Service processing method, device and equipment
CN111884932B (en) Link determining method, device, equipment and computer readable storage medium
CN114625410A (en) Request message processing method, device and equipment
CN113761581A (en) Authority control method and device in block chain and electronic equipment
CN111030826A (en) Certificate revocation method and device for block chain network and electronic equipment
CN112907198A (en) Service state circulation maintenance method and device and electronic equipment
CN111209593A (en) Block chain-based distributed lock processing method, related device and electronic equipment
CN111984720A (en) Data acquisition method and device, electronic equipment and interface adaptation device

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