Patent ID: 11893552
Assignee: XI'AN ANMENG INTELLIGENT TECHNOLOGY CO., LTD.
Field: IT methods for management (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A distributed consensus method for rapidly generating a block, comprising:
broadcasting, by a computer, a new transaction to all nodes;
collecting, by each of the nodes, the new transaction into a block;
evaluating, by the computer, a trust value of each of the nodes to obtain an evaluation result;
wherein evaluating the trust value of each of the nodes to obtain the evaluation result comprises:
obtaining, by the computer, a proposer of the block from all the nodes;
obtaining, by the computer, a trust value of the proposer of the block;
obtaining, by the computer, a validator of the block from all the nodes;
obtaining, by the computer, a trust value of the validator of the block; and
obtaining, by the computer, the evaluation result according to the trust values of the proposer and the validator;
wherein a formula for obtaining, by the computer, the evaluation result according to the trust values of the proposer and the validator is:, T
    i
   
   =
   
    
     
      θ
      *
      
       (
       
        
         η
         1
        
        +
        
         η
         2
        
       
       )
      
     
     
      
       f
       i
      
      +
      
       w
       i
      
      +
      1
     
    
    -
    
     
      
       f
       i
      
      +
      
       w
       i
      
     
     
      
       r
       i
      
      +
      
       c
       i
      
      +
      1
     
    
   
  
  ,
 

wherein θ represents a trust threshold, η1 represents a system-tolerable quantity of incorrect blocks submitted by the proposer, η2 represents a system-tolerable quantity of incorrect results submitted by the validator, fi represents a quantity of incorrect blocks provided by the proposer, and wi represents a quantity of incorrect votes provided by the validator,

selecting, by the computer, honest miners nodes according to the evaluation result;
obtaining, by the honest miners nodes, negotiation rules;
creating, by the honest miners nodes, a new block according to the negotiation rules, and broadcasting the new block to all the nodes; and
wherein all transactions in the nodes are valid but do not take effect, accepting, by all the nodes, the new block and adding the new block to a blockchain.