With the blockchain technology widely concerned by government departments and financial institutions and other industries,the theoretical research on the blockchain has also reached an upsurge.In order to improve the operation efficiency of the blockchain system,we study the transaction confirmation process of the blockchain system in the discrete time domain,establish the mathematical model,analysis the system response performance,optimize blockchain system and so on.Firstly,based on the fact that the capacity of each block has an upper limit and the transactions contained in the block are verified at the same time,we introduce a limit mechanism and a batch service mechanism to build a G-limited vacation model with a batch service.Using the method of embedding markov chain,we give the transaction number generating function at the beginning of the system service period.By using the regenerative cycle method,we obtain the expression of the average confirmation time of transactions under steady state and evaluate the response performance of the blockchain system.Secondly,considering that empty block may be produced in the mining process,we introduce an empty block verification mechanism to establish a G-limited vacation model with a batch service and a zero-load service.By using the regeneration cycle method,we analyze the system model and obtain the average confirmation time of transactions.The theoretical analysis experiments and simulation statistics experiments were carried out to analyze the variation trend of system response performance with different system parameters.Then,considering the different levels of transactions are classified into blocks,we introduce the priority mechanism and establish a G-limited vacation model with priority,a batch service and a zero-load service.By using the regeneration cycle method and the elapsed time method,we calculate the average confirmation time of transactions of different levels.With system experiments,we illustrate the influence of system parameters on the average confirmation time of transactions of different levels.Finally,from the perspective of economics,considering the service revenue obtained by the transaction users and the time cost of the average confirmation time of transactions,we construct the individual revenue function of the transaction and the social revenue function of the system as a whole for different block chain systems.In order to maximize the social benefits of blockchain system,we study the transaction fee scheme and adjust the transaction arrival behavior. |