With the rapid development of IoT and 5G technology, the core network of operators is becoming more and more complex, which makes it difficult for traditional network configuration methods to meet the explosive business needs. Therefore, based on digital twin technology, we first combine atoms and various types of data. Then, through capability modules such as atomic arrangement and capability control, twin services are constructed to complete the mapping between physical entity and twin entity from the perspective of services. Finally, the upper application realizes the prediction and analysis of the physical entity by invoking the twin service. The twin configuration system developed in this paper can effectively overcome the shortcomings of traditional methods and improve the ability of network operation and maintenance.