CN113301445A - Address allocation method and device for content distribution network - Google Patents

Address allocation method and device for content distribution network Download PDF

Info

Publication number
CN113301445A
CN113301445A CN202010550234.9A CN202010550234A CN113301445A CN 113301445 A CN113301445 A CN 113301445A CN 202010550234 A CN202010550234 A CN 202010550234A CN 113301445 A CN113301445 A CN 113301445A
Authority
CN
China
Prior art keywords
request
node
bandwidth
network
analysis
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.)
Granted
Application number
CN202010550234.9A
Other languages
Chinese (zh)
Other versions
CN113301445B (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010550234.9A priority Critical patent/CN113301445B/en
Publication of CN113301445A publication Critical patent/CN113301445A/en
Application granted granted Critical
Publication of CN113301445B publication Critical patent/CN113301445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2408Monitoring of the upstream path of the transmission network, e.g. client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides an address allocation method and device of a content distribution network, wherein the content distribution network comprises at least one service node, and the service node comprises a plurality of node network addresses; the method comprises the following steps: acquiring real-time bandwidth usage of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two analysis requests; determining the request bandwidth occupation occupied by each analysis request in the content distribution network by adopting the real-time bandwidth usage of a plurality of node network addresses in the service node; and distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount. The node bandwidth occupation of the service node is in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user for accessing a content distribution network is improved.

Description

Address allocation method and device for content distribution network
Technical Field
The present application relates to the field of internet technologies, and in particular, to an address allocation method and an address allocation apparatus for a content distribution network.
Background
A Content Delivery Network (CDN) delivers website Content to service nodes located throughout the country, so that a user can obtain desired Content nearby, the problem of access delay caused by Network congestion, regions, operators, and other factors is avoided, and smoother experience is provided for the user. Each serving node in the content distribution network may have bandwidth capabilities. When the node bandwidth occupation of a service node is close to the bandwidth capacity of the service node, the conditions of low response speed and even no access are easy to occur when a user accesses a website through the service node, so that the original advantages of a content distribution network cannot be effectively exerted.
Content of application
In view of the above problems, embodiments of the present application are proposed to provide an address allocation method for a content distribution network and an address allocation apparatus for a content distribution network that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses an address allocation method for a content distribution network, where the content distribution network includes at least one service node, and the service node includes a plurality of node network addresses; the method comprises the following steps:
acquiring real-time bandwidth usage of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two analysis requests;
determining the request bandwidth occupation occupied by each analysis request in the content distribution network by adopting the real-time bandwidth usage of a plurality of node network addresses in the service node;
and distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount.
Optionally, the obtaining of the real-time bandwidth usage of the network addresses of the plurality of nodes in the service node; the real-time bandwidth usage is from at least two parsing requests, including:
receiving at least two analysis requests;
according to the type of the analysis request, at least one request node network address is selected from a plurality of node network addresses in the service node, and the request node network address is returned;
and acquiring the real-time bandwidth usage of the network address of the request node.
Optionally, the step of determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by using the real-time bandwidth usage amount of the plurality of node network addresses in the service node includes:
determining a single address which individually corresponds to one type of the resolution request in the network address of the request node;
for an analysis request, determining the request bandwidth occupation amount of the type analysis request in the content distribution network according to the real-time bandwidth usage amount of the single address corresponding to the type analysis request and the number of the network addresses of the request nodes corresponding to the type analysis request.
Optionally, the step of determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by using the real-time bandwidth usage amount of the plurality of node network addresses in the service node further includes:
for one type of analysis request, if a single address which solely corresponds to the type of analysis request does not exist in the network address of the request node, determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the request bandwidth occupation amount of other types of analysis requests in the content distribution network.
Optionally, the step of allocating at least one target node network address corresponding to each type of the resolution request according to the request bandwidth occupation amount includes:
determining a bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and a preset bandwidth capacity;
and allocating at least one target node network address corresponding to each analysis request according to the bandwidth allocation proportion.
The embodiment of the application also discloses an address distribution device of a content distribution network, wherein the content distribution network comprises at least one service node, and the service node comprises a plurality of node network addresses; the device comprises:
an obtaining module, configured to obtain real-time bandwidth usage of a plurality of network addresses of the node in the service node; the real-time bandwidth usage is from at least two analysis requests;
a determining module, configured to determine a request bandwidth occupation amount occupied by each analysis request in the content distribution network by using real-time bandwidth usage of a plurality of node network addresses in the service node;
and the distribution module is used for distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount.
Optionally, the obtaining module includes:
the receiving submodule is used for receiving at least two analysis requests;
the selection submodule is used for selecting at least one request node network address from a plurality of node network addresses in the service node according to the type of the analysis request and returning the request node network address;
and the obtaining submodule is used for obtaining the real-time bandwidth consumption of the network address of the request node.
Optionally, the determining module includes:
a single address determination submodule, configured to determine a single address that individually corresponds to one of the resolution requests from the network addresses of the requesting node;
and the first request bandwidth occupation determination submodule is used for determining the request bandwidth occupation of the type of analysis request in the content distribution network according to the real-time bandwidth usage of the single address corresponding to the type of analysis request and the number of the network addresses of the request nodes corresponding to the type of analysis request for the type of analysis request.
Optionally, the determining module further comprises:
and the second request bandwidth occupation amount determining submodule is used for determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the request bandwidth occupation amount of other types of analysis requests in the content distribution network if a single address which individually corresponds to the type of analysis request does not exist in the network address of the request node for one type of analysis request.
Optionally, the allocation module comprises:
the proportion determining submodule is used for determining the bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and the preset bandwidth capacity;
and the distribution submodule is used for distributing at least one target node network address corresponding to each analysis request according to the bandwidth distribution proportion.
The application also discloses a device, includes:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods as described in embodiments of the application.
One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more of the methods described in the embodiments of the present application.
The embodiment of the application has the following advantages:
by the address allocation method of the content distribution network, the real-time bandwidth usage of the network addresses of the plurality of nodes in the service node is obtained; the real-time bandwidth usage is from at least two analysis requests; determining the request bandwidth occupation occupied by each analysis request in the content distribution network by adopting the real-time bandwidth usage of a plurality of node network addresses in the service node; and distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount. The node bandwidth occupation of the service node is in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user for accessing a content distribution network is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of an embodiment of an address assignment method for a content distribution network according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a content distribution network according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating steps of an embodiment of a method for assigning addresses to content distribution networks according to an embodiment of the present application;
fig. 4 is a block diagram of an embodiment of an address assigning apparatus of a content distribution network according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
In the embodiment of the application, a user can request the content distribution network to acquire a network address by adopting different types of analysis requests under the condition of acquiring the network service through the content distribution network. According to the embodiment of the application, at least one network address of different service nodes can be returned by aiming at different types of analysis requests, so that the flow control of the service nodes is realized. Because different types of resolution requests return different network addresses, for example, the upper limit of the number of network addresses that can be returned for a resolution request is different, and the local domain name resolution system of a user records different network addresses, different types of resolution requests can have different flow control fineness. In the case of poor flow control fineness, the node bandwidth usage of the service node is easily caused to approach the bandwidth capacity. According to the method and the device, the node network addresses used by different analysis requests are reasonably distributed, so that the node bandwidth occupation amount of the service nodes in the content distribution network can be in a reasonable range, the bandwidth utilization rate of the service nodes is improved, and the experience of a user for accessing the content distribution network is improved.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an address assignment method for a content distribution network according to the present application is shown.
The method is applied to a content distribution network comprising at least one service node comprising at least one node network address.
In an embodiment of the present application, the content distribution network may include at least one service node. The service nodes can be respectively arranged at different places, so that the service nodes with shorter distance can be provided for users in different areas according to actual requirements, and the access speed of the users in different areas is improved.
In an embodiment of the present application, the service node may include at least one node network address. The node network Address may be a Virtual Internet Protocol Address (VIP).
In this embodiment of the present application, when a website needs to provide a network service for a user by using a content delivery network, the content delivery network may select at least one target service node from the at least one service node to provide a service for the website. Meanwhile, the target service node may bind at least one node network address owned by the target service node with the domain name of the website. Each of the node network addresses may be bound to domain names of one or more websites, such that each of the node network addresses may serve one or more websites.
In the embodiment of the present application, a domain name resolution system may be correspondingly provided in the content distribution network for different resolution requests. When a user needs to access a website through the content distribution network, a resolution request may be sent to a domain name resolution system in the content distribution network. The resolution request may be used to request to acquire a node network address corresponding to the domain name of the website. The domain name resolution system can return at least one node network address bound with the domain name of the website, and a user can access the node network address to obtain website content, so that network service is provided for the user through a content distribution network.
In this embodiment, the parsing request may have different sending manners. Therefore, the analysis request can have different types according to the sending mode of the analysis request. As an example of the present application, the Domain Name resolution system may include a DNS (Domain Name system) Domain Name resolution system, and an HTTPDNS (HyperText Transfer Protocol Domain Name system) Domain Name resolution system. The DNS nameresolution system may be configured to receive a first resolution request transmitted based on a User Datagram Protocol (UDP). The HTTP dns domain name resolution system may be configured to receive a second resolution request transmitted based on a hypertext Transfer Protocol (HTTP). So that the resolution request can have two categories.
The method may specifically comprise the steps of:
step 101, acquiring real-time bandwidth usage of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two analysis requests;
in the embodiment of the present application, the content distribution network may have at least one service node that needs to perform address allocation. The network addresses of the plurality of nodes in the service node to which the address allocation is required may be monitored to obtain the real-time bandwidth usage of the network addresses of the plurality of nodes in the service node. Wherein the real-time bandwidth usage of a plurality of said node network addresses may be from at least two resolution requests.
The content distribution network may be a content distribution network composed of at least one service node in a certain region, may also be a content distribution network composed of at least one service node in multiple regions, and may be a content distribution network composed of at least one service node manually selected according to actual needs, which is not limited in this application.
In a specific implementation, the domain name resolution system in the content distribution network may return different node network addresses for different types of resolution requests. For example, for a first kind of resolution request, the domain name resolution system may return a node network address a as well as a node network address B. For a second type of resolution request, the domain name resolution system may return a node network address a and a node network address C. So that the real-time bandwidth usage of the node network address A, B, C may come from a first category of resolution requests as well as a second category of resolution requests. The real-time bandwidth usage of the node network address a is from the first kind of resolution request and the second kind of resolution request, and the real-time bandwidth usage of the node network address B may be from the first kind of resolution request. The real-time bandwidth usage of the node network address C may come from a second kind of resolution request.
Step 102, determining the request bandwidth occupation occupied by each analysis request in the content distribution network by adopting the real-time bandwidth usage of a plurality of node network addresses in the service node;
in this embodiment of the present application, the request bandwidth occupation amount occupied by each analysis request in the content distribution network may be determined by using the real-time bandwidth usage amount of the network addresses of the plurality of nodes in the service node.
In particular implementations, for a service node, the real-time bandwidth usage may come from different resolution requests for different node network addresses in the service node. For example, the real-time bandwidth usage of node network address a is from a first kind of resolution request and a second kind of resolution request, and the real-time bandwidth usage of node network address B may be from the first kind of resolution request. The real-time bandwidth usage of the node network address C may come from a second kind of resolution request.
The domain name resolution system can uniformly distribute users to a plurality of node network addresses aiming at one resolution request, so that the occupied bandwidth consumption of the resolution requests from the same kind in each node network address can be basically the same.
For example, if the domain name resolution system can return the node network address a, the node network address B, and the node network address C in the serving node a to the user at the same time for the resolution request of the first kind, the user can randomly access any one of the node network addresses A, B, C, so that the bandwidth usage occupied by the resolution request from the first kind in the node network address A, B, C can be similar.
For another example, if the domain name resolution system is directed to the resolution request of the first kind, any one of the node network address a, the node network address B, and the node network address C of the serving node a may be returned to the plurality of users uniformly, so that the plurality of users may access the node network address a, the node network address B, and the node network address C uniformly, and thus the bandwidth usage occupied by the resolution request from the first kind in the node network address A, B, C may be similar.
Therefore, the bandwidth usage occupied by each analysis request in the real-time bandwidth usage of each node network address can be determined according to the type of the analysis request corresponding to the real-time bandwidth usage of each node network address. And determining the occupied bandwidth of each analysis request in the content distribution network according to the occupied bandwidth of each analysis request in each node network address.
And 103, distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount.
In this embodiment of the present application, the content delivery network may allocate, according to the request bandwidth occupation amount, at least one target node network address corresponding to each kind of the resolution request. Wherein the target node network address may be from at least one serving node. Therefore, the node bandwidth occupation of the service node can be regulated, so that the node bandwidth occupation of the service node is in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user for accessing a content distribution network is improved.
In a specific implementation, the content distribution network may allocate a target node network address, which is returned correspondingly to process each analysis request in the service nodes, according to a request bandwidth occupation amount occupied by each analysis request in each service node and a bandwidth capacity of each service node, so as to regulate and control the node bandwidth occupation amount of the service nodes, so that the node bandwidth occupation amount of the service nodes is within a reasonable range.
As an example of the present application, fig. 2 is a schematic diagram of a content distribution network according to an embodiment of the present application, where the content distribution network includes a DNS domain name resolution system 201, an http DNS domain name resolution system 202, and several service nodes 203.
In the case where a user needs to access a domain name, a resolution request may be sent to DNS domain name resolution system 201 or http DNS domain name resolution system 202 using user device 204. Specifically, if the user accesses the domain name in the form of a web page, the user may send a first resolution request based on user datagram transmission to the DNS domain name resolution system 201. If the user accesses the domain name through an application, the user may issue a second resolution request based on hypertext transfer protocol transport to http dns domain name resolution system 202. The DNS nameresolution system 201 or http DNS nameresolution system 202 may return a node network address to the user. The user may access the service node 203 using the node network address. The content distribution network may obtain the real-time bandwidth usage of the plurality of node network addresses in the service node 203, and determine the request bandwidth occupation occupied by each analysis request in the content distribution network by using the real-time bandwidth usage of the plurality of node network addresses in the service node 203. After receiving the resolution request, the DNS domain name resolution system 201 and the http DNS domain name resolution system 202 may allocate a target node network address to the user according to the bandwidth occupancy amount of the request, so as to realize regulation and control of the node bandwidth occupancy amount of the service node 203.
Then, the content distribution network may further continue to monitor the real-time bandwidth occupation amount of the node network address, and re-determine the request bandwidth occupation amount occupied by each analysis request in the service node 203 by using the real-time bandwidth usage amount of the plurality of node network addresses in the service node 203; and distributing at least one target node network address corresponding to each analysis request according to the new request bandwidth occupation amount. The node bandwidth occupation of the service node 203 is kept in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user for accessing a content distribution network is improved.
By the address allocation method of the content distribution network, the real-time bandwidth usage of the network addresses of the plurality of nodes in the service node is obtained; the real-time bandwidth usage is from at least two analysis requests; determining the request bandwidth occupation occupied by each analysis request in the content distribution network by adopting the real-time bandwidth usage of a plurality of node network addresses in the service node; and distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount. The node bandwidth occupation of the service node is in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user for accessing a content distribution network is improved.
Referring to fig. 3, a flowchart illustrating steps of another embodiment of an address assignment method for a content distribution network according to an embodiment of the present application is shown.
The method is applied to a content distribution network comprising at least one service node comprising at least one node network address.
In an embodiment of the present application, the content distribution network may include at least one service node. The service node may include at least one node network address. The node network Address may be a Virtual Internet Protocol Address (VIP).
In the embodiment of the present application, a domain name resolution system may be correspondingly provided in the content distribution network for different resolution requests. When a user needs to access a website through the content distribution network, a resolution request may be sent to a domain name resolution system in the content distribution network. The resolution request may be used to request to acquire a node network address corresponding to the domain name of the website. The domain name resolution system can return at least one node network address bound with the domain name of the website, and a user can access the node network address to obtain website content, so that network service is provided for the user through a content distribution network.
In this embodiment, the parsing request may have different sending manners. Therefore, the analysis request can have different types according to the sending mode of the analysis request.
The method may specifically comprise the steps of:
step 301, acquiring real-time bandwidth usage of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two analysis requests;
in this embodiment of the present application, a plurality of network addresses of the node, which are performed by at least one service node in the content distribution network, may be monitored to obtain a real-time bandwidth usage of the plurality of network addresses of the node in the service node. Wherein the real-time bandwidth usage of a plurality of said node network addresses may be from at least two resolution requests. Specifically, the domain name resolution system in the content distribution network may return different node network addresses for different kinds of resolution requests.
The content distribution network may be a content distribution network composed of at least one service node in a certain region, may also be a content distribution network composed of at least one service node in multiple regions, and may be a content distribution network composed of at least one service node manually selected according to actual needs, which is not limited in this application.
In an embodiment of the present application, the obtaining of real-time bandwidth usage of a plurality of network addresses of the node in the service node is performed; the real-time bandwidth usage is from at least two parsing requests, including:
s11, receiving at least two analysis requests;
in this embodiment of the present application, the content distribution network may receive at least two parsing requests sent in different manners. Therefore, the analysis request can have different types according to the sending mode of the analysis request.
S12, selecting at least one request node network address from the multiple node network addresses in the service node according to the type of the analysis request, and returning the request node network address;
in the embodiment of the application, different node network address allocation modes can be set respectively according to different analysis requests, so that the bandwidth usage of the service node is in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user in accessing a content distribution network is improved.
Therefore, after the analysis request is received, at least one request node network address can be selected from a plurality of node network addresses in the service node according to the type of the analysis request, and the request node network address is returned.
Each analysis request may correspond to at least one request node network address, and the request node network address may correspond to one analysis request or multiple analysis requests, which is not limited in the present application.
In a specific implementation, at least one request node network address may be selected from the multiple node network addresses in the service node according to the type of the analysis request, and one request node network address or multiple request node network addresses may be returned to the user.
As an example of the present application, if the resolution request is a resolution request sent to a DNS domain name resolution system based on a user datagram. The DNS nameresolution system may return the network address of the requesting node to the user by sending a data packet. The data packet may include a plurality of network addresses of the requesting node, and the user may randomly access one of the plurality of network addresses of the requesting node.
As an example of the present application, if the resolution request is a resolution request sent to an http dns domain name resolution system based on a hypertext transfer protocol. The http dns nameresolution system may return a requesting node network address to the user so that the user may access the requesting node network address.
And S13, acquiring the real-time bandwidth usage of the network address of the request node.
In this embodiment of the present application, the real-time bandwidth usage of the network address of the requesting node may be obtained, respectively, to further determine the allocation manner of the network address of the node.
Step 302, determining the request bandwidth occupation occupied by each analysis request in the content distribution network by using the real-time bandwidth usage of a plurality of node network addresses in the service node;
in this embodiment of the present application, for a service node, the real-time bandwidth usage of the network addresses of multiple nodes in the service node may be adopted to determine the bandwidth usage occupied by each analysis request in the service node, so that the request bandwidth occupied by each analysis request in the content distribution network may be determined.
In particular implementations, for a service node, the real-time bandwidth usage may come from different resolution requests for different node network addresses in the service node. The domain name resolution system can uniformly distribute users to a plurality of node network addresses aiming at one resolution request, so that the occupied bandwidth consumption of the resolution requests from the same kind in each node network address can be basically the same.
Therefore, the bandwidth usage occupied by each analysis request in the real-time bandwidth usage of each node network address can be determined according to the type of the analysis request corresponding to the real-time bandwidth usage of each node network address. And determining the occupied bandwidth of each analysis request in the content distribution network according to the occupied bandwidth of each analysis request in each node network address.
In an embodiment of the application, the step of determining the occupied amount of the request bandwidth occupied by each analysis request in the content distribution network by using the real-time bandwidth usage of a plurality of network addresses of the node in the service node includes:
s21, determining a single address corresponding to one kind of the analysis request in the network address of the request node;
in this embodiment, the network address of the requesting node may correspond to one analysis request or multiple analysis requests. Thus, there may be a single address in the requesting node network address that corresponds to one type of resolution request individually. A single address that individually corresponds to one of the resolution requests may be searched, and the bandwidth occupancy of the request may be further determined based on the real-time bandwidth usage of the single address.
S22, for an analysis request, determining the request bandwidth occupation of the type analysis request in the content distribution network according to the real-time bandwidth usage of the single address corresponding to the type analysis request and the number of the request node network addresses corresponding to the type analysis request.
In the embodiment of the present application, for a resolution request, since the domain name resolution system may relatively equally allocate a plurality of request node network addresses corresponding to the resolution request, the probability of the user accessing each request node network address may be similar. Thus, the real-time bandwidth usage of each of the requesting node network addresses may be relatively even in bandwidth usage from the same type of resolution request.
In this case, since the real-time bandwidth occupation amount in the single address may all come from one kind of resolution request, for one kind of resolution request, the request bandwidth occupation amount of the kind of resolution request in the content distribution network may be determined according to the real-time bandwidth usage amount of the single address corresponding to the kind of resolution request and the number of the network addresses of the requesting node corresponding to the kind of resolution request.
In a specific implementation, for an analysis request, an average value of the real-time bandwidth usage of the single address corresponding to the category analysis request may be calculated according to the real-time bandwidth usage of each single address corresponding to the category analysis request. Then, the request bandwidth occupation amount of the type analysis request in the content distribution network can be calculated according to the average value of the real-time bandwidth usage amount of the single address and the number of the network addresses of the request nodes corresponding to the type analysis request.
As an example of the present application, the resolution request comprises a first resolution request sent to the DNS nameresolution system based on the user datagram, and a second resolution request sent to the http DNS nameresolution system based on the hypertext transfer protocol. The content distribution network may comprise at least one service node, which may comprise at least one node network address, such that the content distribution network may have n node network addresses. All the node network addresses are used as the request node network addresses corresponding to the first analysis request, and the previous i node network addresses are also used as the request node network addresses corresponding to the second analysis request. The (i + 1) th to (n) th requesting node network addresses may be a single address of the first resolution request.
The real-time bandwidth occupation Traffic of each of the node network addresses may be obtained, and then the requested bandwidth occupation Traffic of the first resolution request may be calculated by using the following formulaDNS
Figure BDA0002542268780000131
Wherein, TrafficjMay be the real-time bandwidth footprint of the single address corresponding to the jth first resolution request,
Figure BDA0002542268780000132
the network addresses of the (i + 1) th to n th requesting nodes, that is, the sum of the real-time bandwidth occupation amounts of the single addresses of all the first resolution requests, can be used. Will be provided with
Figure BDA0002542268780000133
Dividing the average value of the real-time bandwidth occupation amount of the single address by the number n-i of the single address of the first analysis request, and multiplying the average value by the number n of the network addresses of the request node corresponding to the first analysis request, thereby obtaining the bandwidth occupation amount Traffic of the request corresponding to the first analysis request in the content distribution networkDNS
In an embodiment of the application, the step of determining the occupied amount of the request bandwidth occupied by each analysis request in the content distribution network by using the real-time bandwidth usage of a plurality of network addresses of the node in the service node further includes:
and S31, for an analysis request, if there is no single address corresponding to the type of analysis request in the network address of the request node, determining the request bandwidth occupation of the type of analysis request in the content distribution network according to the request bandwidth occupation of other types of analysis requests in the content distribution network.
In an embodiment of the present application, the requested bandwidth usage amounts corresponding to different kinds of parsing requests are generally different. Thus, there may be a case where the requested bandwidth usage amount corresponding to one kind of analysis request is much larger than the requested bandwidth usage amount corresponding to another kind of analysis request. In this case, in order to save a limited number of node network addresses, there may be a case where a single address does not exist for a certain type of resolution request that requires a small amount of bandwidth.
Therefore, for one type of analysis request, if a single address which solely corresponds to the type of analysis request does not exist in the network address of the request node, the request bandwidth occupation amount of the type of analysis request in the content distribution network can be determined according to the request bandwidth occupation amount of other types of analysis requests in the content distribution network.
In a specific implementation, for an analysis request without a corresponding single address, bandwidth usage occupied by other analysis requests in a network address of a requesting node may be determined according to request bandwidth usage of other analysis requests with a single address. And then, the real-time bandwidth usage of the network address of the request node removes the bandwidth usage occupied by other analysis requests, and the rest bandwidth usage is the bandwidth usage occupied by the analysis requests without the corresponding single address, so that the request bandwidth occupancy of the analysis requests without the corresponding single address can be determined.
As an example of the present application, the resolution request comprises a first resolution request sent to the DNS nameresolution system based on the user datagram, and a second resolution request sent to the http DNS nameresolution system based on the hypertext transfer protocol, as described above. The content distribution network may comprise at least one service node, which may comprise at least one node network address, such that the content distribution network may have n node network addresses. All the node network addresses are used as the request node network addresses corresponding to the first analysis request, and the previous i node network addresses are also used as the request node network addresses corresponding to the second analysis request. The (i + 1) th to (n) th requesting node network addresses may be a single address of the first resolution request.
For a second resolution request without a corresponding single address, the following formula can be adopted to calculate the request bandwidth occupation Traffic corresponding to the second resolution requestHTTPDNS
Figure BDA0002542268780000151
Wherein, TrafficmReal-time bandwidth occupancy, Traffic, for the network address of the requesting node corresponding to the mth second resolution requestjAnd the real-time bandwidth occupation amount of the single address corresponding to the jth first resolution request is obtained.
Figure BDA0002542268780000152
May be the i-th to n-th first target addresses, i.e. the sum of the first address bandwidth footprints of all said single addresses. Will be provided with
Figure BDA0002542268780000153
And dividing the number n-i of the single addresses of the first resolution request to obtain the average value of the real-time bandwidth occupation amount of the single addresses. Then, real-time bandwidth occupation Traffic of the network address of the corresponding request node of each second resolution requestmAnd subtracting the average value of the real-time bandwidth occupation amount of the single address, so as to obtain the bandwidth usage amount occupied by the second analysis request in the request node network address corresponding to the second analysis request. Then, the second resolution request in the network address of the request node corresponding to the m second resolution requests is transmittedThe occupied bandwidth usage is summed up to obtain the required bandwidth occupation Traffic of the second analysis requestHTTPDNS
Step 303, determining a bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and a preset bandwidth capacity;
in this embodiment of the present application, the content delivery network may determine, according to the request bandwidth occupation amount and a preset bandwidth capacity, a bandwidth allocation proportion between the service nodes for one type of analysis request. The bandwidth allocation ratio may be an allocation ratio of bandwidth usage between the serving nodes for a resolution request. Therefore, the domain name resolution system in the content distribution network can distribute the network address of the target node according to the bandwidth distribution proportion.
In a specific implementation, the bandwidth allocation proportion of each analysis request may be sequentially determined according to the request bandwidth occupation amount of the content distribution network and the preset bandwidth capacity of the service node. Specifically, the bandwidth allocation proportion is determined for the domain name resolution system with lower fineness, and then the bandwidth allocation proportion is determined for the domain name resolution system with higher fineness, so that the traffic proportion between the service nodes is ensured to be in a reasonable range, and the condition that the node bandwidth traffic of the service nodes is close to the bandwidth capacity is avoided.
As an example of the present application, a user may obtain network content to a content distribution network using a first resolution request or a second resolution request. The first analysis request is based on user datagram transmission, and the second analysis request is based on hypertext transfer protocol transmission. After receiving the first resolution request, the DNS nameresolution system may return the node network address in an inter-packet load or an intra-packet load manner. In the case of using the inter-packet load method, since the electronic device used by the user may generally record the node network address obtained based on the first resolution request in the history, the user may directly access the node network address obtained in the history each time the user accesses the content distribution network, which makes it difficult to perform bandwidth allocation in real time, and thus the fineness of the bandwidth allocation is limited. Under the condition of adopting a load mode in a packet, the DNS domain name resolution system can return a node network address to the electronic equipment of a user in a mode of sending a data packet. However, the data packet usually supports an upper limit of 16 node network addresses, and there is also a problem that the consumer electronic device records the node network addresses obtained historically in the inter-packet load manner, so that the fineness of bandwidth allocation is limited. The HTTPDNS domain name resolution system can realize that when a user accesses a content distribution network, a high-fineness bandwidth allocation proportion is adopted to allocate node network addresses to the user, so that the HTTPDNS domain name resolution system has high fineness.
Therefore, the bandwidth allocation proportion can be determined for the DNS domain name resolution system with lower fineness, and then the bandwidth allocation proportion can be determined for the HTTPDNS domain name resolution system with higher fineness.
The content distribution network comprises a service node A, a service node B and a service node C. The bandwidth capacity of the service node a is 80G, the bandwidth capacity of the service node B is 130G, and the bandwidth capacity of the service node C is 100G. The request bandwidth occupation amount of the first analysis request in the content distribution network is 150G, and the request bandwidth occupation amount of the second analysis request is 140G.
Because the DNS domain name resolution system has low fineness, for the first resolution request, the service node a: the service node B: the first bandwidth allocation ratio for serving node C is set to 1: 1: 3. specifically, the first analysis request occupies 30G of the bandwidth of the serving node a, 30G of the bandwidth of the serving node B, and 90G of the bandwidth of the serving node C.
The remaining bandwidth available amount of the service node a is 50G, the remaining bandwidth available amount of the service node B is 100G, and the remaining bandwidth available amount of the service node C is 10G. Because the HTTPDNS domain name resolution system can adopt a high-fineness bandwidth allocation proportion, the service node a: the second bandwidth allocation ratio of the serving node B is set to 47: 93. specifically, the bandwidth capacity 47G of the serving node a is occupied, the bandwidth capacity 93G of the serving node B is occupied, and the second request bandwidth occupation amount is distributed to the serving node a and the serving node B in a balanced manner with high precision.
Therefore, the node bandwidth usage of the serving node a is estimated to be 77G, the node bandwidth usage of the serving node B is estimated to be 123G, and the node bandwidth usage of the serving node C is estimated to be 90G. The node bandwidth occupation of the service node is in a reasonable range, the bandwidth utilization rate of the service node is high, and a user can have better experience when accessing a content distribution network.
And step 304, allocating at least one target node network address corresponding to each analysis request according to the bandwidth allocation proportion.
In this embodiment of the present application, at least one network address of the target node corresponding to each type of the resolution request may be allocated according to the bandwidth allocation ratio. Wherein the target node network address may be from at least one serving node. Therefore, the node bandwidth occupation of the service node can be regulated, so that the node bandwidth occupation of the service node is in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user for accessing a content distribution network is improved.
In a specific implementation, after receiving the parsing request, the content delivery network may allocate at least one target node network address to the parsing request according to the type of the parsing request and the bandwidth allocation ratio.
Specifically, a plurality of target node network addresses may be returned for a resolution request, and the target node network addresses are respectively from different service nodes. After obtaining the plurality of target node network addresses, the user can randomly access the plurality of target node network addresses. Therefore, a plurality of users can access different service nodes according to the bandwidth allocation proportion, and the node bandwidth usage between the service nodes is similar to the bandwidth allocation proportion.
As an example of the present application, if the bandwidth allocation ratio of the serving node a to the serving node B is 6:4 for the resolution request, the target node network addresses of 6 serving nodes a and the target node network addresses of 4 serving nodes B may be returned for the resolution request. A user may randomly access any one of the 10 destination node network addresses, thereby enabling multiple users to access serving node a and serving node B at a bandwidth allocation ratio of 6: 4.
Specifically, a network address of the target node may also be returned for a resolution request. In this case, the domain name resolution system may return the network addresses of the target nodes of different service nodes to the multiple users respectively by using the bandwidth allocation ratio. Therefore, a plurality of users can access different service nodes according to the bandwidth allocation proportion, and the node bandwidth usage between the service nodes is similar to the bandwidth allocation proportion.
As an example of the present application, if the bandwidth allocation ratio of the serving node a to the serving node B is 62:38 for the resolution request, for 100 users sending the resolution request, a network address of a target node belonging to the serving node a may be returned to 62 users, and a network address of a target node belonging to the serving node B may be returned to 38 users, so that a plurality of users access the serving node a and the serving node B according to a bandwidth allocation ratio of 6: 4.
By the address allocation method of the content distribution network, the real-time bandwidth usage of the network addresses of the plurality of nodes in the service node is obtained; the real-time bandwidth usage is from at least two analysis requests; determining the request bandwidth occupation occupied by each analysis request in the content distribution network by adopting the real-time bandwidth usage of a plurality of node network addresses in the service node; determining a bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and a preset bandwidth capacity; and allocating at least one target node network address corresponding to each analysis request according to the bandwidth allocation proportion. The node bandwidth occupation of the service node is in a reasonable range, the bandwidth utilization rate of the service node is improved, and the experience of a user for accessing a content distribution network is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 4, a block diagram of an embodiment of an address assignment apparatus of a content distribution network according to the present application is shown, where the content distribution network includes at least one service node, and the service node includes a plurality of node network addresses;
the device may specifically include the following modules:
an obtaining module 401, configured to obtain real-time bandwidth usage of a plurality of network addresses of the node in the service node; the real-time bandwidth usage is from at least two analysis requests;
a determining module 402, configured to determine a request bandwidth occupation amount occupied by each analysis request in the content distribution network by using real-time bandwidth usage of a plurality of network addresses of the node in the service node;
an allocating module 403, configured to allocate, according to the request bandwidth occupation amount, at least one target node network address corresponding to each analysis request.
In an embodiment of the present application, the obtaining module 401 includes:
the receiving submodule is used for receiving at least two analysis requests;
the selection submodule is used for selecting at least one request node network address from a plurality of node network addresses in the service node according to the type of the analysis request and returning the request node network address;
and the obtaining submodule is used for obtaining the real-time bandwidth consumption of the network address of the request node.
In one embodiment of the present application, the determining module 402 comprises:
a single address determination submodule, configured to determine a single address that individually corresponds to one of the resolution requests from the network addresses of the requesting node;
and the first request bandwidth occupation determination submodule is used for determining the request bandwidth occupation of the type of analysis request in the content distribution network according to the real-time bandwidth usage of the single address corresponding to the type of analysis request and the number of the network addresses of the request nodes corresponding to the type of analysis request for the type of analysis request.
In an embodiment of the present application, the determining module 402 further includes:
and the second request bandwidth occupation amount determining submodule is used for determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the request bandwidth occupation amount of other types of analysis requests in the content distribution network if a single address which individually corresponds to the type of analysis request does not exist in the network address of the request node for one type of analysis request.
In one embodiment of the present application, the assignment module 403 includes:
the proportion determining submodule is used for determining the bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and the preset bandwidth capacity;
and the distribution submodule is used for distributing at least one target node network address corresponding to each analysis request according to the bandwidth distribution proportion.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform methods as described in embodiments of the present application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods of embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of 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, embodiments of 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 the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of 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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The detailed description is given above to the address allocation method of the content distribution network and the address allocation apparatus of the content distribution network provided in the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. An address assignment method for a content distribution network, wherein the content distribution network comprises at least one service node, the service node comprising a plurality of node network addresses; the method comprises the following steps:
acquiring real-time bandwidth usage of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two analysis requests;
determining the request bandwidth occupation occupied by each analysis request in the content distribution network by adopting the real-time bandwidth usage of a plurality of node network addresses in the service node;
and distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount.
2. The method of claim 1, wherein obtaining real-time bandwidth usage for a plurality of network addresses of the nodes in the service node; the real-time bandwidth usage is from at least two parsing requests, including:
receiving at least two analysis requests;
according to the type of the analysis request, at least one request node network address is selected from a plurality of node network addresses in the service node, and the request node network address is returned;
and acquiring the real-time bandwidth usage of the network address of the request node.
3. The method according to claim 2, wherein said step of determining a request bandwidth occupation occupied by each resolution request in said content delivery network using real-time bandwidth usage by a plurality of network addresses of said nodes in said service node comprises:
determining a single address which individually corresponds to one type of the resolution request in the network address of the request node;
for an analysis request, determining the request bandwidth occupation amount of the type analysis request in the content distribution network according to the real-time bandwidth usage amount of the single address corresponding to the type analysis request and the number of the network addresses of the request nodes corresponding to the type analysis request.
4. The method according to claim 3, wherein said step of determining a request bandwidth occupation occupied by each resolution request in said content delivery network using real-time bandwidth usage by a plurality of said node network addresses in said service node further comprises:
for one type of analysis request, if a single address which solely corresponds to the type of analysis request does not exist in the network address of the request node, determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the request bandwidth occupation amount of other types of analysis requests in the content distribution network.
5. The method according to claim 1, wherein said step of allocating at least one network address of a target node corresponding to each of said resolution requests according to said request bandwidth occupation amount comprises:
determining a bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and a preset bandwidth capacity;
and allocating at least one target node network address corresponding to each analysis request according to the bandwidth allocation proportion.
6. An address assignment apparatus of a content distribution network, wherein the content distribution network includes at least one service node, the service node includes a plurality of node network addresses; the device comprises:
an obtaining module, configured to obtain real-time bandwidth usage of a plurality of network addresses of the node in the service node; the real-time bandwidth usage is from at least two analysis requests;
a determining module, configured to determine a request bandwidth occupation amount occupied by each analysis request in the content distribution network by using real-time bandwidth usage of a plurality of node network addresses in the service node;
and the distribution module is used for distributing at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount.
7. The apparatus of claim 1, wherein the obtaining module comprises:
the receiving submodule is used for receiving at least two analysis requests;
the selection submodule is used for selecting at least one request node network address from a plurality of node network addresses in the service node according to the type of the analysis request and returning the request node network address;
and the obtaining submodule is used for obtaining the real-time bandwidth consumption of the network address of the request node.
8. The apparatus of claim 7, wherein the determining module comprises:
a single address determination submodule, configured to determine a single address that individually corresponds to one of the resolution requests from the network addresses of the requesting node;
and the first request bandwidth occupation determination submodule is used for determining the request bandwidth occupation of the type of analysis request in the content distribution network according to the real-time bandwidth usage of the single address corresponding to the type of analysis request and the number of the network addresses of the request nodes corresponding to the type of analysis request for the type of analysis request.
9. The apparatus of claim 8, wherein the determining module further comprises:
and the second request bandwidth occupation amount determining submodule is used for determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the request bandwidth occupation amount of other types of analysis requests in the content distribution network if a single address which individually corresponds to the type of analysis request does not exist in the network address of the request node for one type of analysis request.
10. The apparatus of claim 6, wherein the assignment module comprises:
the proportion determining submodule is used for determining the bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and the preset bandwidth capacity;
and the distribution submodule is used for distributing at least one target node network address corresponding to each analysis request according to the bandwidth distribution proportion.
11. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-5.
12. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of one or more of claims 1-5.
CN202010550234.9A 2020-06-16 2020-06-16 Address allocation method and device for content distribution network Active CN113301445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010550234.9A CN113301445B (en) 2020-06-16 2020-06-16 Address allocation method and device for content distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010550234.9A CN113301445B (en) 2020-06-16 2020-06-16 Address allocation method and device for content distribution network

Publications (2)

Publication Number Publication Date
CN113301445A true CN113301445A (en) 2021-08-24
CN113301445B CN113301445B (en) 2023-08-01

Family

ID=77318638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010550234.9A Active CN113301445B (en) 2020-06-16 2020-06-16 Address allocation method and device for content distribution network

Country Status (1)

Country Link
CN (1) CN113301445B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338705A (en) * 2021-11-24 2022-04-12 阿里巴巴(中国)有限公司 Resource water level control method, device and medium for content delivery network CDN node

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847183A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Bandwidth distribution method of content distribution network and bandwidth distribution system of content distribution network
CN106657432A (en) * 2016-11-17 2017-05-10 中国移动通信集团江苏有限公司 Domain name resolution method and device
WO2017177437A1 (en) * 2016-04-15 2017-10-19 深圳前海达闼云端智能科技有限公司 Domain name resolution method, device, and system
CN109547517A (en) * 2017-09-22 2019-03-29 贵州白山云科技股份有限公司 A kind of bandwidth scheduling method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847183A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Bandwidth distribution method of content distribution network and bandwidth distribution system of content distribution network
WO2017177437A1 (en) * 2016-04-15 2017-10-19 深圳前海达闼云端智能科技有限公司 Domain name resolution method, device, and system
CN106657432A (en) * 2016-11-17 2017-05-10 中国移动通信集团江苏有限公司 Domain name resolution method and device
CN109547517A (en) * 2017-09-22 2019-03-29 贵州白山云科技股份有限公司 A kind of bandwidth scheduling method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338705A (en) * 2021-11-24 2022-04-12 阿里巴巴(中国)有限公司 Resource water level control method, device and medium for content delivery network CDN node
CN114338705B (en) * 2021-11-24 2023-12-01 阿里巴巴(中国)有限公司 Resource water level control method, equipment and medium for CDN node of content delivery network

Also Published As

Publication number Publication date
CN113301445B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN109327550B (en) Access request distribution method and device, storage medium and computer equipment
US10404790B2 (en) HTTP scheduling system and method of content delivery network
CN111460460B (en) Task access method, device, proxy server and machine-readable storage medium
US9407570B2 (en) Method, apparatus, and system for allocating CDN volume
CN103391299B (en) Load-balancing method and SiteServer LBS
CN103716251B (en) For the load-balancing method and equipment of content distributing network
EP2356577B1 (en) Request routing and updating routing information utilizing client location information
US20170099345A1 (en) Content delivery network load balancing
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
CN104954401B (en) traffic scheduling method and device
CN104348798B (en) A kind of method, apparatus, dispatch server and system for distributing network
CN108076142A (en) A kind of method and system for accelerating user's request based on CDN technologies
CN102077189A (en) Request routing using network computing components
CN108124020B (en) Domain name resolution method, system and equipment
CN110545450B (en) Node distribution method, system, electronic equipment and storage medium
CN113301445A (en) Address allocation method and device for content distribution network
WO2021057369A1 (en) Httpdns scheduling method and apparatus, medium, and device
CN112019451B (en) Bandwidth allocation method, debugging network element, local cache server and computing device
CN115168017B (en) Task scheduling cloud platform and task scheduling method thereof
CN113612841B (en) Task scheduling method, device, computer equipment and storage medium
US10154414B2 (en) Resource allocation
CN112860432A (en) Process management method, device and server
CN108881939B (en) Video CDN processing method and system
CN113301074A (en) Data request load scheduling method and device, electronic equipment and readable storage medium
CN114422522B (en) Cache distribution method, device, medium and equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40057961

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant