The invention discloses a
virtual network mapping method which includes the steps that 1, a
request queue and a
service gateway queue are generated; 2, whether a virtual request resource which is not mapped successfully exits or not is judged, and if yes, step 3 is executed; if not, virtual resource request mapping is ended; 3, a
service gateway is selected; 4, underlying cluster selection is conducted; 5, whether virtual resource request mapping is solvable or not is judged, if yes,
virtual network mapping is conducted, an underlying
physical network resource state is updated, the request is deleted, and step 2 is executed; if not, step 6 is executed; 6, whether the underlying cluster range is smaller than the
service gateway management region or not is judged, if yes, the underlying cluster range is broadened, and step 5 is executed; if not, the service gateway is deleted, and step 7 is executed; 7, whether the service gateway
queue is empty or not, and if not, step 3 is executed; if yes, step 8 is executed; 8, whether times of queuing again exceed the preset times or not is judged, if yes, the request is rejected, and step 2 is executed; if not, the request is sent to a waiting
queue, and step 2 is executed. By means of the
virtual network mapping method, the mapping success number is maximized.