This study presents a novel spatio-temporal detection framework for identifying False Data Injection (FDI) attacks in DC microgrid systems from the perspective of cyber–physical symmetry. While modern DC microgrids benefit from increasingly sophisticated cyber–physical symmetry network integration, this interconnected architecture simultaneously introduces significant cybersecurity vulnerabilities. Notably, FDI attacks can effectively bypass conventional Chi-square detector-based protection mechanisms through malicious manipulation of communication layer data. To address this critical security challenge, we propose a hybrid deep learning framework that synergistically combines: Convolutional Neural Networks (CNN) for robust spatial feature extraction from power system measurements; Long Short-Term Memory (LSTM) networks for capturing complex temporal dependencies; and an attention mechanism that dynamically weights the most discriminative features. The framework operates through a hierarchical feature extraction process: First-level spatial analysis identifies local measurement patterns; second-level temporal analysis detects sequential anomalies; attention-based feature refinement focuses on the most attack-relevant signatures. Comprehensive simulation studies demonstrate the superior performance of our CNN-LSTM-Attention framework compared to conventional detection approaches (CNN-SVM and MLP), with significant improvements across all key metrics. Namely, the accuracy, precision, F1-score, and recall could be improved by at least 7.17%, 6.59%, 2.72% and 6.55%.
With the high penetration of renewable energy integration and massive user participation in electricity markets, traditional short-term load forecasting methods exhibit limitations in both adaptability and prediction accuracy. There is an urgent need to explore forecasting models that better accommodate the characteristics of new power systems to ensure the accuracy of load forecasting results. To address issues such as high feature dimensions and weak correlations in historical data, and to fully exploit the temporal dependencies in load data, this paper proposes a short-term power load forecasting method based on a Bayesian-optimized Convolutional Neural Network–Long Short-Term Memory (CNN-LSTM) model. Using typical industrial and agricultural load data from a region in Qinghai Province as training data, experimental results demonstrate that the hybrid forecasting model achieves superior performance compared to standalone LSTM and CNN-LSTM algorithms.