As a three-terminal collaborative architecture of terminal, edge and cloud, end-edge-cloud is jointly participated by multiple institutions or organizations, and has the characteristics of a hybrid trust architecture of “partially trustworthy, globally untrustworthy”. Traditional consensus algorithm designs are mostly used in relatively unified trust model environments and do not provide a mechanism for cross-organizational cooperation. Therefore, they cannot effectively solve the trust and consensus issues between organizations. We propose an improved DPoS-PBFT consensus mechanism based on reputation scoring (mRS-DBFT). The core idea of the mRS-DBFT is to add a reputation scoring mechanism based on the DPOS-PBFT consensus algorithm. The reputation score is calculated based on factors such as the node’s historical behavior, contribution, and credibility. Nodes with higher reputation score have greater influence and decision-making power in the consensus process. This mechanism can solve the problem of mutual distrust among nodes of different organizations in the end-edge-cloud architecture, and each node participates in the consensus process based on its reputation score, thus forming a credible and consistent system, achieving cross-organizational consensus, and ensuring node trust and data consistency in an open end-edge-cloud environment. The experimental results demonstrate that the mRS-DBFT consensus algorithm helps select nodes with higher stability to participate in the consensus by evaluating the reputation of computing devices, it can reduce fluctuations in delay and improve the stability of the consensus process.