Electric vehicles have become an important adjustable, controllable and flexible resource of the power grid. It is urgently needed to guide and regulate their electricity consumption behavior through market-oriented means to achieve better balanced matching and control with the multi-level grid divisional power generation and electricity consumption curves. This article uses blockchain technology to quantitatively analyze the cost and potential benefits of electric vehicles participating in peak-shaving auxiliary services, establish a strategy for the aggregation of electric vehicles to participate in grid peak-shaving auxiliary services, and guide and regulate electric vehicle power consumption behavior through market-based means. Through time transfer and storage of energy, the power system balance adjustment ability is improved.