How to distinguish between "meditation" and "pure mind" when practicing the realm with Buddhism?

Meditation is to achieve a relatively stable and peaceful state of mind by various methods, and temporarily adjust all kinds of troubles and desires. However, this kind of meditation is easily broken by all kinds of external interference. That is, the so-called heart turns with the environment, and the environment can turn the heart. The purity of the mind is a higher level state on the basis of the former, and it is not affected by the external material environment, personnel environment and its own material environment. No matter how the outer edge changes, purity and freedom will not be affected if the inner heart remains motionless. That is, the so-called environment turns with the heart, and the heart can turn to the environment.