The application relates to the technical field of cloud sandbox automatic
recovery, and provides a DNS state identification and concurrent control cloud sandbox automatic
recovery method, which comprises the following steps of S1, intercepting a sandbox access request of a
client, extracting a sandbox unique identification and querying a DNS
record, determining a sandbox state according to a DNS return result; S2, if the sandbox is in a pause state, serializing
processing of concurrent requests through a
queue manager, and triggering a single
recovery operation; S3, starting a recovery
processing process, calling a recovery interface, and completing state
verification and snapshot
information retrieval; S4, initializing a
virtualization environment based on the snapshot information, loading a sandbox state, and completing start and readiness detection; S5, after the sandbox is successfully recovered, updating a DNS
record to map a real running node; and S6,
broadcasting a recovery result to all waiting requests, forwarding an original access request, and completing response. The application aims to provide a completely transparent sandbox access experience for users, and greatly reduces infrastructure cost and
system operation and maintenance complexity.