Accurate prediction of patient-specific ventilator parameters is crucial for optimizing patient-ventilator interaction. Current approaches encounter difficulties in concurrently observing long-term, time-series dependencies and capturing complex, significant features that influence the ventilator treatment process, thereby hindering the achievement of accurate prediction of ventilator parameters. To address these challenges, we propose a novel approach called the long short-term memory relation network (LSTMRnet). Our approach uses a long, short-term memory bank to store rich information and an important feature selection step to extract relevant features related to respiratory parameters. This information is obtained from the prior knowledge of the follow up model. We also concatenate the embeddings of both information types to maintain the joint learning of spatio-temporal features. Our LSTMRnet effectively preserves both time-series and complex spatial-critical feature information, enabling an accurate prediction of ventilator parameters. We extensively validate our approach using the publicly available medical information mart for intensive care (MIMIC-III) dataset and achieve superior results, which can be potentially utilized for ventilator treatment (i.e., sleep apnea-hypopnea syndrome ventilator treatment and intensive care units ventilator treatment.