Nothing Special   »   [go: up one dir, main page]

CN113301445B - 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
CN113301445B
CN113301445B CN202010550234.9A CN202010550234A CN113301445B CN 113301445 B CN113301445 B CN 113301445B CN 202010550234 A CN202010550234 A CN 202010550234A CN 113301445 B CN113301445 B CN 113301445B
Authority
CN
China
Prior art keywords
request
node
bandwidth
content distribution
network
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.)
Active
Application number
CN202010550234.9A
Other languages
Chinese (zh)
Other versions
CN113301445A (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

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 consumption of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two resolution requests; determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amount of a plurality of node network addresses in the service node; and according to the request bandwidth occupation amount, allocating at least one target node network address corresponding to each analysis request. The node bandwidth occupation amount 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 accessing the content distribution network is improved.

Description

Address allocation method and device for content distribution network
Technical Field
The present invention relates to the field of internet technologies, and in particular, to an address allocation method of a content distribution network and an address allocation device of the content distribution network.
Background
The content delivery network (CDN, content Delivery Network) distributes the website content to service nodes throughout the country, so that a user can obtain the required content nearby, access delay problems caused by factors such as network congestion, regions, operators and the like are avoided, and smoother experience is provided for the user. Each service node in the content distribution network may have a bandwidth capacity. When the node bandwidth occupation amount of a service node is close to the bandwidth capacity of the service node, the condition that the response speed is slow or even the service node cannot access the website easily occurs when a user accesses the website through the service node, so that the original advantages of the content distribution network cannot be effectively exerted.
Disclosure of Invention
In view of the foregoing, embodiments of the present application have been proposed to provide an address allocation method of a content distribution network and an address allocation apparatus of a corresponding content distribution network that overcome or at least partially solve the foregoing problems.
To solve the above problems, an embodiment of the present application discloses an address allocation method of 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 consumption of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two resolution requests;
determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amount of a plurality of node network addresses in the service node;
and according to the request bandwidth occupation amount, allocating at least one target node network address corresponding to each analysis request.
Optionally, the acquiring real-time bandwidth usage of a plurality of network addresses of the nodes in the service node; the real-time bandwidth usage comes from at least two steps of resolving requests, including:
receiving at least two analysis requests;
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 acquiring the real-time bandwidth consumption of the network address of the request node.
Optionally, the step of determining the request bandwidth occupation amount occupied by each parsing request in the content distribution network by using real-time bandwidth occupation amounts of a plurality of network addresses of the nodes in the service node includes:
Determining a single address which singly corresponds to one analysis request in the network address of the request node;
for an analysis request, determining the request bandwidth occupation amount of the analysis request of the type in the content distribution network according to the real-time bandwidth occupation amount of a single address corresponding to the analysis request of the type and the number of network addresses of the request nodes corresponding to the analysis request of the type.
Optionally, the step of determining the request bandwidth occupation amount occupied by each parsing request in the content distribution network by using real-time bandwidth occupation amounts of a plurality of network addresses of the nodes in the service node further includes:
for an analysis request, if a single address which singly 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 resolution request according to the request bandwidth occupation amount includes:
determining the bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and the preset bandwidth capacity;
And according to the bandwidth allocation proportion, allocating at least one target node network address corresponding to each analysis request.
The embodiment of the application also discloses an address distribution device of the 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:
the acquisition module is used for acquiring the real-time bandwidth consumption of the network addresses of the nodes in the service node; the real-time bandwidth usage is from at least two resolution requests;
the determining module is used for determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amounts of the network addresses of a plurality of nodes in the service node;
and the allocation module is used for allocating at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount.
Optionally, the acquiring module includes:
the receiving submodule is used for receiving at least two analysis requests;
the selecting sub-module 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 acquisition sub-module is used for acquiring the real-time bandwidth consumption of the network address of the request node.
Optionally, the determining module includes:
a single address determining sub-module, configured to determine, in the network address of the requesting node, a single address that individually corresponds to one of the resolution requests;
the first request bandwidth occupation amount determining sub-module is used for determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the real-time bandwidth consumption of a single address corresponding to the type of analysis request and the number of the request node network addresses corresponding to the type of analysis request for one type of analysis request.
Optionally, the determining module 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 the single address which singly 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 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 allocation submodule is used for allocating at least one target node network address corresponding to each analysis request according to the bandwidth allocation proportion.
The application also discloses a device, comprising:
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 present application.
One or more machine-readable media have instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more of the methods described in embodiments of the present application.
Embodiments of the present application include the following advantages:
acquiring real-time bandwidth consumption of a plurality of node network addresses in the service node by the address allocation method of the content distribution network; the real-time bandwidth usage is from at least two resolution requests; determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amount of a plurality of node network addresses in the service node; and according to the request bandwidth occupation amount, allocating at least one target node network address corresponding to each analysis request. The node bandwidth occupation amount 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 accessing the content distribution network is improved.
Drawings
FIG. 1 is a flow chart of 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 of steps of an embodiment of an address assignment method for another content distribution network of an embodiment of the present application;
fig. 4 is a block diagram of an embodiment of an address allocation apparatus of a content distribution network of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
In this embodiment of the present application, when a user obtains a network service through the content distribution network, the user may use a different kind of resolution request to obtain a network address from 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 the ways of returning network addresses for different types of resolution requests are different, for example, the upper limit of the number of network addresses that can be returned for a resolution request is different, the ways in which the network addresses are recorded by the user local domain name resolution system is different, so that different types of resolution requests can have different flow control finesses. In the case of poor flow control finesse, it is easy to cause the node bandwidth usage of the serving node to approach the bandwidth capacity. According to the embodiment of the application, the node network addresses of the service nodes in the content distribution network 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 allocation method of 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 embodiments of the present application, the content distribution network may comprise at least one service node. The service nodes can be respectively arranged at different places, so that service nodes with relatively close distances can be provided for users in different areas according to actual needs, and the access speed of the users in different areas is improved.
In embodiments of the present application, the service node may include at least one node network address. The node network address may be a virtual network protocol address (VIP, virtual Internet Protocol Address).
In the embodiment of the present application, when a website needs to use the content distribution network to provide network services for users, the content distribution network may select at least one target service node from the at least one service node to provide services for the website. Meanwhile, the target service node can 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 configured 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 can be sent to a domain name resolution system in the content distribution network. The resolution request may be used to request to obtain a node network address corresponding to a domain name of the website. The domain name resolution system may return at least one node network address bound to the domain name of the website to the user, and the user may access the node network address to obtain website content, thereby providing network services to the user through the content distribution network.
In the embodiment of the present application, the parsing request may have different transmission manners. Thus, the resolution request may have different kinds according to the transmission mode of the resolution request. As an example of the present application, the domain name resolution system may include a DNS (Domain Name system, domain name service system) domain name resolution system, and an http DNS (HyperText Transfer Protocol Domain Name system, hypertext transfer domain name service system) domain name resolution system. The DNS domain name resolution system may be configured to receive a first resolution request based on a user datagram (UDP, user Datagram Protocol) transmission. The HTTP dns domain name resolution system may be configured to receive a second resolution request transmitted based on the hypertext transfer protocol (HTTP, hyper Text Transfer Protocol). So that the resolution request can be of two kinds.
The method specifically comprises the following steps:
step 101, obtaining 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 resolution requests;
in the embodiment of the application, there may be at least one service node in the content distribution network that needs to perform address allocation. The network addresses of a plurality of nodes in the service node which need to be subjected to address allocation can be monitored so as to acquire the real-time bandwidth consumption 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 formed by at least one service node in a certain area, or may be a content distribution network formed by at least one service node in a plurality of areas, or may be a content distribution network formed by manually selecting at least one service node according to actual needs, which is not limited in this application.
In a specific implementation, the domain name resolution system in the content delivery network may return different node network addresses for different kinds of resolution requests. For example, for a first type of resolution request, the domain name resolution system may return node network address a as well as 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 can come from both the first kind of resolution request and the second kind of resolution request. The real-time bandwidth usage of the node network address a is from the first type of resolution request and the second type of resolution request, and the real-time bandwidth usage of the node network address B may be from the first type 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 amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amounts of a plurality of node network addresses in the service node;
in the embodiment of the present application, the real-time bandwidth usage of the network addresses of the plurality of nodes in the service node may be used to determine the request bandwidth usage occupied by each parsing request in the content distribution network.
In a specific implementation, for a service node, the actual 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 may be from a first type of resolution request and the real-time bandwidth usage of node network address B may be from a second type of resolution request. The real-time bandwidth usage of the node network address C may come from a second kind of resolution request.
And because the domain name resolution system aims at one resolution request, users can be uniformly distributed to a plurality of node network addresses, so that the bandwidth consumption occupied by 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 to the user the node network address a, the node network address B, and the node network address C in the service node a for the resolution request of the first type, 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 type 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 type, any one of the node network address a, the node network address B and the node network address C of the service node a may be uniformly returned to the plurality of users, so that the plurality of users may uniformly access the node network address a, the node network address B and the node network address C, and thus the bandwidth usage occupied by the resolution request of the first type in the node network address A, B, C may be similar.
Therefore, the bandwidth consumption occupied by each analysis request in the real-time bandwidth consumption of each node network address can be determined according to the type of the analysis request corresponding to the real-time bandwidth consumption of each node network address. And further, the bandwidth occupation amount occupied by each analysis request in the content distribution network can be determined according to the bandwidth occupation amount occupied by each analysis request in the network address of each node.
And step 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 distribution network may allocate, according to the request bandwidth occupation amount, at least one target node network address corresponding to each of the resolution requests. Wherein the target node network address may be from at least one serving node. Therefore, the node bandwidth occupation amount of the service node can be regulated and controlled, so that the node bandwidth occupation amount 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 the content distribution network is improved.
In a specific implementation, the content distribution network may allocate, according to a request bandwidth occupation amount occupied by each resolution request in each service node and a bandwidth capacity of each service node, a target node network address corresponding to and returned by each resolution request in the service node, so as to regulate and control a node bandwidth occupation amount of the service node, so that the node bandwidth occupation amount of the service node is in 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, the user device 204 may be used to issue a resolution request to the DNS domain name resolution system 201 or the http DNS domain name resolution system 202. Specifically, if the user accesses the domain name in the form of a web page, the user may issue a first resolution request based on user datagram transmission to DNS domain name resolution system 201. If the user accesses the domain name in the form of an application, the user may issue a second resolution request to the http dns domain name resolution system 202 based on the hypertext transfer protocol transport. DNS domain name resolution system 201 or http DNS domain name resolution system 202 may return the 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 real-time bandwidth usage of a plurality of the node network addresses in the service node 203, and determine a request bandwidth usage occupied by each parsing request in the content distribution network by using the real-time bandwidth usage of the plurality of the 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 occupation amount of the request, so as to regulate the node bandwidth occupation amount of the service node 203.
Thereafter, the content distribution network may further monitor the real-time bandwidth occupation amount of the node network address, and redetermine the request bandwidth occupation amount occupied by each parsing request in the service node 203 by using the real-time bandwidth occupation amounts 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. To keep the node bandwidth occupation of the service node 203 in a reasonable range, improve the bandwidth utilization of the service node, and improve the experience of the user accessing the content distribution network.
Acquiring real-time bandwidth consumption of a plurality of node network addresses in the service node by the address allocation method of the content distribution network; the real-time bandwidth usage is from at least two resolution requests; determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amount of a plurality of node network addresses in the service node; and according to the request bandwidth occupation amount, allocating at least one target node network address corresponding to each analysis request. The node bandwidth occupation amount 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 accessing the content distribution network is improved.
Referring to fig. 3, a flowchart illustrating steps of an embodiment of an address allocation method of another 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 embodiments of the present application, the content distribution network may comprise at least one service node. The service node may comprise at least one node network address. The node network address may be a virtual network protocol address (VIP, virtual Internet Protocol Address).
In the embodiment of the present application, a domain name resolution system may be correspondingly configured 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 can be sent to a domain name resolution system in the content distribution network. The resolution request may be used to request to obtain a node network address corresponding to a domain name of the website. The domain name resolution system may return at least one node network address bound to the domain name of the website to the user, and the user may access the node network address to obtain website content, thereby providing network services to the user through the content distribution network.
In the embodiment of the present application, the parsing request may have different transmission manners. Thus, the resolution request may have different kinds according to the transmission mode of the resolution request.
The method specifically comprises the following steps:
step 301, obtaining 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 resolution requests;
in the embodiment of the application, the network addresses of the nodes performed by at least one service node in the content distribution network can be monitored to obtain the real-time bandwidth consumption of the network addresses of the 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. 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 formed by at least one service node in a certain area, or may be a content distribution network formed by at least one service node in a plurality of areas, or may be a content distribution network formed by manually selecting at least one service node according to actual needs, which is not limited in this application.
In one embodiment of the present application, the acquiring real-time bandwidth usage of a plurality of network addresses of the nodes in the service node; the real-time bandwidth usage comes from at least two steps of resolving requests, including:
s11, receiving at least two analysis requests;
in the embodiment of the application, the content distribution network may receive at least two resolution requests sent in different manners. Thus, the resolution request may have different kinds according to the transmission mode of the resolution request.
S12, 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;
in the embodiment of the application, different allocation modes of the node network addresses can be set according to different analysis requests, so that the bandwidth consumption 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 the content distribution network is improved.
Thus, after receiving the resolution request, at least one request node network address among the plurality of node network addresses in the service node may be selected according to the type of the resolution request, and the request node network address may be returned.
Each resolution request may correspond to at least one network address of a requesting node, where the network address of the requesting node may correspond to one resolution request or may correspond to multiple resolution requests, which is not limited in this application.
In a specific implementation, at least one request node network address may be selected from a plurality of node network addresses in the service node according to the type of the parsing request, and a request node network address or a plurality of 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 user datagram. The DNS nameresolution system can return the requesting node network address to the user by sending a data packet. The data packet may include a plurality of request node network addresses, and the user may randomly access one of the plurality of request node network addresses.
As an example of the present application, if the resolution request is a resolution request sent to the HTTPDNS domain name resolution system based on the hypertext transfer protocol. The HTTPDNS domain name resolution system can return a requesting node network address to the user so that the user can access the requesting node network address.
S13, acquiring the real-time bandwidth consumption of the network address of the request node.
In the embodiment of the application, the real-time bandwidth usage of the network address of the request node can be obtained respectively, so as to further determine the allocation mode of the network address of the node.
Step 302, determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amounts 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 network addresses of a plurality of nodes in the service node may be used to determine the bandwidth usage occupied by each resolution request in the service node, so as to determine the request bandwidth occupation occupied by each resolution request in the content distribution network.
In a specific implementation, for a service node, the actual bandwidth usage may come from different resolution requests for different node network addresses in the service node. And because the domain name resolution system aims at one resolution request, users can be uniformly distributed to a plurality of node network addresses, so that the bandwidth consumption occupied by the resolution requests from the same kind in each node network address can be basically the same.
Therefore, the bandwidth consumption occupied by each analysis request in the real-time bandwidth consumption of each node network address can be determined according to the type of the analysis request corresponding to the real-time bandwidth consumption of each node network address. And further, the bandwidth occupation amount occupied by each analysis request in the content distribution network can be determined according to the bandwidth occupation amount occupied by each analysis request in the network address of each node.
In one embodiment of the present application, the step of determining the request bandwidth occupation amount occupied by each parsing request in the content distribution network by using real-time bandwidth occupation amounts of a plurality of network addresses of the nodes in the service node includes:
s21, determining a single address which singly corresponds to one analysis request in the network address of the request node;
in this embodiment of the present application, the network address of the requesting node may correspond to one resolution request, or may correspond to multiple resolution requests. Thus, in the requesting node network address, there may be a single address that corresponds to one of the resolution requests alone. A single address that corresponds solely to one of the resolution requests may be found and the requested bandwidth occupancy may be further determined based on the real-time bandwidth occupancy of the single address.
S22, for one type of analysis request, determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the real-time bandwidth occupation amount of a single address corresponding to the type of analysis request and the number of network addresses of the request nodes corresponding to the type of analysis request.
In the embodiment of the application, for an resolution request, the domain name resolution system can relatively equally distribute the network addresses of a plurality of request nodes corresponding to the resolution request, so that the probability of a user accessing each request node network address can be similar. Thus, the bandwidth usage from the same resolution request may be relatively even in real-time bandwidth usage for each of the requesting node network addresses.
In this case, since the real-time bandwidth occupation amount in the single address may be all from one type of resolution request, the request bandwidth occupation amount of the type of resolution request in the content distribution network may be determined according to the real-time bandwidth occupation amount of the single address corresponding to the type of resolution request and the number of network addresses of the requesting node corresponding to the type of resolution request for one type of resolution request.
In a specific implementation, for an analysis request, an average value of real-time bandwidth usage of a single address corresponding to the analysis request of the type may be calculated according to real-time bandwidth usage of each single address corresponding to the analysis request of the type. The request bandwidth occupation amount of the type of analysis request in the content distribution network can be calculated according to the average value of the real-time bandwidth consumption of the single address and the number of the network addresses of the request nodes corresponding to the type of analysis request.
As one example of the present application, the resolution request includes a first resolution request sent to a DNS domain name resolution system based on user datagram, and a second resolution request sent to an http DNS domain name resolution system based on hypertext transfer protocol. The content distribution network may comprise at least one service node, which may comprise at least one node network address, whereby the content distribution network may havenA network address of the individual nodes. Wherein, all node network addresses are used as request node network addresses corresponding to the first analysis request, and the first analysis request is a request node network addressiThe individual node network address is also used as the requesting node network address corresponding to the second resolution request. Then the first i+1~nThe network address of each requesting node may be a single address of the first resolution request.
Real-time bandwidth occupancy for each of the node network addressesTrafficThereafter, the request bandwidth occupancy of the first resolution request may be calculated using the following formula
Wherein,,can be the firstjReal-time bandwidth occupancy for a single address corresponding to a first resolution request,can be the firsti+1~nThe network address of each requesting node, i.e. the sum of the real-time bandwidth occupation amounts of the single address of all the first resolution requests. Will->Dividing by the number of single addresses of the first resolution request +.>Obtaining the average value of the real-time bandwidth occupation amount of the single address, and multiplying the average value by the number of the network addresses of the request nodes corresponding to the first analysis request>Thereby obtaining the request bandwidth occupation amount corresponding to the first analysis request in the content distribution network>
In one embodiment of the present application, the step of determining the request bandwidth occupation amount occupied by each parsing request in the content distribution network by using real-time bandwidth occupation amounts of a plurality of network addresses of the nodes in the service node further includes:
s31, for one type of analysis request, if a single address which singly 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.
In one embodiment of the present application, the request bandwidth usage corresponding to the heterogeneous resolution requests is generally different. Thus, there may be a request bandwidth usage corresponding to one type of resolution request that is much greater than the request bandwidth usage corresponding to the other type of resolution 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 in some kind of resolution request with a small request bandwidth usage.
Thus, for one type of resolution request, if there is no single address in the network address of the requesting node that individually corresponds to the type of resolution request, the requested bandwidth occupation amount of the type of resolution request in the content distribution network can be determined according to the requested bandwidth occupation amounts of other types of resolution requests in the content distribution network.
In a specific implementation, for an resolution request without a corresponding single address, the bandwidth usage occupied by other resolution requests in the network address of the requesting node may be determined according to the request bandwidth usage of other resolution requests with a single address. And then, the real-time bandwidth consumption of the network address of the request node removes the bandwidth consumption occupied by other analysis requests, and the residual bandwidth consumption is the bandwidth consumption occupied by the analysis requests without the corresponding single address, so that the request bandwidth occupation of the analysis requests without the corresponding single address can be determined.
As one example of the present application, the resolution request includes a first resolution request sent to the DNS domain name resolution system based on user datagram, and a second resolution request sent to the http DNS domain name resolution system based on hypertext transfer protocol, as previously described. The content distribution network may comprise at least one service node, which may comprise at least one node network address, whereby the content distribution network may havenA network address of the individual nodes. Wherein, all node network addresses are used as request node network addresses corresponding to the first analysis request, and the first analysis request is a request node network addressiThe individual node network address is also used as the requesting node network address corresponding to the second resolution request. Then the firsti+1~nRequest sectionThe point network address may be a single address of the first resolution request.
For the second resolution request without the corresponding single address, the following formula can be adopted to calculate the request bandwidth occupation amount corresponding to the second resolution request
Wherein,,is the firstmReal-time bandwidth occupation amount of corresponding request node network address of second analysis request, +.>Is the firstjReal-time bandwidth occupancy of a single address corresponding to a first resolution request. />Can be the first i~nThe first destination address, i.e. the sum of the first address bandwidth footprints of all said single addresses. Will->Dividing by the number of single addresses of the first resolution request +.>And obtaining the average value of the real-time bandwidth occupation amount of the single address. Thereafter, the real-time bandwidth occupation amount of the corresponding request node network address of each second resolution request is +.>And subtracting the average value of the real-time bandwidth occupation amount of the single address, thereby obtaining the bandwidth occupation amount of the second analysis request in the corresponding request node network address of the second analysis request. Thereafter, it willmCorresponding requests of the second resolution requestThe bandwidth consumption occupied by the second analysis request in the node network address is summed up, and the request bandwidth occupation of the second analysis request can be obtained
Step 303, determining the bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and the preset bandwidth capacity;
in the embodiment of the present application, the content distribution network may determine, according to the request bandwidth occupation amount and a preset bandwidth capacity, a bandwidth allocation proportion between the service nodes for an parsing request. The bandwidth allocation ratio may be an allocation ratio of bandwidth usage for a resolution request between the service nodes. 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 parsing 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 acquire web content from a content distribution network using a first resolution request or a second resolution request. Wherein the first resolution request is based on user datagram transmission and the second resolution request is based on hypertext transfer protocol transmission. After the DNS domain name resolution system receives the first resolution request, the node network address may be returned in a manner of an inter-packet load or an intra-packet load. Under the condition of adopting the inter-package load mode, the electronic equipment used by the user can record the node network address obtained based on the first analysis request in the history, so that the user can directly access the node network address obtained by the history every time accessing the content distribution network, bandwidth allocation is difficult to be carried out in real time, and the fineness of the bandwidth allocation is limited. In the case of the load-in-packet mode, the DNS domain name resolution system may return the node network address to the electronic device of the user by sending a data packet. However, since the number of node network addresses that the data packet generally supports is 16, there is also a problem that the inter-packet load mode occurs in which the user electronic device records the node network addresses obtained in history, so that the accuracy of bandwidth allocation is limited. The HTTPDNS domain name resolution system can distribute node network addresses for users by adopting high-definition bandwidth distribution proportion when the users access the content distribution network, so that the HTTPDNS domain name resolution system has higher definition.
Therefore, the bandwidth allocation proportion can be determined for the DNS domain name resolution system with lower definition, and then the bandwidth allocation proportion can be determined for the HTTPDNS domain name resolution system with higher definition.
The content distribution network comprises a service node A, a service node B and a service node C. Wherein the bandwidth capacity of service node a is 80G, the bandwidth capacity of service node B is 130G, and the bandwidth capacity of 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 is low in fineness, the service node a may, according to the actual situation, for the first resolution request: serving node B: the first bandwidth allocation proportion of the service node C is set to 1:1:3. specifically, the first parsing request occupies the bandwidth usage amount 30G of the service node a, occupies the bandwidth usage amount 30G of the service node B, and occupies the bandwidth usage amount 90G of the service node C.
The available residual bandwidth of the service node a is 50G, the available residual bandwidth of the service node B is 100G, and the available residual bandwidth of the service node C is 10G, and since the available residual bandwidth of the service node C is smaller, to avoid affecting the experience of the user accessing the service node C, the second bandwidth allocation ratio of the second parsing request may be determined only for the service node a and the service node B. Since the HTTPDNS domain name resolution system can use a high-definition bandwidth allocation ratio, the service node a can: the second bandwidth allocation proportion of the serving node B is set to 47:93. specifically, the bandwidth capacity 47G of the service node a is occupied, the bandwidth capacity 93G of the service node B is occupied, and the second request bandwidth occupancy is uniformly distributed to the service node a and the service node B by adopting higher fineness.
From this, it can be estimated that the node bandwidth usage of the service node a is 77G, the node bandwidth usage of the service node B is 123G, and the node bandwidth usage of the service node C is 90G. The node bandwidth occupation amount of the service node is in a reasonable range, the bandwidth utilization rate of the service node is high, and the user can have better experience when accessing the 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 the embodiment of the present application, at least one target node network address corresponding to each 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 amount of the service node can be regulated and controlled, so that the node bandwidth occupation amount 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 the content distribution network is improved.
In a specific implementation, after receiving the parsing request, the content distribution 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.
In particular, for one resolution request, multiple target node network addresses may be returned, each from a different serving node. After acquiring the plurality of target node network addresses, the user may 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, so that the node bandwidth consumption among 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, 6 target node network addresses of the serving node a and 4 target node network addresses of the serving node B may be returned for the resolution request. The user can randomly access any one of the 10 target node network addresses, thereby enabling multiple users to access the service node a and the service node B according to a bandwidth allocation ratio of 6:4.
Specifically, a target node network address may also be returned for an resolution request. In this case, the domain name resolution system may return the target node network addresses of different service nodes to the plurality of users, respectively, using the bandwidth allocation ratio. Therefore, a plurality of users can access different service nodes according to the bandwidth allocation proportion, so that the node bandwidth consumption among the service nodes is similar to the bandwidth allocation proportion.
As an example of the present application, if the bandwidth allocation ratio of the service node a to the service node B is 62:38 for the resolution request, the target node network address belonging to the service node a may be returned to the 62 users for 100 users sending the resolution request, and the target node network address belonging to the service node B may be returned to the 38 users, so that the multiple users may access the service node a and the service node B according to the bandwidth allocation ratio of 6:4.
Acquiring real-time bandwidth consumption of a plurality of node network addresses in the service node by the address allocation method of the content distribution network; the real-time bandwidth usage is from at least two resolution requests; determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amount of a plurality of node network addresses in the service node; determining the bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and the preset bandwidth capacity; and according to the bandwidth allocation proportion, allocating at least one target node network address corresponding to each analysis request. The node bandwidth occupation amount 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 accessing the content distribution network is improved.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments and that the acts referred to are not necessarily required by the embodiments of the present application.
Referring to fig. 4, there is shown a block diagram of an embodiment of an address allocation apparatus of a content distribution network of the present application, the content distribution network comprising at least one service node, the service node comprising a plurality of node network addresses;
the device specifically comprises the following modules:
an obtaining module 401, configured to obtain real-time bandwidth usage of a plurality of network addresses of the nodes in the service node; the real-time bandwidth usage is from at least two resolution requests;
a determining module 402, configured to determine a request bandwidth occupation amount occupied by each parsing request in the content distribution network by using real-time bandwidth usage of a plurality of network addresses of the nodes in the service node;
And the allocation module 403 is configured to allocate at least one target node network address corresponding to each resolution request according to the bandwidth occupation amount of the request.
In one embodiment of the present application, the obtaining module 401 includes:
the receiving submodule is used for receiving at least two analysis requests;
the selecting sub-module 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 acquisition sub-module is used for acquiring the real-time bandwidth consumption of the network address of the request node.
In one embodiment of the present application, the determining module 402 includes:
a single address determining sub-module, configured to determine, in the network address of the requesting node, a single address that individually corresponds to one of the resolution requests;
the first request bandwidth occupation amount determining sub-module is used for determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the real-time bandwidth consumption of a single address corresponding to the type of analysis request and the number of the request node network addresses corresponding to the type of analysis request for one type of analysis request.
In one 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 the single address which singly 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 allocation 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 allocation submodule is used for allocating at least one target node network address corresponding to each analysis request according to the bandwidth allocation proportion.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The embodiment of the application also provides a device, which comprises:
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 the methods described in embodiments of the present application.
One or more machine-readable media are also provided, having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods described in the embodiments of the present application.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present embodiments 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 on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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.
While preferred embodiments of the present embodiments have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the present application.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail the method for allocating addresses to content distribution networks and the apparatus for allocating addresses to content distribution networks provided in the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, and the above description of the examples is only for helping to understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (12)

1. An address allocation method 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 consumption of a plurality of node network addresses in the service node; the real-time bandwidth usage is from at least two resolution requests; the parsing request comprises a first parsing request based on user datagram transmission and a second parsing request based on hypertext transfer protocol transmission;
determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amount of a plurality of node network addresses in the service node;
and according to the request bandwidth occupation amount, allocating at least one target node network address corresponding to each analysis request.
2. The method of claim 1, wherein said obtaining real-time bandwidth usage for a plurality of said node network addresses in said serving node; the real-time bandwidth usage comes from at least two steps of resolving requests, including:
receiving at least two analysis requests;
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 acquiring the real-time bandwidth consumption of the network address of the request node.
3. The method of claim 2, wherein said step of determining a requested bandwidth occupancy for each resolution request in said content distribution network using real-time bandwidth occupancy for a plurality of said node network addresses in said service node comprises:
determining a single address which singly corresponds to one analysis request in the network address of the request node;
for an analysis request, determining the request bandwidth occupation amount of the analysis request of the type in the content distribution network according to the real-time bandwidth occupation amount of a single address corresponding to the analysis request of the type and the number of network addresses of the request nodes corresponding to the analysis request of the type.
4. The method of claim 3, wherein said step of determining a requested bandwidth occupancy for each resolution request in said content distribution network using real-time bandwidth occupancy for a plurality of said node network addresses in said service node further comprises:
for an analysis request, if a single address which singly 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 of claim 1, wherein the step of allocating at least one target node network address corresponding to each of the resolution requests according to the request bandwidth occupation amount comprises:
determining the bandwidth allocation proportion of the analysis request according to the request bandwidth occupation amount and the preset bandwidth capacity;
and according to the bandwidth allocation proportion, allocating at least one target node network address corresponding to each analysis request.
6. An address allocation arrangement of a content distribution network, characterized in that the content distribution network comprises at least one service node comprising a plurality of node network addresses; the device comprises:
the acquisition module is used for acquiring the real-time bandwidth consumption of the network addresses of the nodes in the service node; the real-time bandwidth usage is from at least two resolution requests; the parsing request comprises a first parsing request based on user datagram transmission and a second parsing request based on hypertext transfer protocol transmission;
the determining module is used for determining the request bandwidth occupation amount occupied by each analysis request in the content distribution network by adopting the real-time bandwidth occupation amounts of the network addresses of a plurality of nodes in the service node;
And the allocation module is used for allocating at least one target node network address corresponding to each analysis request according to the request bandwidth occupation amount.
7. The apparatus of claim 6, wherein the acquisition module comprises:
the receiving submodule is used for receiving at least two analysis requests;
the selecting sub-module 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 acquisition sub-module is used for acquiring the real-time bandwidth consumption of the network address of the request node.
8. The apparatus of claim 7, wherein the means for determining comprises:
a single address determining sub-module, configured to determine, in the network address of the requesting node, a single address that individually corresponds to one of the resolution requests;
the first request bandwidth occupation amount determining sub-module is used for determining the request bandwidth occupation amount of the type of analysis request in the content distribution network according to the real-time bandwidth consumption of a single address corresponding to the type of analysis request and the number of the request node network addresses corresponding to the type of analysis request for one type of analysis request.
9. The apparatus of claim 8, wherein the means for determining 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 the single address which singly 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 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 allocation submodule is used for allocating at least one target node network address corresponding to each analysis request according to the bandwidth allocation proportion.
11. An address allocation apparatus of a content distribution network, comprising:
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 the method of any of claims 1-5.
12. One or more machine readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method of any 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 CN113301445A (en) 2021-08-24
CN113301445B true 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)

Families Citing this family (1)

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

Family Cites Families (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
CN106657432B (en) * 2016-11-17 2019-10-15 中国移动通信集团江苏有限公司 Domain name analytic method and device
CN109547517B (en) * 2017-09-22 2021-11-09 贵州白山云科技股份有限公司 Method and device for scheduling bandwidth resources

Also Published As

Publication number Publication date
CN113301445A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN109327550B (en) Access request distribution method and device, storage medium and computer equipment
US8065417B1 (en) Service provider registration by a content broker
JP4753052B2 (en) Content delivery method and system
US7373644B2 (en) Automated server replication
CN103716251B (en) For the load-balancing method and equipment of content distributing network
US10361902B2 (en) Method and system for guaranteeing resource utilization rate of website using content distribution network
US9407570B2 (en) Method, apparatus, and system for allocating CDN volume
CN104348798B (en) A kind of method, apparatus, dispatch server and system for distributing network
CN111327461B (en) Domain name management method, device, equipment and medium based on CDN system
US20180288141A1 (en) Http scheduling system and method of content delivery network
US20170099345A1 (en) Content delivery network load balancing
CN108173774B (en) Client upgrading method and system
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
CN111464649B (en) Access request source returning method and device
CN105450780A (en) CDN system and source tracing method thereof
US11902352B2 (en) HttpDNS scheduling method, apparatus, medium and device
CN108124020B (en) Domain name resolution method, system and equipment
CN102891804A (en) Control strategy adjustment method and system
CN110545450B (en) Node distribution method, system, electronic equipment and storage medium
CN113301445B (en) Address allocation method and device for content distribution network
CN109413117B (en) Distributed data calculation method, device, server and computer storage medium
CN113676514A (en) File source returning method and device
CN112019451B (en) Bandwidth allocation method, debugging network element, local cache server and computing device
US10154414B2 (en) Resource allocation
CN113612841B (en) Task scheduling method, device, computer equipment and storage medium

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