In this paper, a selective input/output strategy is proposed for improving the life of photovoltaic energy storage (PV-storage) virtual synchronous generator (VSG) caused by random load interference, which can sharply reduce costs of storage device. The strategy consists of two operating modes and a power coordination control method for the VSGs. Firstly, a selective VSG input strategy is proposed based on the magnitude of disturbances, a method of offline solving model equation is used for determine the VSG input time. An online method is used for matching the disturbance frequency variations, which enables a selective VSG startup method, allowing the grid to prioritize the utilization of the generator's physical inertia. Secondly, a dynamic VSG exit strategy is developed based on dynamic frequency characteristics to prevent secondary oscillations in the frequency recovery phase of the PV-storage VSG following grid disturbances. This strategy is crucial as grid variations may affect energy storage lifespan and reduce frequency recovery speed. Finally, the proposed approach is validated for correctness and effectiveness through computer simulations and semi-physical experiments using the NI-PXI + LabVIEW platform. Through the above optimization and research, the selective start of VSG is realized, the energy storage life is improved, the capacity of charge and discharge cycles is reduced by 37.82 % compared with the strategy without investment and withdrawal, and the life loss in the secondary charge and discharge process of PV-storage VSG is avoided, which is conducive to frequency recovery.