As a movable and highly flexible energy storage device, mobile energy storage can connect with multiple types of electricity entities, realize the time and space transfer of electricity. It is very consistent with the decentralization of peer-to-peer transaction, reporting at any time, and enabling the purchase and sale of electricity entities to directly connect transactions. A peer-to-peer transaction control method for multi-use electricity entities and mobile energy storage is designed. The framework structure and transaction process of mobile energy storage peer-to-peer transaction operation are established. By designing auction contracts and control contracts of mobile energy storage capacity use rights, a dual-layer smart contract is formed to realize the auction of mobile energy storage capacity, the control and use of capacity, and the management and settlement of transaction information for the main entities of electricity purchases and sales. The effectiveness and superiority of the method proposed in this paper are verified by the example.