Patent ID: 11902352
Assignee: GUIZHOU BAISHANCLOUD TECHNOLOGY CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 4:
5. A computer device comprising:
a processor; and
a memory storing a computer program that, when executed by the processor, causes the processor to:
receive a domain name resolution request from a client, the domain name resolution request including a customized parameter related to accessing resources;

wherein the customized parameter includes at least one of a user parameter, a file type parameter, or a URL parameter;
resolve the domain name resolution request and determining a target server based on the customized parameter, including:
determining a target node according to a user real IP and a node resource coverage plan, wherein the node resource coverage plan specifies areas covered by resources of each node, and the each node comprises servers for providing the resources;
in response to obtaining the customized parameter in the domain name resolution request, determining one or more candidate servers from all servers in the target node based on the customized parameter;
in response to not obtaining the customized parameter in the domain name resolution request, determining all servers in the target node as the one or more candidate servers; and
determining the target server according to a current state of each of the one or more candidate servers; and

return an IP address of the target server to the client;
wherein the computer program further causes the processor to:
in response to the customized parameter including a single parameter, determine the one or more candidate servers according to the single parameter;
in response to the customized parameter including a plurality of parameters, determine the one or more candidate server in order of priority of the plurality of parameters, including:
determining a first candidate server according to one of the plurality of parameters that has a highest priority; and
in response to a load capacity of the first candidate server is less than a preset threshold, determining a second candidate server according to another one of the plurality of parameters that has a next highest priority; and

in response to a load capacity of each of the one or more candidate servers being greater than the preset threshold, determine one or more target servers from the one or more candidate servers.