Method, apparatus, medium, and device for scheduling access request
AssigneeGuizhou Baishancloud Technology Co., Ltd.
InventorsZize Li, Shaojun Cai
Life of this patent
Estimating the term…
Abstract
An access request scheduling method includes determining a city and a city operator corresponding to an access source IP segment; selecting, from cloud delivery nodes of the city operator, a preferred node of the access source IP segment; determining a mapping relationship between the access source IP segment and an IP of the preferred node; and issuing the mapping relationship to scheduling agent modules of the cloud delivery nodes in a network.
Claims10
An access request scheduling method, implemented by one or more processors, comprising:
- determining a city and a city operator corresponding to an access source IP segment;
- selecting, from cloud delivery nodes of the city operator, a preferred node of the access source IP segment;
- determining a mapping relationship between the access source IP segment and an IP of the preferred node;
- issuing the mapping relationship to scheduling agent modules of the cloud delivery nodes in a network;
- and
- after a current cloud delivery node of the cloud delivery nodes receives a user's access request, scheduling, by the scheduling agent module of the current cloud delivery node, the user's access request according to the mapping relationship, including:
- determining an access source IP segment to which a source IP in the user's access request belongs;
- querying for the IP of the preferred node corresponding to the access source IP segment according to the mapping relationship;
- judging whether the current cloud delivery node is the preferred node;
- returning an access response in response to the current cloud delivery node being the preferred node;
- and
- returning the IP of the preferred node to indicate a redirection operation in response to the current cloud delivery node being not the preferred node.
A computer device comprising:
- a processor;
- and
- a memory storing a computer program that, when executed by the processor, causes the processor to:
- determine a city and a city operator corresponding to an access source IP segment;
- select, from cloud delivery nodes of the city operator, a preferred node of the access source IP segment;
- determine a mapping relationship between the access source IP segment and an IP of the preferred node;
- issue the mapping relationship to scheduling agent modules of the cloud delivery nodes in a network;
- and
- after a current cloud delivery node of the cloud delivery nodes receives a user's access request, scheduling, by the scheduling agent module of the current cloud delivery node, the access request according to the mapping relationship, including:
- determining an access source IP segment to which a source IP in the user's access request belongs;
- querying for the IP of the preferred node corresponding to the access source IP segment according to the mapping relationship;
- judging whether the current cloud delivery node is the preferred node;
- returning an access response in response to the current cloud delivery node being the preferred node;
- and
- returning the IP of the preferred node to indicate a redirection operation in response to the current cloud delivery node being not the preferred node.
A computer device implemented in a cloud delivery node comprising:
- a processor;
- and
- a memory storing a computer program that, when executed by the processor, causes the processor to:
- receive an access request;
- and
- schedule the access request according to a mapping relationship between an access source IP segment and an IP of a preferred node, the preferred node being determined by:
- determining a city and a city operator corresponding to the access source IP segment;
- and
- selecting, from cloud delivery nodes of the city operator, the preferred node of the access source IP segment;
- wherein the computer program further causes the processor to:
- determine an access source IP segment to which a source IP in the access request belongs;
- query for the IP of the preferred node corresponding to the access source IP segment according to the mapping relationship;
- judge whether the cloud delivery node is the preferred node;
- return an access response in response to the cloud delivery node being the preferred node;
- and
- return the IP of the preferred node to indicate a redirection operation in response to the cloud delivery node being not the preferred node.
Dependencies are inferred from the claim text.