The application discloses an enhanced practical
Byzantine fault tolerance method for service function chain deployment. Firstly, a three-layer trusted network
system model integrating
blockchain and deep
reinforcement learning is constructed, and network parameters and SFC deployment constraints are defined. Then, a VRPBFT enhanced
consensus mechanism integrating a verifiable random function (VRF) and a node reputation grading model is designed to quantify node credibility and realize dynamic hierarchical division. Next, a master node fair
selection method based on VRF is proposed to reduce
consensus delay and improve Byzantine node detection capability. Finally, an SDRL deep
reinforcement learning deployment algorithm is designed to dynamically adjust VNF and link deployment strategies in combination with node credibility, thereby optimizing
resource utilization and
service quality. Compared with the traditional PBFT, the
consensus delay is reduced by about 30%, and the proportion of Byzantine nodes is reduced by 40% after 100 rounds of consensus. Compared with existing algorithms, the long-term average income of the SDRL
algorithm is increased by 17%, the SFC request
acceptance rate is increased by 14.49%, the income-cost ratio is increased by 20.35%, the CPU
resource utilization rate is 42% and is increased by 27.96%, the safety of SFC deployment in a
heterogeneous network is ensured, and the collaborative optimization of
resource utilization and
service quality is realized, so that the application is suitable for SFC trusted deployment in a
heterogeneous network environment such as
the Internet of Things and 5G.