CN109151009A - A kind of CDN node distribution method and system based on MEC - Google Patents
A kind of CDN node distribution method and system based on MEC Download PDFInfo
- Publication number
- CN109151009A CN109151009A CN201810903874.6A CN201810903874A CN109151009A CN 109151009 A CN109151009 A CN 109151009A CN 201810903874 A CN201810903874 A CN 201810903874A CN 109151009 A CN109151009 A CN 109151009A
- Authority
- CN
- China
- Prior art keywords
- cdn node
- cdn
- load balancing
- node
- dns request
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1021—Server selection for load balancing based on client or server locations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
Abstract
The embodiment of the present invention provides a kind of CDN node distribution method and system based on MEC, is related to the communications field, for distributing the smaller CDN node of time delay under MEC framework for user.This method comprises: MEC server receives the DNS request that user terminal is sent and the mark of itself and nearest CDN node is sent to CDN global load balancing device;CDN global load balancing device obtains the mark for being closer CDN node according to the mark of nearest CDN node and the CDN node topology information prestored, then best CDN node is chosen according to the load factor of the topology distance and each CDN node prestored of target CDN node and nearest CDN node, and the mark of best CDN node is sent to MEC server so that the network protocol IP address corresponding with the mark of best CDN node prestored is sent to user terminal by it;Target CDN node includes nearest CDN node and nearlyr CDN node.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of CDN node distribution methods and system based on MEC.
Background technique
CDN (Content Delivery Network, content distributing network) technology refers to places node in network everywhere
Server, to form one layer of intelligent virtual network architecture on existing Internet basic.By CDN technology, can incite somebody to action
The content of website is distributed to the network " edge " closest to user, and user is allow to obtain required content nearby, so as to
The response speed that user accesses website is improved, user experience is promoted.In traditional CDN technology, the allocation plan of node server
Mainly realized by dynamic-dns technology.In dynamic-dns technology, the local dns that user client is used with it are assumed
(Domain Name System, domain name system) server is in the same area, and according to known IP (Internet
Protocol, network protocol) regional information construction includes mapping table between IP address and belonged to region.Carry out
When CDN node is distributed, the IP address by inquiring the local dns server belongs to region, to issue for user client
The IP address of the CDN node nearest apart from user client in the region.
With the development of mobile Internet business and the development of network technology, (Mobile Edge Computing is moved MEC
Dynamic edge calculations) framework starts to occur, richer mobile network service may be implemented using MEC framework.In the architecture, hand
The connection of machine user and CDN node is transferred by MEC server, since MEC server compares EPC (Evolved Packet
Core, core network element) away from closer to the user, therefore delay when user accesses business to CDN node can also be lower.At this
It is the nearest CDN node of the MEC server that distance is user service that the CDN node nearest apart from user is practical in framework, due to
Mobile network edge is sunken under MEC server is usual, the practical topology position of MEC server may be with local dns server phase
Away from farther out, according to traditional CDN node distribution method, IP of the CDN global load balancing device still according to local dns server
It is that user selects CDN node that location, which belongs to region, can not effectively be that the user under the framework selects suitable distance for user's clothes
The MEC topology server of business is apart from closer CDN node.
Summary of the invention
The embodiment of the present invention provides a kind of CDN node distribution method and system based on MEC, under MEC framework
The smaller CDN node of time delay is distributed for user.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of CDN node distribution method based on MEC, comprising:
MEC server receives the domain name system DNS request that user terminal is sent;
The mark of DNS request and the first CDN node prestored it is complete to be sent to the corresponding CDN of DNS request by MEC server
Office's load balancer;First CDN node is with MEC topology server apart from nearest CDN node;
CDN global load balancing device obtains second according to the mark of the first CDN node and the CDN node topology information prestored
The mark of CDN node;The topology distance of second CDN node and the first CDN node is preset value;
CDN global load balancing device is according to the topology distance of target CDN node and the first CDN node and the target prestored
The load factor of CDN node chooses best CDN node from target CDN node, and the mark of best CDN node is sent to MEC
Server;Target CDN node includes the first CDN node and the second CDN node;
The network protocol IP address corresponding with the mark of best CDN node prestored is sent to user's end by MEC server
End.
Technical solution provided by the above embodiment uses MEC server for the framework of MEC server external connection CDN node
Adapter tube and forwarding user's DNS request and the CDN node mark for reporting topology distance nearest to CDN global load balancing device, thus
Enable CDN global load balancing device under this structure according to CDN node topology information find distance MEC topology server away from
From close and low load factor best CDN node, use the best CDN node as the best CDN node for user service, it can be with
Customer service access delay is reduced to a greater extent, improves customer service experience.
Optionally, the mark of DNS request and the first CDN node prestored it is corresponding to be sent to DNS request by MEC server
CDN global load balancing device before further include:
MEC server according in DNS request user identifier and prestored user business information judge whether user terminal has
The access right of MEC server;
When MEC server determines that user terminal has the access right of MEC server, MEC server is by DNS request and in advance
The mark for the first CDN node deposited is sent to the corresponding CDN global load balancing device of DNS request.
Optionally, the mark of DNS request and the first CDN node prestored it is corresponding to be sent to DNS request by MEC server
CDN global load balancing device include:
MEC server determines DNS according to the domain-name information in the CDN global load balancing device list prestored and DNS request
Request the IP address of corresponding CDN global load balancing device;Information in CDN global load balancing device list includes at least one
The IP address of CDN global load balancing device and the one-to-one domain-name information of IP address with CDN global load balancing device;
MEC server by DNS request and is prestored according to the IP address of the corresponding CDN global load balancing device of DNS request
The mark of first CDN node is sent to the corresponding CDN global load balancing device of DNS request.
Optionally, the mark of DNS request and the first CDN node prestored it is corresponding to be sent to DNS request by MEC server
CDN global load balancing device include:
DNS request is sent to the corresponding local dns server of user terminal by core network element EPC by MEC server, with
Make to return to domain name resolution response after carrying out domain name mapping to DNS request;
After MEC server receives the domain name mapping response that the corresponding local dns server of user terminal returns, according to domain
CDN global load balancing device address information in name resolution response sends out the mark of DNS request and the first CDN node prestored
Give CDN global load balancing device corresponding with CDN global load balancing device address information;
CDN global load balancing device address information includes alias CNAME information and/or IP address information.
Optionally, CDN global load balancing device is according to the topology distance of target CDN node and the first CDN node and pre-
The load factor for the target CDN node deposited chooses best CDN node from target CDN node
It chooses in target CDN node with the nearest target CDN node of the first CDN node topology distance as suboptimum CDN node;
The minimum suboptimum CDN node of load factor is as best CDN node in selection suboptimum CDN node.
Optionally, CDN global load balancing device is according to the topology distance of target CDN node and the first CDN node and pre-
The load factor for the target CDN node deposited chooses best CDN node from target CDN node
The minimum target CDN node of load factor is as suboptimum CDN node in selection target CDN node;
Suboptimum CDN node nearest with the first CDN node topology distance in suboptimum CDN node is chosen to save as best CDN
Point.
Second aspect provides a kind of MEC server, comprising: receiving module, sending module and memory module;
Receiving module, for receiving the DNS request of user terminal transmission;
Sending module, the mark of the first CDN node for storing the received DNS request of receiving module and memory module
It is sent to the corresponding CDN global load balancing device of DNS request;First CDN node is nearest with MEC topology server distance
CDN node;
Receiving module is also with the mark for receiving the best CDN node that CDN global load balancing device is sent;
Sending module is also with the IP corresponding with the mark of the received best CDN node of receiving module for storing memory module
Address is sent to user terminal.
Optionally, which further includes judgment module;
Judgment module is used for the user according to user identifier and memory module storage in the received DNS request of receiving module
Business information judges whether user terminal has the access right of MEC server;
When judgment module determines that user terminal has the access right of MEC server, sending module receives receiving module
DNS request and memory module storage the first CDN node mark, be sent to the corresponding CDN global load balancing of DNS request
Device.
Optionally, sending module is specifically used for:
According to the domain in the CDN global load balancing device list and the received DNS request of receiving module of memory module storage
Name information determines the IP address of the corresponding CDN global load balancing device of DNS request;Letter in CDN global load balancing device list
Breath includes the IP address of at least one CDN global load balancing device and corresponds with the IP address of CDN global load balancing device
Domain-name information;
Stored DNS request and memory module according to the IP address of the corresponding CDN global load balancing device of DNS request the
The mark of one CDN node is sent to the corresponding CDN global load balancing device of DNS request.
Optionally, sending module is specifically used for:
The received DNS request of receiving module is sent to the corresponding local dns service of user terminal by core network element EPC
Device, so as to return to domain name resolution response after carrying out domain name mapping to DNS request;
After receiving module receives the domain name mapping response that the corresponding local dns server of user terminal returns, send
Module by DNS request and is deposited according to the CDN global load balancing device address information in the received domain name mapping response of receiving module
It is negative that the mark of first CDN node of storage module storage is sent to the CDN overall situation corresponding with CDN global load balancing device address information
Carry balanced device;
CDN global load balancing device address information includes CNAME information and/or IP address information.
The third aspect provides a kind of CDN global load balancing device, receiving module, memory module, processing module and transmission mould
Block;
Receiving module, for receiving the DNS request of MEC server transmission and the mark of the first CDN node;
Processing module, the CDN section for being stored according to the mark and memory module of received first CDN node of receiving module
Point topology information obtains the mark of the second CDN node;The topology distance of second CDN node and the first CDN node is preset value;
The target CDN that processing module is also used to the topology distance according to target CDN node and the first CDN node and prestores
The load factor of node chooses best CDN node from target CDN node;Target CDN node includes the first CDN node and second
CDN node;
The mark of sending module, the best CDN node for choosing processing module is sent to MEC server.
Optionally, processing module is specifically used for:
It chooses in target CDN node with the nearest target CDN node of the first CDN node topology distance as suboptimum CDN node;
The minimum suboptimum CDN node of load factor is as best CDN node in selection suboptimum CDN node.
Optionally, processing module is specifically used for:
The minimum target CDN node of load factor is as suboptimum CDN node in selection target CDN node;
Suboptimum CDN node nearest with the first CDN node topology distance in suboptimum CDN node is chosen to save as best CDN
Point.
Fourth aspect provides a kind of CDN node distribution system based on MEC, the MEC server provided including first aspect
The CDN global load balancing device provided with second aspect.
CDN node distribution method and system provided in an embodiment of the present invention based on MEC, this method comprises: MEC server
Receive the domain name system DNS request that user terminal is sent;MEC server is by DNS request and the mark of the first CDN node prestored
Know, is sent to the corresponding CDN global load balancing device of DNS request;First CDN node is nearest with MEC topology server distance
CDN node;CDN global load balancing device obtains the according to the mark of the first CDN node and the CDN node topology information prestored
The mark of two CDN nodes;The topology distance of second CDN node and the first CDN node is preset value;CDN global load balancing device
According to the load factor of the topology distance and the target CDN node prestored of target CDN node and the first CDN node from target CDN
Best CDN node is chosen in node, and the mark of best CDN node is sent to MEC server;Target CDN node includes the
One CDN node and the second CDN node;MEC server is by the network protocol IP corresponding with the mark of best CDN node prestored
Location is sent to user terminal.In technical solution provided in an embodiment of the present invention, when user needs using CDN service, user
Terminal head sends DNS request to MEC server, and MEC server is by forwarding DNS request and prestores nearest apart from itself
The mark of CDN node gives the corresponding CDN global load balancing device of DNS request, so that CDN global load balancing device can be with
Obtain around MEC server recently can optional CDN node for users to use, then CDN global load balancing device is according to these
The topology distance and load factor of optional CDN node distance MEC server are selected relative to the lower best CDN of user terminal time delay
Node, and its address is sent to user terminal, thus when reducing user to the full extent using CDN node progress business access
Time delay, improve user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of CDN node distribution method flow diagram based on MEC provided in an embodiment of the present invention;
Fig. 2 is another CDN node distribution method flow diagram based on MEC provided in an embodiment of the present invention;
Fig. 3 is a kind of CDN node distribution system configuration schematic diagram based on MEC provided in an embodiment of the present invention;
Fig. 4 is a kind of MEC server architecture schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of CDN global load balancing device structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating
Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer
It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used
Such as " word is intended to that related notion is presented in specific ways.
It should also be noted that, in the embodiment of the present invention, " (English: of) ", " corresponding (English:
Corresponding, relevant) " it sometimes can be mixed with " corresponding (English: corresponding) ", it should be pointed out that
It is that, when not emphasizing its difference, meaning to be expressed is consistent.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the
One ", the printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can
To understand that the printed words such as " first ", " second " are not to be defined to quantity and execution order.
The existing CDN node method of salary distribution cannot distribute the smallest suitable CDN node of time delay under MEC framework for user.
In view of the above-mentioned problems, the embodiment of the present invention provides a kind of CDN node distribution side based on MEC shown in referring to Fig.1
Method, comprising:
101, MEC server receives the domain name system DNS request that user terminal is sent.
Illustratively, general user's when needing network to service (such as Video service) can issue DNS request.
102, the mark of DNS request and the first CDN node prestored it is corresponding to be sent to DNS request by MEC server
CDN global load balancing device, the first CDN node are with MEC topology server apart from nearest CDN node.
The information that topology distance mentioned here refers specifically to the first CDN node is transferred to how much MEC server needs process
A equipment or network element, such as need then to think by three equipment or network element the topology distance of the first CDN node Yu MEC server
It is jumped for 3.
Illustratively, mark mentioned here specifically is used to indicate position and the title of CDN node.
103, CDN global load balancing device is obtained according to the mark of the first CDN node and the CDN node topology information prestored
The mark of second CDN node;The topology distance of second CDN node and the first CDN node is preset value.
Illustratively, in embodiments of the present invention, preset value is 1 jump.
104, CDN global load balancing device according to the topology distance of target CDN node and the first CDN node and prestores
The load factor of target CDN node chooses best CDN node from target CDN node, and the mark of best CDN node is sent to
MEC server.
Wherein, target CDN node includes the first CDN node and the second CDN node.
In embodiments of the present invention, CDN global load balancing device itself is stored with the logic topology information of all CDN nodes
With load factor information;Certainly, CDN global load balancing device in practice can only include patrolling for the CDN node in a part area
Topology distance and load factor information are collected, concrete condition is according to depending on reality.
105, the network protocol IP address corresponding with the mark of best CDN node prestored is sent to use by MEC server
Family terminal.
CDN node distribution method provided by the above embodiment based on MEC is needed in user using CDN in this scenario
When service, user terminal head sends DNS request to MEC server, and MEC server passes through forwarding DNS request and the distance prestored
The mark of itself nearest CDN node gives the corresponding CDN global load balancing device of DNS request, so that the CDN overall situation loads
Around the available MEC server of balanced device recently can optional CDN node for users to use, then CDN global load balancing
Device is selected relative to user terminal time delay more according to the topology distance and load factor of these optional CDN node distance MEC servers
Low best CDN node, and its address is sent to user terminal, thus reduce to the full extent user using CDN node into
Time delay when row business access improves user experience.
Referring to shown in Fig. 2, another embodiment of the present invention also provides a kind of CDN node distribution method conduct pair based on MEC
CDN node distribution method provided by the above embodiment based on MEC further remarks additionally or specific example explanation, the party
Method includes:
201, MEC server receives the domain name system DNS request that user terminal is sent.
202, MEC server according in DNS request user identifier and prestored user business information judge that user terminal is
The no access right for having MEC server.
When MEC server determines that user terminal has the access right of MEC server, 203 are executed;When MEC server is true
When determining user terminal does not have the access right of MEC server, terminate process;End process mentioned here refers specifically to pass through
EPC;
Operator, which provides the user with MEC service, in practice is determined according to the business handling situation of user or consumption
, only when the consumption of user meets the case where certain amount of money or user individually handle MEC business operator
MEC service can be provided the user with, so needing exist for being judged this to execute 202 steps.
It is loaded specifically, DNS request is sent to the corresponding CDN overall situation of the DNS request because of MEC server in practice
There are two ways for weighing apparatus, so 203 steps specifically include here:
20311, MEC server is true according to the domain-name information in the CDN global load balancing device list prestored and DNS request
Determine the IP address of the corresponding CDN global load balancing device of DNS request.
Wherein, the information in the list of CDN global load balancing device includes the IP of at least one CDN global load balancing device
Location and the one-to-one domain-name information of IP address with CDN global load balancing device.
20312, MEC server according to the IP address of the corresponding CDN global load balancing device of DNS request by DNS request and
The mark of the first CDN node prestored is sent to the corresponding CDN global load balancing device of DNS request.
20321, DNS request is sent to the corresponding local dns of user terminal by core network element EPC and taken by MEC server
Business device, so as to return to domain name resolution response after carrying out domain name mapping to DNS request.
It should be noted that the DNS can be asked when local dns server can not parse the domain name of DNS request
It asks and is transmitted to root dns server, root dns server inquires the primary dns server that can parse above-mentioned target domain name, the main DNS
Server is usually the dns server of the self-built dns server in website or domain name trustship quotient;Then local dns server is straight
The primary dns server inquired is connect in succession to parse the DSN domain name requested, and obtained parsing result is back to MEC
Server.
20322, after MEC server receives the domain name mapping response that the corresponding local dns server of user terminal returns,
According to domain name mapping respond in CDN global load balancing device address information, by DNS request and the first CDN node for prestoring
Mark is sent to CDN global load balancing device corresponding with CDN global load balancing device address information.
Wherein, CDN global load balancing device address information includes alias CNAME information and/or IP address information.
204, CDN global load balancing device is obtained according to the mark of the first CDN node and the CDN node topology information prestored
The topology distance of the mark of second CDN node, the second CDN node and the first CDN node is preset value.
Specifically, the first CDN node and the second CDN node are combined and become being closer with MEC topology server
Target CDN node belongs to can be used for the suitable CDN node that the later period is allocated to user terminal;Illustratively, it presets
It is that the second CDN node and the first CDN node are adjacent that value is jumped for 1.
Specifically, because CDN global load balancing device when choosing best CDN node, needs to refer to each node and first
The topology distance of CDN node also needs to consider the load factor of each node, so when choosing, it can be right referring initially to topology distance
Reference load rate is chosen afterwards, can also be referring initially to load factor then referring to topology distance, so 205 steps specifically include:
20511, CDN global load balancing device choose target CDN node in the first nearest target of CDN node topology distance
CDN node is as suboptimum CDN node.
20512, the suboptimum CDN node that CDN global load balancing device chooses that load factor is minimum in suboptimum CDN node is used as most
Good CDN node.
20521, the target CDN node that CDN global load balancing device chooses that load factor is minimum in target CDN node is used as secondary
Excellent CDN node.
20522, CDN global load balancing device chooses time nearest with the first CDN node topology distance in suboptimum CDN node
Excellent CDN node is as best CDN node.
Specifically, can also comprehensively consider topology distance and load factor when choosing optimal node in practice, which is right
CDN node is bigger for the time delay influence that user provides service, then considers when choosing referring initially to the bigger factor of influence.
206, the mark of best CDN node is sent to MEC server by CDN global load balancing device.
207, the network protocol IP address corresponding with the mark of best CDN node prestored is sent to use by MEC server
Family terminal.
To sum up, the CDN node distribution method provided in an embodiment of the present invention based on MEC, because this method comprises: MEC takes
The domain name system DNS that device reception user terminal is sent of being engaged in is requested;MEC server is by DNS request and the first CDN node for prestoring
Mark, is sent to the corresponding CDN global load balancing device of DNS request;First CDN node is with MEC topology server apart from most
Close CDN node;CDN global load balancing device is obtained according to the mark of the first CDN node and the CDN node topology information prestored
The mark of second CDN node;The topology distance of second CDN node and the first CDN node is preset value;CDN global load balancing
Device is according to the load factor of the topology distance and the target CDN node prestored of target CDN node and the first CDN node from target
Best CDN node is chosen in CDN node, and the mark of best CDN node is sent to MEC server;Target CDN node includes
First CDN node and the second CDN node;The network protocol IP corresponding with the mark of best CDN node that MEC server will prestore
Address is sent to user terminal.So being needed in user using CDN service in technical solution provided in an embodiment of the present invention
When, user terminal head sends DNS request to MEC server, and MEC server is by forwarding DNS request and prestoring apart from itself
The mark of nearest CDN node gives the corresponding CDN global load balancing device of DNS request, so that CDN global load balancing
Around the available MEC server of device recently can optional CDN node for users to use, then CDN global load balancing device root
It is selected according to the topology distance and load factor of these optional CDN node distance MEC servers lower relative to user terminal time delay
Best CDN node, and its address is sent to user terminal, industry is carried out using CDN node to reduce user to the full extent
Time delay when business access, improves user experience.
Referring to shown in Fig. 3, for the better implementation CDN node distribution method provided by the above embodiment based on MEC, originally
Inventive embodiments also provide a kind of CDN node distribution system based on MEC, including MEC server 31 and CDN global load balancing
Device 32.
Referring to shown in Fig. 4, the MEC server 31 in the CDN node distribution system provided in an embodiment of the present invention based on MEC
It include: receiving module 311, sending module 312 and memory module 313;
Receiving module 311, for receiving the DNS request of the transmission of user terminal 01;
Sending module 312, the first CDN for storing the received DNS request of receiving module 311 and memory module 313
The mark of node is sent to the corresponding CDN global load balancing device 32 of DNS request;First CDN node is to open up with MEC server 31
It flutters apart from nearest CDN node;
Receiving module 311 is also with the mark for receiving the best CDN node that CDN global load balancing device 32 is sent;
Sending module 312 is also with the mark with the received best CDN node of receiving module 311 for storing memory module 313
Know corresponding IP address and is sent to user terminal 01.
Optionally, which further includes judgment module 314;
Judgment module 314 is used for according to the user identifier and memory module 313 in the received DNS request of receiving module 311
The user service information of storage judges whether user terminal 01 has the access right of MEC server 31;
When judgment module 314 determines that user terminal 01 has the access right of MEC server 31, sending module 312 will be connect
The mark for receiving the first CDN node that the received DNS request of module 311 and memory module 313 store, it is corresponding to be sent to DNS request
CDN global load balancing device 32.
Optionally, sending module 312 is specifically used for:
The CDN global load balancing device list and the received DNS request of receiving module 311 stored according to memory module 313
In domain-name information determine the IP address of the corresponding CDN global load balancing device 32 of DNS request;CDN global load balancing device column
Information in table includes the IP address and with the IP of CDN global load balancing device of at least one CDN global load balancing device 32
The one-to-one domain-name information in location;
DNS request and memory module 313 are deposited according to the IP address of the corresponding CDN global load balancing device 32 of DNS request
The mark of first CDN node of storage is sent to the corresponding CDN global load balancing device 32 of DNS request.
Optionally, sending module 312 is specifically used for:
The received DNS request of receiving module 311 is sent to the corresponding local of user terminal 01 by core network element EPC03
Dns server 02, so as to return to domain name resolution response after carrying out domain name mapping to DNS request;
When receiving module 311 receives the domain name mapping response of the corresponding local dns server 02 of user terminal 01 return
Afterwards, sending module 312 according to the received domain name mapping of receiving module 311 response in CDN global load balancing device address information,
The mark for the first CDN node that DNS request and memory module 313 store is sent to and is believed with the global load balancing device address CDN
Cease corresponding CDN global load balancing device 32;
CDN global load balancing device address information includes CNAME information and/or IP address information.
CDN overall situation load referring to described in Fig. 5, in the CDN node distribution system provided in an embodiment of the present invention based on MEC
Balanced device 32 includes: receiving module 321, memory module 322, processing module 323 and sending module 324;
Receiving module 321, for receiving the DNS request of the transmission of MEC server 31 and the mark of the first CDN node;
Processing module 323, for being deposited according to the mark and memory module 322 of received first CDN node of receiving module 321
The CDN node topology information of storage obtains the mark of the second CDN node;The topology distance of second CDN node and the first CDN node is
Preset value;
The target that processing module 323 is also used to the topology distance according to target CDN node and the first CDN node and prestores
The load factor of CDN node chooses best CDN node from target CDN node;Target CDN node includes the first CDN node and the
Two CDN nodes;
The mark of sending module 324, the best CDN node for choosing processing module is sent to MEC server 31.
Optionally, processing module 323 is specifically used for:
It chooses in target CDN node with the nearest target CDN node of the first CDN node topology distance as suboptimum CDN node;
The minimum suboptimum CDN node of load factor is as best CDN node in selection suboptimum CDN node.
Optionally, processing module 323 is specifically used for:
The minimum target CDN node of load factor is as suboptimum CDN node in selection target CDN node;
Suboptimum CDN node nearest with the first CDN node topology distance in suboptimum CDN node is chosen to save as best CDN
Point.
In conclusion the CDN node distribution method and system provided in an embodiment of the present invention based on MEC, this method comprises:
MEC server receives the domain name system DNS request that user terminal is sent;MEC server is by DNS request and the first CDN that prestores
The mark of node is sent to the corresponding CDN global load balancing device of DNS request;First CDN node be and MEC topology server
Apart from nearest CDN node;CDN global load balancing device is believed according to the mark of the first CDN node and the CDN node topology prestored
Breath obtains the mark of the second CDN node;The topology distance of second CDN node and the first CDN node is preset value;The CDN overall situation is negative
Carry balanced device according to the load factor of the topology distance and the target CDN node prestored of target CDN node and the first CDN node from
Best CDN node is chosen in target CDN node, and the mark of best CDN node is sent to MEC server;Target CDN node
Including the first CDN node and the second CDN node;MEC server assists the network corresponding with the mark of best CDN node prestored
View IP address is sent to user terminal.In technical solution provided in an embodiment of the present invention, need in user using CDN service
When, user terminal head sends DNS request to MEC server, and MEC server is by forwarding DNS request and prestoring apart from itself
The mark of nearest CDN node gives the corresponding CDN global load balancing device of DNS request, so that CDN global load balancing
Around the available MEC server of device recently can optional CDN node for users to use, then CDN global load balancing device root
It is selected according to the topology distance and load factor of these optional CDN node distance MEC servers lower relative to user terminal time delay
Best CDN node, and its address is sent to user terminal, industry is carried out using CDN node to reduce user to the full extent
Time delay when business access, improves user experience.
All modules or unit can be functional program modules in practice and be also possible to object in the embodiment of the present invention
Entity module is managed, concrete condition is not particularly limited herein according to depending on reality.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention
It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions
Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.
Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another
Any medium of one place transmission computer program.Storage medium can be general or specialized computer can access it is any
Usable medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (14)
1. a kind of content distributing network CDN node distribution method based on mobile edge calculations MEC characterized by comprising
MEC server receives the domain name system DNS request that user terminal is sent;
The mark of the DNS request and the first CDN node prestored it is corresponding to be sent to the DNS request by the MEC server
CDN global load balancing device;First CDN node is with the MEC topology server apart from nearest CDN node;
The CDN global load balancing device is obtained according to the mark of first CDN node and the CDN node topology information prestored
The mark of second CDN node;The topology distance of second CDN node and first CDN node is preset value;
The CDN global load balancing device is according to the topology distance of target CDN node and first CDN node and prestores
The load factor of the target CDN node chooses best CDN node from the target CDN node, and by the best CDN node
Mark be sent to the MEC server;The target CDN node includes first CDN node and the 2nd CDN section
Point;
The network protocol IP address corresponding with the mark of the best CDN node prestored is sent to institute by the MEC server
State user terminal.
2. the CDN node distribution method according to claim 1 based on MEC, which is characterized in that the MEC server will
The mark of the DNS request and the first CDN node prestored is sent to the corresponding CDN global load balancing device of the DNS request
Before further include:
The MEC server according in the DNS request user identifier and prestored user business information judge that the user is whole
Whether end has the access right of the MEC server;
When the MEC server determines that the user terminal has the access right of the MEC server, the MEC server
By the mark of the DNS request and the first CDN node prestored, it is sent to the corresponding CDN global load balancing of the DNS request
Device.
3. the CDN node distribution method according to claim 1 based on MEC, which is characterized in that the MEC server will
The mark of the DNS request and the first CDN node prestored is sent to the corresponding CDN global load balancing device of the DNS request
Include:
The MEC server is determined according to the domain-name information in the CDN global load balancing device list prestored and the DNS request
The IP address of the corresponding CDN global load balancing device of the DNS request;Information in the CDN global load balancing device list
IP address including at least one CDN global load balancing device and one a pair of IP address with the CDN global load balancing device
The domain-name information answered;
The MEC server is according to the IP address of the corresponding CDN global load balancing device of the DNS request by the DNS request
The corresponding CDN global load balancing device of the DNS request is sent to the mark of the first CDN node prestored.
4. the CDN node distribution method according to claim 1 based on MEC, which is characterized in that the MEC server will
The mark of the DNS request and the first CDN node prestored is sent to the corresponding CDN global load balancing device of the DNS request
Include:
The DNS request is sent to the corresponding local dns of the user terminal by core network element EPC by the MEC server
Server, so as to return to domain name resolution response after carrying out domain name mapping to the DNS request;
After the MEC server receives the domain name mapping response that the corresponding local dns server of the user terminal returns, root
According to the CDN global load balancing device address information in domain name resolution response, by the DNS request and the first CDN prestored
The mark of node is sent to CDN global load balancing device corresponding with the CDN global load balancing device address information;
The CDN global load balancing device address information includes alias CNAME information and/or IP address information.
5. the CDN node distribution method according to claim 1 based on MEC, which is characterized in that the CDN overall situation load
Balanced device is negative according to the topology distance of target CDN node and first CDN node and the target CDN node prestored
Load rate chooses best CDN node from the target CDN node
It chooses in the target CDN node with the nearest target CDN node of the first CDN node topology distance as suboptimum CDN
Node;
Load factor is minimum in the suboptimum CDN node suboptimum CDN node is chosen as best CDN node.
6. the CDN node distribution method according to claim 1 based on MEC, which is characterized in that the CDN overall situation load
Balanced device is negative according to the topology distance of target CDN node and first CDN node and the target CDN node prestored
Load rate chooses best CDN node from the target CDN node
Load factor is minimum in the target CDN node target CDN node is chosen as suboptimum CDN node;
Suboptimum CDN node nearest with the first CDN node topology distance in the suboptimum CDN node is chosen as best
CDN node.
7. a kind of MEC server characterized by comprising receiving module, sending module and memory module;
The receiving module, for receiving the DNS request of user terminal transmission;
The sending module, first for storing the received DNS request of the receiving module and the memory module
The mark of CDN node is sent to the corresponding CDN global load balancing device of the DNS request;First CDN node be with it is described
MEC topology server is apart from nearest CDN node;
The receiving module is also with the mark for receiving the best CDN node that the CDN global load balancing device is sent;
The sending module is also with the mark with the received best CDN node of the receiving module for storing the memory module
Corresponding IP address is sent to the user terminal.
8. MEC server according to claim 7, which is characterized in that further include judgment module;
The judgment module be used for according in the received DNS request of the receiving module user identifier and the storage mould
The user service information of block storage judges whether the user terminal can be by the access right of the MEC server;
When the judgment module determines that the user terminal has the access right of the MEC server, the sending module will
The mark of the received DNS request of receiving module and the first CDN node of memory module storage is sent to described
The corresponding CDN global load balancing device of DNS request.
9. MEC server according to claim 8, which is characterized in that the sending module is specifically used for:
According in the CDN global load balancing device list and the received DNS request of the receiving module of memory module storage
Domain-name information determine the IP address of the corresponding CDN global load balancing device of the DNS request;The CDN global load balancing
Information in device list include at least one CDN global load balancing device IP address and with the CDN global load balancing device
The one-to-one domain-name information of IP address;
According to the IP address of the corresponding CDN global load balancing device of the DNS request by the DNS request and the memory module
The mark of first CDN node of storage is sent to the corresponding CDN global load balancing device of the DNS request.
10. MEC server according to claim 8, which is characterized in that the sending module is specifically used for:
The received DNS request of the receiving module is sent to the user terminal corresponding by core network element EPC
Ground dns server, so as to return to domain name resolution response after carrying out domain name mapping to the DNS request;
After the receiving module receives the domain name mapping response that the corresponding local dns server of the user terminal returns,
The sending module is believed according to the global load balancing device address CDN in the received domain name resolution response of the receiving module
The mark for the first CDN node that the DNS request and the memory module store is sent to and loads with the CDN overall situation by breath
The corresponding CDN global load balancing device of balanced device address information;The CDN global load balancing device address information includes CNAME
Information and/or IP address information.
11. a kind of CDN global load balancing device, which is characterized in that receiving module, memory module, processing module and sending module;
The receiving module, for receiving the DNS request of MEC server transmission and the mark of the first CDN node;
The processing module, for according to received first CDN node of the receiving module mark and the storage mould
The CDN node topology information of block storage obtains the mark of the second CDN node;Second CDN node and first CDN node
Topology distance be preset value;
The institute that the processing module is also used to the topology distance according to target CDN node and first CDN node and prestores
The load factor for stating target CDN node chooses best CDN node from the target CDN node;The target CDN node includes institute
State the first CDN node and second CDN node;
The sending module, the mark of the best CDN node for choosing the processing module are sent to the MEC clothes
Business device.
12. CDN global load balancing device according to claim 11, which is characterized in that the processing module is specifically used for:
It chooses in the target CDN node with the nearest target CDN node of the first CDN node topology distance as suboptimum CDN
Node;
Load factor is minimum in the suboptimum CDN node suboptimum CDN node is chosen as best CDN node.
13. CDN global load balancing device according to claim 11, which is characterized in that the processing module is specifically used for:
Load factor is minimum in the target CDN node target CDN node is chosen as suboptimum CDN node;
Suboptimum CDN node nearest with the first CDN node topology distance in the suboptimum CDN node is chosen as best
CDN node.
14. a kind of CDN node distribution system based on MEC, which is characterized in that described in any item including such as claim 7-10
MEC server and such as described in any item CDN global load balancing devices of claim 11-13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810903874.6A CN109151009B (en) | 2018-08-09 | 2018-08-09 | CDN node distribution method and system based on MEC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810903874.6A CN109151009B (en) | 2018-08-09 | 2018-08-09 | CDN node distribution method and system based on MEC |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109151009A true CN109151009A (en) | 2019-01-04 |
CN109151009B CN109151009B (en) | 2021-06-04 |
Family
ID=64792356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810903874.6A Active CN109151009B (en) | 2018-08-09 | 2018-08-09 | CDN node distribution method and system based on MEC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151009B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109862124A (en) * | 2019-04-24 | 2019-06-07 | 北京风行极客科技有限公司 | A kind of method and device of service request response |
CN110650209A (en) * | 2019-10-09 | 2020-01-03 | 北京百度网讯科技有限公司 | Method and device for realizing load balance |
CN110769039A (en) * | 2019-10-09 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Resource scheduling method and device, electronic equipment and computer readable storage medium |
WO2020259234A1 (en) * | 2019-06-28 | 2020-12-30 | 中兴通讯股份有限公司 | Inter-area media service switching method, server, system, and storage medium |
CN112235297A (en) * | 2020-10-14 | 2021-01-15 | 北京理工大学 | MES system identification analysis method and system based on edge calculation |
CN112333108A (en) * | 2019-08-05 | 2021-02-05 | 南京中兴新软件有限责任公司 | Service scheduling method and device |
CN112637310A (en) * | 2020-12-17 | 2021-04-09 | 中国联合网络通信集团有限公司 | Method for discovering edge service and edge service network |
CN113301159A (en) * | 2021-05-26 | 2021-08-24 | 中国电子科技集团公司第五十四研究所 | Service position obtaining method and device in edge computing system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984637A (en) * | 2010-11-02 | 2011-03-09 | 中兴通讯股份有限公司 | Content distribution implementation method and system |
CN108235333A (en) * | 2016-12-22 | 2018-06-29 | ***通信有限公司研究院 | It is a kind of to provide the method for network service and the network equipment, base station for terminal |
CN108235298A (en) * | 2016-12-21 | 2018-06-29 | 上海中兴软件有限责任公司 | Path switching method, mobile edge calculations platform and gateway in mobile edge calculations |
EP3348038A1 (en) * | 2015-09-10 | 2018-07-18 | Vimmi Communications Ltd. | Content delivery network |
-
2018
- 2018-08-09 CN CN201810903874.6A patent/CN109151009B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984637A (en) * | 2010-11-02 | 2011-03-09 | 中兴通讯股份有限公司 | Content distribution implementation method and system |
EP3348038A1 (en) * | 2015-09-10 | 2018-07-18 | Vimmi Communications Ltd. | Content delivery network |
CN108235298A (en) * | 2016-12-21 | 2018-06-29 | 上海中兴软件有限责任公司 | Path switching method, mobile edge calculations platform and gateway in mobile edge calculations |
CN108235333A (en) * | 2016-12-22 | 2018-06-29 | ***通信有限公司研究院 | It is a kind of to provide the method for network service and the network equipment, base station for terminal |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109862124A (en) * | 2019-04-24 | 2019-06-07 | 北京风行极客科技有限公司 | A kind of method and device of service request response |
WO2020259234A1 (en) * | 2019-06-28 | 2020-12-30 | 中兴通讯股份有限公司 | Inter-area media service switching method, server, system, and storage medium |
CN112333108A (en) * | 2019-08-05 | 2021-02-05 | 南京中兴新软件有限责任公司 | Service scheduling method and device |
CN110650209A (en) * | 2019-10-09 | 2020-01-03 | 北京百度网讯科技有限公司 | Method and device for realizing load balance |
CN110769039A (en) * | 2019-10-09 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Resource scheduling method and device, electronic equipment and computer readable storage medium |
CN110769039B (en) * | 2019-10-09 | 2021-12-10 | 腾讯科技(深圳)有限公司 | Resource scheduling method and device, electronic equipment and computer readable storage medium |
CN110650209B (en) * | 2019-10-09 | 2023-07-18 | 北京百度网讯科技有限公司 | Method and device for realizing load balancing |
CN112235297A (en) * | 2020-10-14 | 2021-01-15 | 北京理工大学 | MES system identification analysis method and system based on edge calculation |
CN112235297B (en) * | 2020-10-14 | 2021-09-24 | 北京理工大学 | MES system identification analysis method and system based on edge calculation |
CN112637310A (en) * | 2020-12-17 | 2021-04-09 | 中国联合网络通信集团有限公司 | Method for discovering edge service and edge service network |
CN113301159A (en) * | 2021-05-26 | 2021-08-24 | 中国电子科技集团公司第五十四研究所 | Service position obtaining method and device in edge computing system |
Also Published As
Publication number | Publication date |
---|---|
CN109151009B (en) | 2021-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151009A (en) | A kind of CDN node distribution method and system based on MEC | |
CN109040259A (en) | A kind of CDN node distribution method and system based on MEC | |
CN105516391B (en) | A kind of DNS name resolution method based on CNAME | |
CN106656800B (en) | Path selection method and system, network acceleration node and network acceleration system | |
US7047301B2 (en) | Method and system for enabling persistent access to virtual servers by an LDNS server | |
CN105991459B (en) | CDN node returns source route distribution method, device and system | |
CN101984637B (en) | Content distribution implementation method and system | |
CN103825975B (en) | Cdn node distribution server and system | |
CN102281190B (en) | Networking method for load balancing apparatus, server and client access method | |
CN106067890B (en) | A kind of domain name analytic method, apparatus and system | |
CN101989951A (en) | Method, system and equipment for selecting service node | |
CN106878193A (en) | A kind of load sharing method and device | |
CN100391178C (en) | Method for selecting server in network | |
CN109327550A (en) | A kind of distribution method of access request, device, storage medium and computer equipment | |
CN1175147A (en) | Virtual enclosed cluster capable of recovery | |
CN108124020B (en) | Domain name resolution method, system and equipment | |
JP2011508525A (en) | DNS wildcard beaconing to determine client location and resolver load for global traffic load balancing | |
CN104618243B (en) | Method for routing, apparatus and system, Scheduling of Gateway method and device | |
CN108076142A (en) | A kind of method and system for accelerating user's request based on CDN technologies | |
KR101959970B1 (en) | Contents delivery service method using contents sharing, and cache apparatus therefor | |
CN102868770B (en) | A kind of method of distribution interface, equipment and system | |
CN108011994B (en) | Method and system for querying DNS (Domain name System) record | |
CN101800760A (en) | Realization method and system for accessing data service | |
CN111327668B (en) | Network management method, device, equipment and storage medium | |
CN104468853A (en) | Domain name resolution method, server and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |