Microstructure characterization, phase transition, and device application of phase-change memory materials flexible devices in-situ characterization Phase-change memory structural regulation