The invention discloses an intention-driven
network configuration template generation method, which is characterized in that
automatic translation from a user intention to a
network configuration instruction is realized by constructing a comprehensive model fusing a graph neural network and a
natural language processing model, and specifically comprises the following steps: S1, constructing a
network configuration instruction graph; s2, preparing a
data set; s3, finely adjusting the BERT model; s4, instruction embedding generation; s5, intention embedding generation; s6, calculating matching similarity; according to the method, knowledge contained in a network configuration document is mined, an instruction graph capable of representing the relation between network configuration instructions is constructed, an incidence relation
data set of a
private network service deployment intention and the network configuration instructions is prepared, a graph neural network and a
natural language processing pre-training model are fused, and through contrast learning training tuning, the network configuration instructions are optimized. The translation from the
private network deployment intention to the network configuration
instruction sequence is realized, that is, the network configuration template is automatically generated, and the pressure of a service expert on reasoning a configuration scheme in a new scene is relieved.