Electric Power ›› 2026, Vol. 59 ›› Issue (1): 66-75.DOI: 10.11930/j.issn.1004-9649.202507021

• Energy and Electricity Data Elements and Artificial Intelligence Applications • Previous Articles     Next Articles

Diffusion model-based background traffic generation for power grid digital systems

SUN Xuan1(), QIAO Mengyan1(), LI Jun1(), SHEN Liyan1(), DAI Haiying2(), HAO Nan2(), CHANG Qicheng3(), ZHOU Hao4()   

  1. 1. School of Computer, Beijing Information Science and Technology University, Beijing 102206, China
    2. State Grid Xinyuan Maintenance Branch, Beijing 100053, China
    3. Federal Home Loan Mortgage Corporation, McLean Virginia 22102, America
    4. Key Laboratory Ministry of Industry and Information Technology, China Industrial Control Systems Cyber Emergency Response Team, Beijing 100040, China
  • Received:2025-07-08 Revised:2025-12-22 Online:2026-01-13 Published:2026-01-28
  • Supported by:
    This work is supported by National Natural Science Foundation of China (No.62302057) and State Grid XinYuan Group Co., Ltd. Science and Technology Project (No.SGXYKJ-2025-033).

Abstract:

To address the limitations of current background traffic generation methods in power communication—particularly in modeling protocol behaviors, capturing temporal dependencies, and controlling traffic category distributions—this paper proposes a background traffic generation approach based on diffusion models and bidirectional flow (DMBF). By employing transforms basic flow data into an intuitive picture (FlowPic), we extract bidirectional session images featuring directionality, temporality, and packet-length coupling characteristics. This is combined with a Transformer for temporal modeling. A conditional control mechanism is introduced to adjust the generation ratios of different traffic types, enabling the diffusion model to generate background flows under guided conditions. To evaluate the practicality and generalizability of the proposed method, experiments are conducted on datasets comprising both publicly available traffic samples and real-world network communication data, covering a range of typical business scenarios and interaction patterns. Experimental results show that DMBF outperforms traditional generative adversarial network approaches in terms of generation accuracy and distributional consistency. JSD decreased to 28.89%, with MAE and RMSE at 26.24% and 30.91%, respectively.

Key words: power communication, cyber security, traffic generation, diffusion model, feature extraction, deep learning