CN114448960A - Scheduling system, method, device, equipment and medium - Google Patents

Scheduling system, method, device, equipment and medium Download PDF

Info

Publication number
CN114448960A
CN114448960A CN202111619752.2A CN202111619752A CN114448960A CN 114448960 A CN114448960 A CN 114448960A CN 202111619752 A CN202111619752 A CN 202111619752A CN 114448960 A CN114448960 A CN 114448960A
Authority
CN
China
Prior art keywords
target
node server
edge node
access request
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111619752.2A
Other languages
Chinese (zh)
Inventor
吴林江
杨丰嘉
欧稳先
李嘉瑛
鄢智勇
陈文华
邱昊
徐教强
李林倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Cloud Technology Co Ltd
Original Assignee
Tianyi Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianyi Cloud Technology Co Ltd filed Critical Tianyi Cloud Technology Co Ltd
Priority to CN202111619752.2A priority Critical patent/CN114448960A/en
Publication of CN114448960A publication Critical patent/CN114448960A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The method comprises the steps that a target edge node server responding to an access request sent by a client is determined through a scheduling center node server, the client does not need to perform special processing, scheduling is completed under the condition that the client does not sense, in addition, the scheduling method can be applied to any scene, and the universality of the scheduling method and the use experience of a user are improved.

Description

Scheduling system, method, device, equipment and medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a scheduling system, method, apparatus, device, and medium.
Background
With the rapid development and application of the edge cloud technology, a Content Delivery Network (CDN) service node sinks to a district or even a more marginal area, and in order to provide a sink service for internet applications, for an access request sent by a client, the access request needs to be scheduled to an edge node server corresponding to the client, and the edge node server responds to the access request to provide a service for the client.
However, a communication Protocol between the client and the edge node server is mostly a hypertext Transfer Protocol (http) Protocol or a hypertext Transfer security (http) Protocol, but in the existing scheme, under a standard http Protocol or an http Protocol, a scheduling method used mainly includes: domain Name System (DNS) scheduling, http302 scheduling, and http DNS scheduling. Specifically, the DNS scheduling cannot be performed at a local level, a city level, or a county level, the http302 scheduling does not support the http request, and the http DNS scheduling can be used only by a client installed with a Software Development Kit (SDK).
Therefore, in the prior art, a corresponding scheduling method needs to be selected according to a specific use scene, and the scheduling method lacks universality and cannot be suitable for most Internet applications.
Disclosure of Invention
The application provides a scheduling system, a scheduling method, a scheduling device and a scheduling medium, which are used for solving the problems that the scheduling method in the prior art cannot be used in all scenes and is low in universality.
The embodiment of the application provides a scheduling system, which comprises:
the target scheduling center node server is used for receiving an access request sent by the client; analyzing the access request, determining a target source IP of the client, and determining a target edge node server corresponding to the target source IP according to the corresponding relation between the stored source IP and the edge node server; the access request is encapsulated by adopting an IP tunnel technology, and the encapsulated access request is sent to the target edge node server;
and the target edge node server is used for receiving the encapsulated access request and responding to the access request.
Further, the system further comprises:
the client is used for sending a domain name system DNS analysis request to the global load balancing GSLB server; the GSLB server is used for receiving the DNS analysis request sent by the client; analyzing the DNS analysis request to determine the target source IP of the client; determining the target dispatching center node server corresponding to the target source IP of the client according to the stored corresponding relation between the source IP and the dispatching center node server; and sending the target IP of the target dispatching center node server to the client.
Further, the target scheduling center node server is specifically configured to determine a target area location corresponding to the target source IP according to a pre-stored correspondence between the source IP and the area location; and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
Further, the target scheduling center node server is specifically configured to write the access request into a preset position in the encapsulated IP packet by using an IP tunnel technology according to the pre-stored encapsulated IP packet.
The embodiment of the application also provides a scheduling method, which comprises the following steps:
receiving an access request sent by a client, analyzing the access request, and determining a target source IP of the client;
determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server;
and encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server.
Further, the determining a target edge node server corresponding to the target source IP according to the stored correspondence between the source IP and the edge node server includes:
determining a target area position corresponding to the target source IP according to a pre-stored corresponding relation between the source IP and the area position;
and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
An embodiment of the present application further provides a scheduling apparatus, where the apparatus includes:
the receiving processing module is used for receiving an access request sent by a client, analyzing the access request and determining a target source IP of the client;
the determining module is used for determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server;
and the sending processing module is used for encapsulating the access request by adopting an IP tunnel technology and sending the encapsulated access request to the target edge node server.
An embodiment of the present application further provides an electronic device, where the electronic device at least includes a processor and a memory, and the processor is configured to implement the steps of the scheduling method according to any one of the foregoing descriptions when executing a computer program stored in the memory.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the scheduling method according to any one of the foregoing descriptions.
In an embodiment of the present application, a scheduling system includes: a target dispatching center node server and a target edge node server. The target scheduling center node server is used for receiving an access request sent by a client; analyzing the access request, determining a target source IP of the client, and determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server; and encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server. And the target edge node server is used for receiving the encapsulated access request and responding to the access request. In the embodiment of the application, the target edge node server responding to the access request sent by the client is determined through the scheduling center node server, so that the client does not need to perform special processing, and the scheduling is completed under the condition of no perception.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a scheduling system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an IP library provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a forwarding policy provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a processing procedure of a target scheduling center node server for an access request according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a process of forwarding data across network segments by using an IP tunneling technique according to an embodiment of the present application;
fig. 6 is an interaction process diagram of a scheduling system according to an embodiment of the present application;
fig. 7 is a schematic diagram of a scheduling process according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a scheduling apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to realize that a client is not limited by a scene when scheduling an edge node, and improve the universality of scheduling, embodiments of the present application provide a scheduling system, method, apparatus, device, and medium.
In the embodiment of the application, the scheduling system comprises a target scheduling center node server and a target edge node server. The target dispatching center node server is used for receiving an access request sent by a client; analyzing the access request, determining a target source IP of the client, and determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server; the access request is encapsulated by adopting an IP tunnel technology, and the encapsulated access request is sent to the target edge node server; and the target edge node server is used for receiving the encapsulated access request and responding to the access request.
Example 1:
fig. 1 is a schematic structural diagram of a scheduling system according to an embodiment of the present application, where the scheduling system includes: a target dispatch center node server 101 and a target edge node server 102.
The target dispatching center node server 101 is used for receiving an access request sent by a client; analyzing the access request, determining a target source IP of the client, and determining a target edge node server 102 corresponding to the target source IP according to the corresponding relationship between the stored source IP and the edge node server; encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server 102;
the target edge node server 102 is configured to receive the encapsulated access request, and respond to the access request.
In the embodiment of the present application, a scheduling method in the prior art mainly includes: DNS scheduling, http302 scheduling, and http DNS scheduling. For the DNS scheduling, in the scheduling process, the DNS cannot acquire a source IP of the client, so that city-level and district-level scheduling cannot be performed, and an extended DNS mechanism (EDNS) is also controlled by a LOCAL domain name system (LOCAL Content Delivery Network, LOCAL DNS) of each layer, so that the scheduling range and effect cannot be controlled when global scheduling is performed; for the http302 scheduling, as http jump and first packet delay functions are added in the scheduling process corresponding to the scheduling method, the performance and service quality of the http302 scheduling are too low for a client with high quality requirement, and in addition, when the http jump is performed, the IP of the client is exposed, and a Uniform Resource Locator (URL) needs to be modified, so that the jump process is easily hijacked, and meanwhile, the http302 scheduling does not support the http request; for the http DNS scheduling, a client needs to be configured, and an SDK is installed in the client, so that the application range of the http DNS scheduling is small. In summary, a scheduling method with high universality for all scenes is not available in the prior art.
Based on this, the embodiment of the present application provides a scheduling system, which at least includes a target scheduling center node server 101 and a target edge node server 102.
Specifically, in the embodiment of the present application, when a user has a requirement for accessing a network, an access request may be sent based on a client, where the access request may be an http request or an http request. If the access request is an http request, the access request uses a standard http protocol; if the access request is an https request, the access request uses a standard https protocol.
The target dispatch center node server 101 is a 4-layer efficient forwarding device, and includes a Network Interface Controller (NIC) and a data processing module. The NIC is configured to obtain the access request, and send the access request to the data processing module, so that the data processing module analyzes the access request, and determines a target source IP of the client carried by the access request. Wherein, the target source IP is the IP of LOCAL DNS of the client.
In this embodiment of the present application, a corresponding relationship between a source IP and an edge node server is stored in a target scheduling center node server 101, and after a target source IP carried in an access request is determined, the target scheduling center node server 101 determines, according to the stored corresponding relationship, a target edge node server 102 corresponding to the target source IP in the corresponding relationship, where the target edge node server 102 is an edge node server providing a service for a client sending the access request.
In the embodiment of the present application, the scheduling center node server and the edge node server are in a network segment spanning manner, so the target scheduling center node server 101 cannot directly send the access request of the client to the target edge node server 102, but needs to adopt an IP tunnel technology to forward data in the network segment spanning manner.
Specifically, in the embodiment of the present application, after the target scheduling center node server 101 determines the target edge node server 102, the IP tunneling technique is adopted to encapsulate the received access request, and send the encapsulated access request to the target edge node server 102. The target edge node server 102 responds to the encapsulated access request after receiving the access request.
In the embodiment of the present application, the target edge node server 102 that responds to the access request sent by the client is determined by the target scheduling center node server 101, and the client does not need to perform special processing, and is scheduled without any knowledge, so that the universality of the scheduling method and the use experience of the user are improved.
Example 2:
in this embodiment of the present application, the system includes a plurality of node servers of the scheduling center, and in order to determine the node server 101 of the target scheduling center and implement the access requirement of the client, on the basis of the foregoing embodiment, in this embodiment of the present application, the system further includes:
the client 103 is configured to send a DNS resolution request to a Global Load Balance (GSLB) Server 104;
the GSLB server 104 is configured to receive the DNS resolution request sent by the client 103; analyzing the DNS analysis request, and determining the target source IP of the client 103; determining the target dispatching center node server 101 corresponding to the target source IP of the client 103 according to the stored corresponding relation between the source IP and the dispatching center node server; and sending the target IP of the target dispatching center node server 101 to the client.
In the embodiment of the present application, the scheduling system further includes a GSLB server 104, where the GSLB server 104 stores an IP of each scheduling center node server and a scheduling policy configured in advance by the scheduling configuration system. The scheduling strategy is the corresponding relation between each source IP and the node server of the scheduling center. The corresponding relationship may be that one source IP corresponds to one node server of the scheduling center, or that a plurality of source IPs correspond to one node server of the scheduling center. In order to avoid the waste of resources, a plurality of source IPs generally correspond to one dispatch center node server.
In order to determine a target scheduling center node server 101 among a plurality of scheduling center node servers, when a client 103 has an access requirement, the client 103 sends a DNS resolution request to the GSLB server 104, and after receiving the DNS resolution request, the GSLB server 104 resolves the DNS resolution request to obtain a target source IP of the client 103, which is carried in the DNS resolution request. The GSLB server 104 searches for a scheduling center node server corresponding to the target source IP in the correspondence according to a correspondence between the source IP and the scheduling center node server stored in advance, and determines the scheduling center node server as the target scheduling center node server 101 corresponding to the client 103. The GSLB server 104 obtains the stored target IP of the target dispatch center node server 101 and sends the target IP to the client 103. The client 103 may send an access request to the target dispatch center node server 101 based on the target IP of the target dispatch center node server 101.
Example 3:
in order to implement the scheduling of the client to the edge node server, on the basis of the foregoing embodiments, in this embodiment of the present application, the target scheduling center node server 101 is specifically configured to determine a target area position corresponding to a target source IP according to a pre-stored correspondence between the source IP and the area position; and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relationship between the area position and the edge node server, and determining the edge node server as the target edge node server 102.
In the embodiment of the present application, the target scheduling center node server 101 stores a corresponding relationship between a source IP and an area location, which are configured in advance by a scheduling configuration system, and a corresponding relationship between an area location and an edge server. The corresponding relation between the source IP and the area position is stored in an IP library, and the corresponding relation between the area position and the edge server is stored in a forwarding strategy.
Specifically, in this embodiment of the present application, after receiving an access request sent by a client 103, a target scheduling center node server 101 obtains a source IP corresponding to the client 103 and carried in the access request, searches for a target area position corresponding to the source IP according to a stored correspondence between the source IP and the area position, and searches for a target edge node server 102 corresponding to the target area position in the stored correspondence between the area position and the edge node server.
In the embodiment of the present application, on the premise that the original access request flow of the client 103 is not changed, a scheduling center node server, that is, a 4-layer efficient forwarder setting, is added in the scheduling system, and is used to obtain the target source IP of the client 103. And according to the information pre-stored in the IP library, the location of the target area corresponding to the target source IP is determined, that is, the location information of the client 103 is determined. And determines the target edge node server 102 corresponding to the target area location according to a pre-stored forwarding policy. The forwarding of the access request is completed on the side of the target scheduling center node server 101, so that the client 103 does not have any perception and does not need any special processing, and the target edge node server 102 corresponding to the target area position where the client 103 is located provides service for the client 103.
Based on the above, the embodiment of the application is suitable for most clients based on the standard http protocol or the standard https protocol, realizes high-efficiency and low-cost access to the edge node server, and better realizes the sinking of the edge node server.
Fig. 2 is a schematic diagram of an IP library provided in an embodiment of the present application, and as shown in fig. 2, the IP library stores a corresponding relationship between a source IP and a location of an area. For example, when the source IP is 58.16.1.0/30, the corresponding regional position is prefecture A, and when the source IP is 58.16.1.5/30, the corresponding regional position is prefecture B.
Fig. 3 is a schematic diagram of a forwarding policy provided in an embodiment of the present application, and as shown in fig. 3, the forwarding policy stores a correspondence between an area location and an edge node server, and also stores an IP of the edge node server. For example, the edge node server corresponding to prefecture and county a is edge node server a, and the IP corresponding to the edge node server is IP 1; the edge node server corresponding to prefecture B is edge node server B, and the IP corresponding to the edge node server is IP 2.
Fig. 4 is a schematic diagram of a processing process of a target scheduling center node server for an access request according to an embodiment of the present application, where as shown in fig. 4, a forwarding configuration system issues a forwarding policy to the target scheduling center node server, and the target scheduling center node server receives and stores the forwarding policy. And the NIC of the target dispatching center node server receives the access request sent by the client, and the data processing module of the target dispatching center node server determines a target edge node server corresponding to the client according to the stored IP library and the forwarding strategy. And encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server.
Example 4:
to implement forwarding of an access request, on the basis of the foregoing embodiments, in an embodiment of the present application, the target scheduling center node server 101 is specifically configured to write the access request into a preset position in an encapsulated IP packet by using an IP tunneling technique according to the pre-stored encapsulated IP packet.
In the embodiment of the present application, the scheduling center node server and the edge node server are in a network segment spanning manner, so the target scheduling center node server 101 cannot directly send the access request of the client 103 to the target edge node server 102, but needs to adopt an IP tunneling technique to forward data in the network segment spanning manner.
The IP tunneling technique encapsulates a complete IP packet into a data portion of another new IP packet, and transmits the data portion to a specified location through a router. The router does not care about the contents of the original protocol being encapsulated in this process. After reaching the device at the destination point, the device at the destination point opens the encapsulated IP message and obtains the original IP message by depending on the own computing capability and the support of the IP tunnel protocol.
Specifically, in the embodiment of the present application, the target scheduling center node server 101 is a tunnel start point of the IP tunnel, and the target edge node server 102 is a tunnel end point of the IP tunnel. The encapsulated IP packet is pre-stored in the target scheduling center node server 101, and before forwarding the access request sent by the client 103 to the target edge node server 102, the target scheduling center node server 101 needs to obtain the encapsulated IP packet, write the access request into a preset position in the encapsulated IP packet, and send the IP packet encapsulated with the access request to the target edge node server 102.
Fig. 5 is a schematic diagram of a process of forwarding data across network segments by using an IP tunneling technique according to an embodiment of the present application, where as shown in fig. 5, an access request carries a network layer header and network layer data, where the network layer header is a target source IP of a client, the network layer data includes a transport layer header and transport layer data, and the transport layer header is a Transmission Control Protocol (TCP). And the target dispatching center node server writes the access request into a preset position in the encapsulated IP message, wherein the preset position is a position used for storing network layer data in the encapsulated IP message. The network layer header of the encapsulated IP packet includes the version of the IP protocol, the IP of the start point of the IP tunnel, the IP of the end point of the IP tunnel, and the checksum. In fig. 5, the version of the IP protocol is the fourth version, the IP at the start of the IP tunnel is the target IP of the target dispatch center node server, and the IP at the end of the IP tunnel is the IP of the target edge node server.
Fig. 6 is an interaction process diagram of the scheduling system according to the embodiment of the present application, and as shown in fig. 6, a client sends a DNS resolution request to a GSLB server. After receiving the DNS analysis request, the GSLB server analyzes the DNS analysis request, determines a target source IP of the client, determines a target dispatching center node server corresponding to the target source IP according to the target source IP and a corresponding relation between the source IP and the dispatching center node server which is stored in advance, and sends the target IP of the target dispatching center node server to the client. And after receiving the target IP, the client sends an access request to a target dispatching center node server according to the target IP. After receiving the access request, the target dispatching center node server analyzes the access request, determines a target source IP of the client, and stores an edge node server corresponding to edge district 1 and an edge node server corresponding to edge district 2 in the target dispatching center node server, and if the target dispatching center node server determines that the target source IP corresponding to the client belongs to edge district 2, the edge node server corresponding to edge district 2 is determined to be the target edge node server corresponding to the target source IP; and encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server. And after receiving the encapsulated access request, the target edge node server analyzes the access request and responds to the access request.
Example 5:
fig. 7 is a schematic diagram of a scheduling process provided in an embodiment of the present application, and as shown in fig. 7, the scheduling process includes:
s701: receiving an access request sent by a client, analyzing the access request, and determining a target source IP of the client.
S702: and determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server.
S703: and encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server.
The scheduling method provided by the embodiment of the application is applied to a node server of a scheduling center.
In a possible implementation manner, the determining, according to the stored correspondence between the source IP and the edge node server, a target edge node server corresponding to the target source IP includes:
determining a target area position corresponding to the target source IP according to a corresponding relation between a source IP and an area position which are stored in advance;
and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
In a possible embodiment, the encapsulating the access request by using the IP tunneling technique includes:
and writing the access request into a preset position in the encapsulated IP message by adopting an IP tunnel technology according to the pre-stored encapsulated IP message.
Example 6:
fig. 8 is a schematic structural diagram of a scheduling apparatus according to an embodiment of the present application, and as shown in fig. 8, the apparatus includes:
a receiving processing module 801, configured to receive an access request sent by a client, analyze the access request, and determine a target source IP of the client;
a determining module 802, configured to determine, according to a stored correspondence between a source IP and an edge node server, a target edge node server corresponding to the target source IP;
a sending processing module 803, configured to encapsulate the access request by using an IP tunneling technique, and send the encapsulated access request to the target edge node server.
In a possible implementation manner, the determining module 802 is specifically configured to determine a target area location corresponding to the target source IP according to a pre-stored correspondence between the source IP and the area location; and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
In a possible implementation manner, the sending processing module 803 is specifically configured to write the access request into a preset position in the encapsulated IP packet by using an IP tunneling technique according to a pre-stored encapsulated IP packet.
Example 7:
on the basis of the foregoing embodiments, an embodiment of the present application further provides an electronic device, and fig. 9 is a schematic structural diagram of the electronic device provided in the embodiment of the present application, as shown in fig. 9, including: the system comprises a processor 91, a communication interface 92, a memory 93 and a communication bus 94, wherein the processor 91, the communication interface 92 and the memory 93 are communicated with each other through the communication bus 94;
the memory 93 has stored therein a computer program which, when executed by the processor 91, causes the processor 91 to perform the steps of:
receiving an access request sent by a client, analyzing the access request, and determining a target source IP of the client;
determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server;
and encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server.
In a possible implementation manner, the determining, according to the stored correspondence between the source IP and the edge node server, a target edge node server corresponding to the target source IP includes:
determining a target area position corresponding to the target source IP according to a pre-stored corresponding relation between the source IP and the area position;
and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
In a possible embodiment, the encapsulating the access request by using the IP tunneling technique includes:
and writing the access request into a preset position in the encapsulated IP message by adopting an IP tunnel technology according to the pre-stored encapsulated IP message.
Because the principle of the electronic device for solving the problem is similar to the scheduling method, the implementation of the electronic device may refer to the embodiment of the method, and repeated details are not repeated.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface 92 is used for communication between the above-described electronic apparatus and other apparatuses. The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
Example 8:
on the basis of the foregoing embodiments, the present application further provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program is run on the processor, the processor is caused to execute the following steps:
receiving an access request sent by a client, analyzing the access request, and determining a target source IP of the client;
determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server;
and encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server.
In a possible implementation manner, the determining, according to the stored correspondence between the source IP and the edge node server, a target edge node server corresponding to the target source IP includes:
determining a target area position corresponding to the target source IP according to a pre-stored corresponding relation between the source IP and the area position;
and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
In a possible embodiment, the encapsulating the access request by using the IP tunneling technique includes:
and writing the access request into a preset position in the encapsulated IP message by adopting an IP tunnel technology according to the pre-stored encapsulated IP message.
Since the principle of solving the problem of the computer-readable storage medium is similar to that of the scheduling method, the implementation of the computer-readable storage medium may refer to the embodiment of the method, and repeated descriptions are omitted.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A scheduling system, the system comprising:
the target scheduling center node server is used for receiving an access request sent by the client; analyzing the access request, determining a target source IP of the client, and determining a target edge node server corresponding to the target source IP according to the corresponding relation between the stored source IP and the edge node server; the access request is encapsulated by adopting an IP tunnel technology, and the encapsulated access request is sent to the target edge node server;
and the target edge node server is used for receiving the encapsulated access request and responding to the access request.
2. The system of claim 1, further comprising:
the client is used for sending a domain name system DNS analysis request to the global load balancing GSLB server; the GSLB server is used for receiving the DNS analysis request sent by the client; analyzing the DNS analysis request to determine the target source IP of the client; determining the target dispatching center node server corresponding to the target source IP of the client according to the stored corresponding relation between the source IP and the dispatching center node server; and sending the target IP of the target dispatching center node server to the client.
3. The system according to claim 1, wherein the target dispatch center node server is specifically configured to determine a target area location corresponding to the target source IP according to a pre-stored correspondence between the source IP and the area location; and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
4. The system according to claim 1, wherein the target dispatch center node server is specifically configured to write the access request into a preset location in the encapsulated IP packet by using an IP tunneling technique according to a pre-stored encapsulated IP packet.
5. A method of scheduling, the method comprising:
receiving an access request sent by a client, analyzing the access request, and determining a target source IP of the client;
determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server;
and encapsulating the access request by adopting an IP tunnel technology, and sending the encapsulated access request to the target edge node server.
6. The method of claim 5, wherein determining the target edge node server corresponding to the target source IP according to the stored correspondence between the source IP and the edge node server comprises:
determining a target area position corresponding to the target source IP according to a pre-stored corresponding relation between the source IP and the area position;
and determining an edge node server corresponding to the target area position according to a pre-stored corresponding relation between the area position and the edge node server, and determining the edge node server as the target edge node server.
7. The method of claim 5, wherein encapsulating the access request using IP tunneling comprises:
and writing the access request into a preset position in the encapsulated IP message by adopting an IP tunnel technology according to the pre-stored encapsulated IP message.
8. A scheduling apparatus, the apparatus comprising:
the receiving processing module is used for receiving an access request sent by a client, analyzing the access request and determining a target source IP of the client;
the determining module is used for determining a target edge node server corresponding to the target source IP according to the stored corresponding relation between the source IP and the edge node server;
and the sending processing module is used for encapsulating the access request by adopting an IP tunnel technology and sending the encapsulated access request to the target edge node server.
9. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being configured to implement the steps of the scheduling method according to any of claims 5-7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the scheduling method according to any one of claims 5 to 7.
CN202111619752.2A 2021-12-27 2021-12-27 Scheduling system, method, device, equipment and medium Pending CN114448960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111619752.2A CN114448960A (en) 2021-12-27 2021-12-27 Scheduling system, method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111619752.2A CN114448960A (en) 2021-12-27 2021-12-27 Scheduling system, method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114448960A true CN114448960A (en) 2022-05-06

Family

ID=81366658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111619752.2A Pending CN114448960A (en) 2021-12-27 2021-12-27 Scheduling system, method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114448960A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225622A (en) * 2022-06-10 2022-10-21 新浪网技术(中国)有限公司 Method and system for scheduling traffic of CDN (content delivery network) and converged CDN

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181890A1 (en) * 2016-04-19 2017-10-26 中国银联股份有限公司 Data processing system and method based on server cluster
US20180084039A1 (en) * 2016-09-18 2018-03-22 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for scheduling cloud server
US20180309723A1 (en) * 2017-04-21 2018-10-25 Netskope, Inc. Reducing latency in security enforcement by a network security system (nss)
CN109040337A (en) * 2018-07-19 2018-12-18 网宿科技股份有限公司 A kind of information query method, Edge Server and information query system
CN109831511A (en) * 2019-02-18 2019-05-31 华为技术有限公司 Method and equipment for scheduling content delivery network CDN edge nodes
CN110213349A (en) * 2019-05-17 2019-09-06 网宿科技股份有限公司 A kind of HTTP dispatching method and device
CN110572377A (en) * 2019-08-22 2019-12-13 网宿科技股份有限公司 Data forwarding method, plug-in and domain name server
CN110830564A (en) * 2019-10-30 2020-02-21 北京金山云网络技术有限公司 CDN scheduling method, device, system and computer readable storage medium
CN112165532A (en) * 2020-10-14 2021-01-01 腾讯科技(深圳)有限公司 Node access method, device, equipment and computer readable storage medium
CN113364660A (en) * 2021-05-13 2021-09-07 新浪网技术(中国)有限公司 Data packet processing method and device in LVS load balancing
CN113497817A (en) * 2020-03-20 2021-10-12 北京金山云网络技术有限公司 Traffic scheduling method and device, edge node of CDN (content delivery network) and server

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181890A1 (en) * 2016-04-19 2017-10-26 中国银联股份有限公司 Data processing system and method based on server cluster
US20180084039A1 (en) * 2016-09-18 2018-03-22 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for scheduling cloud server
US20180309723A1 (en) * 2017-04-21 2018-10-25 Netskope, Inc. Reducing latency in security enforcement by a network security system (nss)
CN109040337A (en) * 2018-07-19 2018-12-18 网宿科技股份有限公司 A kind of information query method, Edge Server and information query system
CN109831511A (en) * 2019-02-18 2019-05-31 华为技术有限公司 Method and equipment for scheduling content delivery network CDN edge nodes
CN110213349A (en) * 2019-05-17 2019-09-06 网宿科技股份有限公司 A kind of HTTP dispatching method and device
CN110572377A (en) * 2019-08-22 2019-12-13 网宿科技股份有限公司 Data forwarding method, plug-in and domain name server
CN110830564A (en) * 2019-10-30 2020-02-21 北京金山云网络技术有限公司 CDN scheduling method, device, system and computer readable storage medium
CN113497817A (en) * 2020-03-20 2021-10-12 北京金山云网络技术有限公司 Traffic scheduling method and device, edge node of CDN (content delivery network) and server
CN112165532A (en) * 2020-10-14 2021-01-01 腾讯科技(深圳)有限公司 Node access method, device, equipment and computer readable storage medium
CN113364660A (en) * 2021-05-13 2021-09-07 新浪网技术(中国)有限公司 Data packet processing method and device in LVS load balancing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225622A (en) * 2022-06-10 2022-10-21 新浪网技术(中国)有限公司 Method and system for scheduling traffic of CDN (content delivery network) and converged CDN

Similar Documents

Publication Publication Date Title
RU2549135C2 (en) System and method for providing faster and more efficient data transmission
US8739244B1 (en) Configuring and authenticating WAN optimization devices for accessing content delivery networks
CN110753072B (en) Load balancing system, method, device and equipment
US10148727B2 (en) Methods and systems for an end-to-end solution to deliver content in a network
EP3525422B1 (en) Routing for large server deployments
KR20150121713A (en) Allocating resources between network nodes for providing a network node function
CN108063714B (en) Network request processing method and device
EP2997713B1 (en) Redirection in a content delivery network
CN113315706B (en) Private cloud flow control method, device and system
CN112751897B (en) Load balancing method, device, medium and equipment
US11799827B2 (en) Intelligently routing a response packet along a same connection as a request packet
US20160191296A1 (en) Methods and systems for an end-to-end solution to deliver content in a network
CN111629030A (en) Communication processing method, device, medium and equipment based on edge computing platform
WO2015106453A1 (en) Service processing method and network device
US20220166847A1 (en) Technologies for multi-tier prefetching in a context-aware edge gateway
CN115516840A (en) Information processing method, device, system, medium, chip and program
CN114448960A (en) Scheduling system, method, device, equipment and medium
CN110958279B (en) Data processing method and device
CN112235271B (en) CDN (content delivery network) equipment and self-adaptive safe source returning method thereof
Łaskawiec et al. New solutions for exposing clustered applications deployed in the cloud
RU2751787C1 (en) Method for traffic optimisation for transparent caching, load balancer and data storage medium
CN114979128A (en) Cross-region communication method and device and electronic equipment
CN110535983B (en) Message forwarding method and device
WO2021017970A1 (en) Method and apparatus for scheduling access request, medium, and device
WO2016122562A1 (en) Replicating network communications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination