The key to network virtualization technology is virtual network mapping, which has been proven to be an NP-hard problem. At present, the methods to solve the problem of virtual network mapping still have the following defects. Most of the existing literature is limited to static virtual network (VN) mapping and static linear resource pricing, which rely on peak allocation and don't meet the user dynamic resource requirements. Therefore, this paper proposes a virtual network resource allocation model based on dynamic resource pricing named GSO-RBFDM. Firstly, group search optimization (GSO) is used to optimize the node mapping scheme during the network mapping process to reduce the cost of network mapping. Secondly, a dynamic nonlinear resource pricing model is established, and genetic algorithm (GA) is used to more accurately search a low-cost network mapping path instead of the traditional Dijkstra algorithm. Finally, virtual network dynamic modeling is performed according to the user dynamic resource requirements, and radial basis function (RBF) is used to predict resource requirements to realize the dynamic resource allocation to users. Simulation results show that, compared with traditional virtual network mapping algorithms, GSO-RBFDM can not only realize dynamic resource allocation, but also show good performance in terms of acceptance rate, network cost, link pressure and average network revenue.