The invention relates to the field of information technology, and discloses a virtual service migration method and system based on incremental minimum cost and maximum flow. The method includes: constructing a network topology map according to the geographical location and connection relationship of edge servers; The shortest path distance between servers, and generate the shortest path distance matrix; combined with the access information of each service, establish the minimum cost maximum flow model, the model includes service nodes and edge server nodes; solve the model to obtain the minimum cost maximum flow, migrate and place service nodes; update the access information of each service, and use the incremental minimum cost maximum flow algorithm to update the location of service nodes; carry out real-time monitoring and statistics, when the change rate of access information exceeds When setting the threshold, adjust its corresponding service node and edge server node. The invention can solve the optimal service placement and migration scheme in a short time, and is simple, reliable and easy to implement.