Aiming at the limited learning ability of a single model, the objective of this paper is to investigate situational awareness of the network security which is established on the fusion model. In this paper, a convolutional neural network (CNN) and long short-term memory (LSTM)-based model for situational assessment of the network security condition are provided. According to different fusion methods, the parallel and serial CNN-LSTM fusion models were constructed to evaluate the UNSW-NB15 data set, and both the situation values and levels were obtained. The investigational outcomes illustrate that the evaluation accuracy of the two models can reach up to 85.19% and 92.59%, respectively. A situation prediction model called IPSO-ABiLSTM is suggested and is based on improved particle swarm optimization (IPSO) and attention fusion bidirectional long short-term memory (ABiLSTM). The IPSO has the characteristics of faster convergence speed to optimize the ABiLSTM network parameters and obtain the optimal parameters for situation prediction. The investigational outcomes illustrate that the suggested IPSO-ABiLSTM model has a fitting degree of up to 0.9922, which can effectively achieve the situation prediction in the network security.