The photoelectric field has witnessed notable progress with the emergence of perovskite quantum dots. However, their practical utility is constrained by their susceptibility to degradation and malfunction when exposed to external environmental factors like light, heat, and humidity. To overcome these limitations, a potential solution lies in the growth of perovskite quantum dots within glasses, leveraging the dense network structure of inorganic glasses to achieve a seamless encapsulation of the quantum dots. This approach effectively addresses the challenges of quantum dot stability and the risk of lead contamination by isolating the quantum dots from the external environment. This study utilizes an in situ nanocrystallization approach to cultivate CsPbBr3 perovskite quantum dots within a matrix of glasses. The resulting CsPbBr3 perovskite quantum dots glasses (CsPbBr3 PQDs@glasses) demonstrate a vibrant green emission due to exciton recombination radiation. The investigation focused on the luminescent characteristics of CsPbBr3 PQDs@glasses subjected to pressures ranging from 0 to 7 GPa, which resulted in a significant red shift in the spectra, transitioning from 519 nm to 525 nm. Electronic structure, dispersion and vibrational properties of CsPbBr3 was investigated under varying pressure conditions through the utilization of first-principles methods. Furthermore, an examination of the pressure distribution within the diamond anvil cells was conducted from a macroscopic perspective employing the finite element method. Subsequently, contactless underwater electroluminescence devices incorporating CsPbBr3 PQDs@glasses were devised, employing the principle of electromagnetic induction. This study offers essential insights into the physics of perovskite materials subjected to high pressure, thereby establishing a groundwork for prospective applications.