CN110417676A - A kind of dispatching method, device and dispatch network - Google Patents

A kind of dispatching method, device and dispatch network Download PDF

Info

Publication number
CN110417676A
CN110417676A CN201910722119.2A CN201910722119A CN110417676A CN 110417676 A CN110417676 A CN 110417676A CN 201910722119 A CN201910722119 A CN 201910722119A CN 110417676 A CN110417676 A CN 110417676A
Authority
CN
China
Prior art keywords
mec
server
user
dispatch
dispatch server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910722119.2A
Other languages
Chinese (zh)
Other versions
CN110417676B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910722119.2A priority Critical patent/CN110417676B/en
Publication of CN110417676A publication Critical patent/CN110417676A/en
Application granted granted Critical
Publication of CN110417676B publication Critical patent/CN110417676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Landscapes

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

Abstract

The invention discloses a kind of dispatching method, device and dispatch networks, this method is applied to the MEC dispatch server in dispatch network, this method comprises: receiving the first DNS request that user sends, and domain-name information is parsed from the first DNS request, in the case where MEC dispatch server not stored domain-name information, the second DNS request of the IP address comprising MEC dispatch server is regenerated, and the second DNS request is sent to so that the GSLB dispatch server distributes CDN node according to the IP address of MEC dispatch server for user by GSLB dispatch server by core net.Since MEC has the characteristics that closer to user, the IP address of MEC dispatch server is also closer to user, then the CDN node distributed by MEC dispatch server also can reduce network delay, improve user experience away from closer to the user.

Description

A kind of dispatching method, device and dispatch network
Technical field
The present invention relates to the communications field more particularly to a kind of dispatching methods, device and dispatch network.
Background technique
With the development of communication technology, the raising of industrial progress and people's lives entertainment requirements, it is more and more to interconnect Network service emerges, such as HD video, live streaming, AR/VR, car networking business etc..Under normal circumstances, the money of Internet service Source can store in the server, and user uses the resource of Internet service by access server.
But the surge of Internet service also brings huge user's amount of access, and then produces great network flow Amount, this is easy for leading to network congestion, and network congestion, which is will lead to again when user accesses business, the case where Caton, such as user occurs When watching HD video, if amount of access is excessive, viewing video that user can not be smooth, it may appear that the feelings of video playing Caton Condition, this has seriously affected the experience of user.
It follows that in the prior art, in order to improve the experience of user, huge network flow bring network congestion at For urgent problem to be solved.
Summary of the invention
In view of this, the embodiment of the invention discloses a kind of dispatching method, device and dispatch networks, in the middle part of dispatch network MEC dispatch server is affixed one's name to, the characteristics of by MEC closer to user, the IP address according to MEC dispatch server is that user distributes CDN node is in this way the CDN node of user's distribution away from closer to the user, substantially reduces the CDN node and use for user's distribution The distance between family shortens network delay, and further the user experience is improved.
The embodiment of the invention discloses a kind of dispatching method, this method is applied to the MEC dispatch server in dispatch network, The dispatch network includes:
Base station, MEC dispatch server, core net, GSLB dispatch server;
This method comprises:
The first DNS request for the user that base station is sent is received, and parses domain-name information from first DNS request;
If not stored domain name information in the MEC dispatch server, the IP address comprising MEC dispatch server is generated The second DNS request;
Second DNS request is sent to the GSLB dispatch server by the core net;Receive core net hair The GSLB dispatch server sent is the IP address of the CDN node of user's distribution;The CDN node is GSLB dispatch server foundation The IP address of MEC dispatch server is user's distribution;
The IP address for the CDN node distributed for user is sent to user by base station.
Optionally, further includes:
If being stored with domain name information in the MEC dispatch server, obtaining has mapping relations with domain name information At least one MEC content server;Service resources are cached in the MEC content server;
It is chosen from least one the MEC content server for having mapping relations with domain name information and meets preset rules MEC content server distributes to user;
The IP address for the MEC content server for meeting preset rules is sent to user by base station.
Optionally, from least one the MEC content server for having mapping relations with domain name information choose meet it is pre- If the MEC content server of rule, comprising:
It, will uniquely and domain name if the MEC content server for only having mapping relations with domain name information comprising one Information has the MEC content server of mapping relations to distribute to user;
If comprising multiple MEC content servers for having mapping relations with domain name information, according to the MEC content service The load information and Delay of device have selectivity in the MEC content server of mapping relations with domain name information from multiple The optimal MEC content server of energy, and the MEC content server of best performance is distributed into user.
Optionally, the load information and Delay according to the MEC content server, from multiple and domain name Information has the MEC content server that best performance is selected in the MEC content server of mapping relations, comprising:
According to the load information of each MEC content server, judge that the load service condition of each MEC content server is It is no to meet preset loading condition;
Multiple MEC content servers meet preset loading condition if it exists, then meet preset loading condition from multiple MEC content server in select time delay minimum MEC content server of the MEC content server as best performance;
If there is only a MEC content servers to meet preset loading condition, it will uniquely meet default loading condition MEC content server of the MEC content server as best performance;
The MEC content server for meeting default loading condition if it does not exist, then select the MEC content server that time delay is minimum MEC content server as best performance.
Optionally, further includes:
The Delay and load information of each MEC content server being connected with the MEC dispatch server are obtained, And update the Delay and load information of the MEC content server stored in the MEC content server.
Optionally, the Delay for obtaining each MEC content server being connected with the MEC dispatch server And load information, comprising:
Message is sent to the MEC content server using ping order;The MEC content server is received based on described The Delay of message feedback;
Receive the load information that the MEC content server is sent;The load information of the MEC content server is MEC Content server is collected according to preset instructions.
Optionally, the load information includes:
CPU usage, memory usage, disk read-write rate, in network interface card rate any one or it is multiple.
The embodiment of the invention also discloses a kind of dispatching devices, comprising:
First receiving unit, the first DNS request of the user for receiving base station transmission, and from first DNS request In parse domain-name information;
Second DNS request generation unit, if being generated for not stored domain name information in the MEC dispatch server Second DNS request of the IP address comprising MEC dispatch server;
First transmission unit, for second DNS request to be sent to the GSLB scheduling clothes by the core net Business device;
Second receiving unit, the GSLB dispatch server for receiving core net transmission are the CDN node of user's distribution IP address;The CDN node is that the IP address of GSLB dispatch server foundation MEC dispatch server is user's distribution;
Second transmission unit, for will be that the IP address of CDN node of user's distribution is sent to user by base station.
Optionally, further includes:
Acquiring unit, if obtaining and believing with domain name for being stored with domain name information in the MEC dispatch server Breath has at least one MEC content server of mapping relations;Service resources are cached in the MEC content server;
MEC content server selection unit, for from least one the MEC content for having mapping relations with domain name information The MEC content server that selection meets preset rules in server distributes to user;
Third transmission unit, for the IP address for meeting the MEC content server of preset rules to be sent to by base station User.
The embodiment of the invention also discloses a kind of dispatching method, the method, which is applied to the GSLB in dispatch network, dispatches clothes Business device, the dispatch network include:
Base station, MEC dispatch server, core net, GSLB dispatch server;
The described method includes:
The second DNS request that the core net is sent is received, the MEC tune that second DNS request includes is parsed Spend the IP address of server;Second DNS request is generated by MEC dispatch server;
It is that user distributes CDN node according to the IP address of the MEC dispatch server;
The IP address for the CDN node distributed for user is sent to the MEC dispatch server by core net.
Optionally, the IP address according to the MEC dispatch server is that user distributes CDN node, comprising:
According to the IP address of the MEC dispatch server, determine with the IP address of MEC dispatch server distance most The first close CDN node;
Whether the amount of access for judging first CDN node has been more than preset threshold value;
If the amount of access of first CDN node has been more than preset threshold value, the IP with the MEC dispatch server is obtained The second CDN node of at least one of the distance between address within the scope of pre-determined distance;
The minimum CDN node of amount of access is chosen from least one second CDN node, and the minimum CDN of amount of access is saved Point distributes to user.
The embodiment of the invention also discloses a kind of dispatching devices, comprising:
Third receiving unit parses in second DNS request for receiving the second DNS request of core net transmission The MEC dispatch server IP address;Second DNS request is generated by MEC dispatch server;
Allocation unit, for being that user distributes CDN node according to the IP address of the MEC dispatch server;
4th transmission unit, for will be that the IP address of CDN node of user's distribution is sent to the MEC by core net Dispatch server.
The embodiment of the invention also discloses a kind of dispatch network, the network includes:
Base station, for sending the first DNS request of user to MEC dispatch server;
MEC dispatch server, the domain-name information for including for parsing first DNS request are dispatched in the MEC and are taken In the case where the not stored domain name information of device of being engaged in, the 2nd DNS for regenerating the IP address comprising MEC dispatch server is asked It asks, and second DNS request is sent to by GSLB dispatch server by core net, receiving the CDN for user's distribution After the IP address of node, the IP address of the CDN node is sent to user by base station;
The core net, the second DNS request for generating the MEC dispatch server are sent to GSLB dispatch service Device, and the IP address for the CDN node that GSLB dispatch server distributes is sent to the MEC dispatch server;
The GSLB dispatch server, for distributing CDN node according to the IP address of MEC dispatch server, and will distribution The IP address of CDN node the MEC dispatch server is sent to by core net.
Optionally, the dispatch network based on MEC, further includes:
The multiple MEC content servers being connected with MEC dispatch server are stored with industry in the MEC content server Business resource;
It include: the mapping pass of domain-name information and each domain name and MEC content server in the MEC dispatch server System;One domain name may map at least one MEC content server.
Optionally, the MEC dispatch server is also used to:
If being stored with domain name information in the MEC dispatch server, obtaining has mapping relations with domain name information At least one MEC content server;Service resources are cached in the MEC content server;
It is chosen from least one the MEC content server for having mapping relations with domain name information and meets preset rules MEC content server distributes to user;
The IP address for the MEC content server for meeting preset rules is sent to user by base station.
The invention discloses a kind of dispatching method, this method is applied to the MEC dispatch server in dispatch network, wherein net Network includes: base station, MEC dispatch server, core net, GSLB dispatch server.This method comprises: receiving user sends first DNS request, and parse domain-name information from the first DNS request, the MEC dispatch server not stored domain-name information the case where Under, DNS request is regenerated, obtains the second DNS request of the IP address comprising MEC dispatch server, and will by core net Second DNS request be sent to GSLB dispatch server so that the GSLB dispatch server according to the IP of MEC dispatch server Location is that user distributes CDN node.
It follows that disposing MEC dispatch server, MEC in dispatch network when carrying out network scheduling by the above method In the case where not including domain-name information, the DNS for regenerating the IP address comprising MEC dispatch server is asked dispatch server It asks, so that GSLB dispatch server can be that user distributes CDN node according to the IP address of MEC dispatch server.In this way, due to MEC has the characteristics that closer to user, the IP address of MEC dispatch server is also closer to user, then being dispatched by MEC The CDN node of server distribution also can be away from closer to the user.It so solves in the prior art, passes through Local dns server IP address be user's distribution CDN node apart from user farther out, the problem of so as to cause network delay.
Also, it, can be according to the mapping of domain name and MEC content server when MEC dispatch server includes domain-name information The performance of relationship and MEC content server, the property selected in the multiple MEC content servers being connected with MEC dispatch server The optimal MEC content server of energy, ensure that and provide the MEC content server of function admirable for user, further improve use The Experience Degree of family access Internet service.
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 The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 shows a kind of structural schematic diagram of dispatch network provided in an embodiment of the present invention;
Fig. 2 shows the structural schematic diagrams of another dispatch network provided in an embodiment of the present invention;
Fig. 3 shows a kind of flow diagram of dispatching method provided in an embodiment of the present invention;
Fig. 4 shows a kind of another flow diagram of dispatching method disclosed by the embodiments of the present invention;
Fig. 5 shows a kind of structural schematic diagram of dispatching device provided in an embodiment of the present invention;
Fig. 6 shows a kind of another flow diagram of dispatching method provided in an embodiment of the present invention;
Fig. 7 shows a kind of another structural schematic diagram of dispatching device provided in an embodiment of the present invention;
Fig. 8 shows a kind of interaction schematic diagram of dispatching method 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.
In order to alleviate the network congestion as caused by huge network flow, CDN (full name in English: Content Delivery Network, Chinese name: content distributing network) it comes into being.
The basic principle of CDN is that various cache servers are widely used in a network, these cache servers are distributed to User accesses in the area of Relatively centralized, when user accesses website, using global load technology by the access of user be directed toward away from Network congestion is solved from nearest cache server working properly to realize the shunting to user's amount of access.
However, it is found by the inventors that even if CDN is able to solve network congestion problem, but user is in access Internet service When, however it remains the problem of time delay.
Inventor starts with discovery from the scheduling mode of CDN, in traditional CDN scheduling mode, user is being given to distribute CDN node When, it is based on the IP address of Local dns server, but since the covering of Local DNS is wider, such as Local DNS Coverage area may be a province, Local DNS may be or far apart from user with user not in an area, then It is also far apart from user according to the CDN node that the outlet IP address of Local DNS is user's distribution, moreover, physical distance is to lead Higher network delay may be generated in the farther away situation of physical distance by causing a kind of factor of time delay.
Therefore, based on above-mentioned the study found that physical distance is to bring a key factor of time delay, then solving access The key of the delay problem of Internet service is the physical distance shortening between the CDN node and user of user's distribution.
To solve the above-mentioned problems, inventor it has been investigated that, ETSI (European Telecommunications Standards Institute, European Telecommunication Standardization Association) MEC (Mobile Edge Computing, the mobile side that define Edge calculates) there is a maximum characteristic point to be proximate to client, it is understood that it is smaller for the coverage area of MEC, such as one City can dispose multiple MEC, and the coverage area of each MEC is multiple cells.
Thus, it is found that people discovery can use the characteristics of MEC is close to user, solved by way of disposing MEC due to away from From network delay caused by problem.
In view of this, this method is applied to the MEC dispatch service in dispatch network the invention discloses a kind of dispatching method Device, wherein the network includes: base station, MEC dispatch server, core net, GSLB dispatch server.It is used this method comprises: receiving The first DNS request that family is sent, and domain-name information is parsed from the first DNS request, in the not stored domain name of MEC dispatch server In the case where information, DNS request is regenerated, obtains the second DNS request of the IP address comprising MEC dispatch server, and lead to It crosses core net and the second DNS request is sent to GSLB dispatch server so that the GSLB dispatch server dispatches clothes according to MEC The IP address of business device is that user distributes CDN node.
It follows that disposing MEC dispatch server, MEC in dispatch network when carrying out network scheduling by the above method In the case where not including domain-name information, the DNS for regenerating the IP address comprising MEC dispatch server is asked dispatch server It asks, so that GSLB dispatch server can be that user distributes CDN node according to the IP address of MEC dispatch server.In this way, due to MEC has the characteristics that closer to user, the IP address of MEC dispatch server is also closer to user, then being dispatched by MEC The CDN node of server distribution also can be away from closer to the user.Therefore it solves in the prior art, passes through Local dns server IP address be user's distribution CDN node apart from user farther out, the problem of so as to cause network delay.
Further, MEC content server is deployed in a network, it, can when MEC dispatch server includes domain-name information With according to domain name and the mapping relations of MEC content server and the performance of MEC content server, with MEC dispatch server phase The MEC content server of best performance is selected in multiple MEC content servers of connection, ensure that can provide performance for user Excellent MEC content server, and further improve the Experience Degree that user accesses Internet service.
It is as follows, dispatching method disclosed in the present application and dispatch network are described in detail: with reference to Fig. 1, showing this A kind of structural schematic diagram for dispatch network that inventive embodiments provide, in the present embodiment, which includes:
Base station 100, MEC dispatch server 200, core net 300, GSLB dispatch server 400;
Wherein, base station 100, for sending the first DNS request of user to MEC dispatch server;
MEC dispatch server 200, the domain-name information for including for parsing the first DNS request, in MEC dispatch server In the case where the not stored domain-name information, the second DNS request of the IP address comprising MEC dispatch server is regenerated, and is led to It crosses core net and second DNS request is sent to GSLB dispatch server, with receiving the IP of the CDN node for user's distribution Behind location, the IP address of the CDN node is sent to user by base station;
Core net 300, the second DNS request for generating MEC dispatch server are sent to GSLB dispatch server, and The IP address for the CDN node that GSLB dispatch server distributes is sent to MEC dispatch server;
GSLB dispatch server 400, for distributing CDN node according to the IP address of MEC dispatch server, and by distribution The IP address of CDN node is sent to MEC dispatch server by core net;
By above-mentioned introduction it is found that being deployed with MEC dispatch server in dispatch network, MEC dispatch server covers model It encloses small, more can cover the range of several cells close to user, such as a MEC dispatch service.It is taken being dispatched by MEC When business device is scheduled the Internet resources of user, generate in MEC dispatch server comprising MEC dispatch server IP address DNS request, so that GSLB dispatch server is that user distributes CDN node according to the IP address of MEC dispatch server.In this way, The CDN node closer to user can be assigned to for user.
Wherein, the work of GSLB (full name in English: Global Server Load Balance, Chinese name: load balancing) With being the flow allocating realized on wide area network (including internet) between the server of different geographical, guarantee to use optimal service The device service client nearest from oneself, so that it is guaranteed that access quality.
It is essentially the CDN nearest for user's distribution distance when being that user distributes CDN node by GSLB dispatch service Node is the nearest CDN node of the IP address of user's distribution distance MEC dispatch server in the present embodiment.
However, in some special cases, for example, distance MEC dispatch server the nearest CDN node of IP address use Family amount of access is very big, even if the nearest CDN node of the IP address of distance MEC dispatch server is distributed to user, it is also possible to There is the case where Caton.
To solve the above-mentioned problems, it is that user distributes CDN section that GSLB dispatch server, which can also follow performance principle of optimality, Point guarantees to be assigned to performance preferably CDN node for user.Specific is the method for user's allocation performance preferably CDN node, It is illustrated in the embodiment (S501-S503) that can be disclosed below, this embodiment is not repeated.
Dispatch network disclosed in the present embodiment, deploys MEC dispatch server, and MEC dispatch server is receiving base station When the first DNS request sent, if the not stored domain-name information having in the first DNS request, generation include in MEC dispatch server Second DNS request is sent to GSLB dispatch server by the second DNS request of the IP address of MEC dispatch server;GSLB tune Spend CDN node of the server according to the IP address of MEC dispatch server for user's distribution.In that case, due to the spy of MEC Point is closer to user, then the IP address of MEC dispatch server, away from closer to the user, GSLB dispatch server is according to MEC The IP address of dispatch server is the CDN node of user's distribution, also can be closer to user.Therefore the CDN distributed in this way Node shortens the distance between user and CDN node, reduces network delay, and then improves user to Internet service Experience Degree.
In the present embodiment, in order to provide the user with more smooth network service, server can also be locally located, and The storage service resource in local server, in this way without calling CDN node by outer net, so that it may which user's offer is provided The purpose of Internet service.Specifically, showing the structure of another dispatch network provided in an embodiment of the present invention with reference to Fig. 2 Schematic diagram, in the present embodiment, which includes:
Base station 100, MEC dispatch server 200, the multiple MEC content servers 500 being connected with MEC dispatch server, Core net 300, GSLB dispatch server 400;
Wherein, service resources are stored in MEC content server 500;
Be stored in MEC dispatch server 200: the mapping of domain-name information and each domain name and MEC content server is closed System;Wherein, a domain name may map at least one MEC content server.
In the present embodiment, under this kind of network architecture, another scheduling mode includes:
Base station sends the first DNS request of user to MEC dispatch server;
MEC dispatch server parses the domain-name information for including in the first DNS request, if storing in MEC dispatch server There is the domain-name information, obtains at least one the MEC content server for there are mapping relations with domain-name information;It is reflected from having with domain-name information Penetrate the MEC content server chosen at least one MEC content server of relationship and meet preset rules;Preset rules will be met The IP address of MEC content server user is sent to by base station.
Wherein, for from least one the MEC content server for having mapping relations with domain-name information choose meet it is default Rule MEC content server method, selection mode may include it is a variety of, in the present embodiment without limit for example can wrap It includes:
Mode one randomly chooses one from least one the MEC content server for having mapping relations with domain-name information;
Mode two, under the network architecture of the present embodiment, in order to let user experiencing more smooth Internet service, MEC dispatch server can follow performance principle of optimality when choosing MEC content server by domain-name information, from relevant The MEC content server of best performance is selected in MEC content server.
Wherein, the process of mode two may include:
If only there is the MEC content server of mapping relations with domain-name information comprising one, reflected uniquely having with domain-name information The MEC content server for penetrating relationship distributes to user;
If comprising multiple MEC content servers for having mapping relations with domain-name information, according to the load of MEC content server Information and Delay, out of, MEC that select best performance in multiple MEC content servers for having mapping relations with domain-name information Hold server, and the MEC content server of best performance is distributed into user.
In the present embodiment, the load of server and time delay can embody the operation conditions of server, and the load of server accounts for With rate is lower, time delay is lower, indicate that the operation conditions of server is better, i.e. the performance of server is better;Conversely, load factor is got over Height, time delay are higher, then it represents that the performance of server is poorer.
So in the present embodiment, according to load information and Delay, from multiple MEC for having mapping relations with domain-name information The specific implementation that the MEC content server of best performance is selected in content server, without limiting in the present embodiment, example Such as may include:
According to the load information of each MEC content server, judge that the load service condition of each MEC content server is It is no to meet preset loading condition;
Multiple MEC content servers meet preset loading condition if it exists, then meet preset loading condition from multiple MEC content server in select time delay minimum MEC content server of the MEC content server as best performance;
If there is only a MEC content servers to meet preset loading condition, it will uniquely meet default loading condition MEC content server of the MEC content server as best performance;
The MEC content server for meeting preset loading condition if it does not exist then selects the MEC content service that time delay is minimum MEC content server of the device as best performance.
In the present embodiment, the load information of MEC content server includes at least one loading index, and wherein loading index can To include: CPU usage, memory usage, disk read-write rate, network interface card rate etc..In addition to this it is possible to include other energy The index for enough embodying the load occupancy situation of MEC content server, without restriction in the present embodiment.
In the present embodiment, it may include a variety of, this reality that MEC dispatch server, which obtains Delay and the mode of load information, It applies in example, without restriction, such as may include:
Message is sent to the MEC content server using ping order;
Receive the Delay that MEC content server is fed back based on message;
Receive the load information that MEC content server is sent;The load information of MEC content server is MEC content service Device is collected according to preset instructions.
Wherein, MEC content server can it is regular or it is irregular collect itself every loading index, and will be collected into Every loading index be sent to MEC dispatch server;Acquisition for Delay, MEC dispatch server can periodically or Person it is irregular using ping order to MEC content server send message, MEC content server can after receiving message to The time span of MEC dispatch server feedback delay.
In the present embodiment, multiple MEC content servers are deployed in dispatch network, include in MEC content server Service resources.When being scheduled by MEC dispatch server, if being stored with domain-name information in MEC dispatch server, obtain with Domain-name information has the MEC content server of mapping relations, and the MEC content server for choosing best performance distributes to user.By This in the case where deploying MEC content server it is found that, without being that user distributes CDN node by outer net, also may be implemented Access to Internet service.And by above-mentioned introduction it is found that MEC dispatch server is closer to user, then with MEC tune Multiple MEC content servers for being connected of degree server are also away from closer to the user, moreover, when select MEC content server, and also Performance factor is considered, network delay is more reduced, improves smooth degree when user accesses internet.
By the above-mentioned introduction to dispatch network it is found that in dispatch network, the effect of base station is forwarding user and MEC scheduling Information between server, the effect of core net are the information forwarded between MEC dispatch server and GSLB dispatch server.Cause This, play the role of kernel scheduling in dispatch network is MEC dispatch server and GSLB dispatch server.
Next the effect to MEC dispatch server and GSLB dispatch server during network scheduling carries out detailed Illustrate:
For MEC dispatch server, with reference to Fig. 3 and Fig. 4: referring to Fig. 3, show a kind of tune provided in an embodiment of the present invention The flow diagram of degree method, this method are applied to the MEC dispatch server in above-mentioned dispatch network, wherein the dispatch network With reference to Fig. 1, comprising: base station, MEC dispatch server, core net, GSLB dispatch server;
This method comprises:
S301: the first DNS request for the user that base station is sent is received, and parses domain-name information from the first DNS request;
DNS domain name system (English: Domain Name System, abbreviation: DNS) is a service of internet.It makees For a distributed data base for mutually mapping domain name and IP address, can make one more easily to access internet.
It in the present embodiment, can be that user finds the corresponding internet service resources place of DNS request by DNS request IP address.
S302: if not stored domain-name information in MEC dispatch server, the IP address comprising MEC dispatch server is generated The second DNS request;
In the present embodiment, for the Internet service of some hot topics, service resources can be stored in local, wherein local There are mapping relations, a domain name may map in one or more IP address the IP address and domain-name information of middle storage.In The mapping relations of domain-name information and each domain-name information and IP address are stored in MEC dispatch server.Specifically, can be It is introduced in following example IV (S401-S405), just repeats no more herein.
But for the business of some unexpected winners, the resource of the not stored business, needs to pass through in this MEC dispatch server Outer net transfers CDN node, realizes the access to some unexpected winner business.In the present embodiment, when transferring CDN node by outer net, need CDN node is positioned according to IP address, moreover, the IP address of MEC dispatch server can pass through MEC tune closer to user The IP address for spending server is that user distributes CDN node.But in the first CDN node and IP address is not included, it is therefore desirable to weight Second DNS request of the newly-generated IP address comprising MEC dispatch server.
S304: the second DNS request is sent to GSLB dispatch server by core net;
In the present embodiment, the second DNS request is sent to core net by MEC dispatch server, and passes through core net for second DNS request is sent to GSLB dispatch server.
S305: the IP address for the CDN node that the GSLB dispatch server that core net is sent is user's distribution is received;
Wherein, it is user's distribution that CDN node, which is the IP address of GSLB dispatch server foundation MEC dispatch server,.
In the present embodiment, GSLB dispatch server is the CDN node of user's distribution, can be distance MEC dispatch server The nearest CDN node of IP address, be also possible to according to best performance principle, the CDN node of the best performance selected, In, the CDN node of best performance can be the nearest CDN node of the IP address of distance MEC dispatch server, may not be The nearest CDN node of distance MEC dispatch server.
GSLB dispatch server is the process of the CDN node of user's distribution, can be in following embodiment (S501-S503) It is illustrated.
S306: the IP address for the CDN node distributed for user is sent to user by base station.
In the present embodiment, the IP address of CDN node is sent to user, user can access CDN section by the IP address Point, and then access the service resources in CDN node.
In the present embodiment, when being scheduled by MEC dispatch server, if not stored in MEC dispatch server have first The domain-name information of DNS request, regenerates the 2nd DINS request of the IP address comprising MEC dispatch server, and passes through core Second DNS request is sent to GSLB dispatch server by net, so that GSLB dispatch server is according to the IP of MEC dispatch server Location is that user distributes CDN node.In this way, since MEC has the characteristics that closer to user, then the IP of MEC dispatch server Location is away from closer to the user, therefore GSLB dispatch server is that the CDN that user distributes is saved according to the IP address of MEC dispatch server Point, also can be closer to user.It follows that being in this way the CDN node of user's distribution, user and CDN are substantially reduced The distance between node reduces network delay, and then improves user to the Experience Degree of Internet service.
In addition to this, in the case where the first DNS domain name information is stored in MEC dispatch server, local can be passed through Nslookup information, and then local server is distributed for user, specifically, with reference to following S401-S405:
With reference to Fig. 4, a kind of another flow diagram of dispatching method disclosed by the embodiments of the present invention, this method packet are shown It includes:
S401: the first DNS request for the user that base station is sent is received, and parses domain name from the first DIS request Information;
Wherein, S401 is consistent with above-mentioned S301, in the present embodiment without limiting.
S402: if being stored with domain name information in the MEC dispatch server, obtaining has mapping relations with domain-name information At least one MEC content server;
It is more by above-mentioned introduction it is found that also deploying multiple MEC content servers in dispatch network in the present embodiment A MEC content server is connected with MEC dispatch server.Also, service resources are stored in MEC content server.In MEC It is stored in dispatch server: the mapping relations of domain-name information and each domain name and MEC content server;One domain name It may map at least one MEC content server.
S403: it is chosen from least one content server for having mapping relations with domain-name information and meets preset rules MEC content server distributes to user;
In the present embodiment, accorded with for being chosen from least one the MEC content server for there are mapping relations with domain-name information Close preset rules MEC content server method, selection mode may include it is a variety of, in the present embodiment without limit for example May include:
Mode one randomly chooses one from least one the MEC content server for having mapping relations with domain-name information;
Mode two follows performance principle of optimality as user's distribution MEC content server;
In order to let user experiencing more smooth Internet service, MEC dispatch server chooses MEC by domain-name information When content server, performance principle of optimality can be followed, the MEC of best performance is selected from relevant MEC content server Content server.
For mode two, S404 may include:
If only there is the MEC content server of mapping relations with domain-name information comprising one, reflected uniquely having with domain-name information The MEC content server for penetrating relationship distributes to user;
If comprising multiple MEC content servers for having mapping relations with domain-name information, according to the load of MEC content server Information and Delay, out of, MEC that select best performance in multiple MEC content servers for having mapping relations with domain-name information Hold server, and the MEC content server of best performance is distributed into user.
In the present embodiment, the load of server and time delay can embody the operation conditions of server, wherein server it is negative Load occupancy is lower, time delay is lower, indicates that the operation conditions of server is better, i.e. the performance of server is better;Conversely, load factor It is higher, time delay is higher, then it represents that the performance of server is poorer.
So in the present embodiment, according to load information and Delay, from multiple MEC for having mapping relations with domain-name information The specific implementation that the MEC content server of best performance is selected in content server, without limiting in the present embodiment, example Such as may include:
According to the load information of each MEC content server, judge that the load service condition of each MEC content server is It is no to meet preset loading condition;
Multiple MEC content servers meet preset loading condition if it exists, then meet preset loading condition from multiple MEC content server in select time delay minimum MEC content server of the MEC content server as best performance;
If there is only a MEC content servers to meet preset loading condition, it will uniquely meet default loading condition MEC content server of the MEC content server as best performance;
The MEC content server for meeting preset loading condition if it does not exist then selects the MEC content service that time delay is minimum MEC content server of the device as best performance.
In the present embodiment, the load information of MEC content server includes at least one loading index, and wherein loading index can With include: CPU usage, memory usage, disk read-write rate, in network interface card rate any one or it is multiple.Except this it It outside, can also include the index of other load occupancy situations that can embody MEC content server, without limiting in the present embodiment It is fixed.
Wherein, loading condition can be expressed as whether loading index is less than preset threshold value, such as threshold value can be 80%.
For example: the loading index of multiple MEC content servers is less than 80%, then small from multiple loading index if it exists Select time delay the smallest in 80% MEC content server;The loading index of a MEC content server is less than if it exists 80%, then the MEC content server by only one loading index less than 80% distributes to user;Loading index is small if it does not exist In 80% MEC content server, then the then the smallest MEC content server of time delay is selected.
Wherein, since the loading index of MEC content server may be default for whether loading index is less than comprising multiple The loading condition of threshold value, it is believed that when there is at least N number of loading index to be less than preset threshold, MEC content server meets pre- If loading condition, when less than N number of loading index be less than preset threshold value when, MEC content server is unsatisfactory for preset load Condition;Assuming that MEC content server includes n loading index, then 1≤N≤n.
For example: loading index includes: CPU usage, memory usage, disk read-write rate, network interface card rate, i.e. n =4, it is assumed that N=2, if the CPU usage and memory usage of MEC content server are less than 80%, i.e., there are two loads to refer to When mark is less than 80%, then the MEC content server meets loading condition, if only CPU usage is less than 80%, memory is used Rate, disk read-write rate, network interface card rate are all larger than 80%, i.e., when only one loading index is less than 80%, then MEC content service Device does not meet loading condition.
Further, the Delay and load information of MEC content server be can store in MEC dispatch server, When the performance to MEC content server differentiates, the MEC content service of storage can be directly transferred from dispatch server The Delay and load information of device.
Specifically, further include:
The available each MEC content server being connected with the MEC dispatch server of MEC dispatch server when Prolong information and load information, and updates Delay and the load of the MEC content server stored in the MEC dispatch server Information.
Wherein, MEC dispatch server can it is regular or it is irregular obtain MEC content server load information and when Prolong information.
In addition to this, it when the performance to MEC content server differentiates, can directly be taken from relevant MEC content It is engaged in obtaining load information and Delay in device.
Wherein, it may include a variety of, the present embodiment that MEC dispatch server, which obtains Delay and the mode of load information, In, without restriction, such as may include:
Message is sent to the MEC content server using ping order;
Receive the Delay that MEC content server is fed back based on message;
Receive the load information that MEC content server is sent;The load information of MEC content server is MEC content service Device is collected according to preset instructions.
Wherein, MEC content server can it is regular or it is irregular collect itself every loading index, and will be collected into Every loading index be sent to MEC dispatch server;Acquisition for Delay, MEC dispatch server can periodically or Person is irregular to send message to MEC content server using ping order, and MEC content server can be to MEC dispatch server The time span of feedback delay.
By above-mentioned introduction it is found that in the present embodiment, server is characterized by the load of MEC content server and time delay Performance, but be not limited only to using load and time delay, it can also can be used to embody MEC content server performance using other Index.
S404: the IP address for the MEC content server for meeting preset rules is sent to user by base station.
In the present embodiment, user, can be according to the IP after receiving the IP address of MEC content server of base station transmission Address accesses MEC content server, and then accesses service resources needed for user in MEC content server.
In the present embodiment, MEC content server is deployed in dispatch network, in this way without being user's distribution by outer net The access to Internet service also may be implemented in CDN node.And more by MEC dispatch server device known to above-mentioned introduction Close to user, then the multiple MEC content servers being connected with MEC dispatch server are also away from closer to the user, moreover, selecting When selecting MEC content server, it is also contemplated that performance factor more reduces network delay, when improving user and accessing internet Smooth degree.
With reference to Fig. 5, a kind of structural schematic diagram of dispatching device provided in an embodiment of the present invention is shown, which is applied to MEC dispatch server in dispatch network, the device include:
First receiving unit 501, the first DNS request of the user for receiving base station transmission, and asked from the first DNS Domain-name information is parsed in asking;
Second DNS request generation unit 502, if for not stored domain name information in the MEC dispatch server, it is raw At the second DNS request of the IP address comprising MEC dispatch server;
First transmission unit 503 is dispatched for second DNS request to be sent to the GSLB by the core net Server;
Second receiving unit 504, the GSLB dispatch server for receiving core net transmission are the CDN node of user's distribution IP address;The CDN node is that the IP address of GSLB dispatch server foundation MEC dispatch server is user's distribution;
Second transmission unit 505, for will be that the IP address of CDN node of user's distribution is sent to user by base station.
Optionally, further includes:
Acquiring unit, if obtaining and believing with domain name for being stored with domain name information in the MEC dispatch server Breath has at least one MEC content server of mapping relations;Service resources are cached in the MEC content server;
MEC content server selection unit, for from least one the MEC content for having mapping relations with domain name information The MEC content server that selection meets preset rules in server distributes to user;
Third transmission unit, for the IP address for meeting the MEC content server of preset rules to be sent to by base station User.
Optionally, the MEC content server selection unit, is used for:
It, will uniquely and domain name if the MEC content server for only having mapping relations with domain name information comprising one Information has the MEC content server of mapping relations to distribute to user;
If comprising multiple MEC content servers for having mapping relations with domain name information, according to the MEC content service The load information and Delay of device have selectivity in the MEC content server of mapping relations with domain name information from multiple The optimal MEC content server of energy, and the MEC content server of best performance is distributed into user.
Optionally, the load information and Delay according to the MEC content server, from multiple and domain name Information has the MEC content server that best performance is selected in the MEC content server of mapping relations, comprising:
According to the load information of each MEC content server, judge that the load service condition of each MEC content server is It is no to meet preset loading condition;
Multiple MEC content servers meet preset loading condition if it exists, then meet preset loading condition from multiple MEC content server in select time delay minimum MEC content server of the MEC content server as best performance;
If there is only a MEC content servers to meet preset loading condition, it will uniquely meet default loading condition MEC content server of the MEC content server as best performance;
The MEC content server for meeting default loading condition if it does not exist, then select the MEC content server that time delay is minimum MEC content server as best performance.
Optionally, the dispatching device further include:
The Delay and load information of each MEC content server being connected with the MEC dispatch server are obtained, And update the Delay and load information of the MEC content server stored in the MEC content server.
Optionally, the Delay for obtaining each MEC content server being connected with the MEC dispatch server And load information, comprising:
Message is sent to the MEC content server using ping order;The MEC content server is received based on described The Delay of message feedback;
Receive the load information that the MEC content server is sent;The load information of the MEC content server is MEC Content server is collected according to preset instructions.
Optionally, the load information includes:
CPU usage, memory usage, disk read-write rate, in network interface card rate any one or it is multiple.
Device through this embodiment, when being scheduled by MEC dispatch server, if in MEC dispatch server not It is stored with the domain-name information of the first DNS request, regenerates the 2nd DINS request of the IP address comprising MEC dispatch server, And the second DNS request is sent to by GSLB dispatch server by core net, it is taken so that GSLB dispatch server is dispatched according to MEC The IP address of business device is that user distributes CDN node.In this way, since MEC has the characteristics that closer to user, then MEC scheduling clothes Be engaged in device IP address away from closer to the user, therefore GSLB dispatch server is user point according to the IP address of MEC dispatch server The CDN node matched, also can be closer to user.It follows that being in this way the CDN node of user's distribution, substantially reduce The distance between user and CDN node reduce network delay, and then improve user to the Experience Degree of Internet service.
For GSLB dispatch server:
With reference to Fig. 6, a kind of another flow diagram of dispatching method provided in an embodiment of the present invention is shown, this method is answered For the GSLB dispatch server in the dispatch network of above-mentioned introduction, wherein dispatch network is as shown in Figure 1, comprising: base station, MEC Dispatch server, core net, GSLB dispatch server;
This method comprises:
S601: the second DNS request that core net is sent is received, the MEC dispatch service that second DNS request includes is parsed The IP address of device;
Wherein, which generated on MEC dispatch server, and MEC dispatch server is receiving base station After the first DNS request of the user of transmission, if the not stored domain-name information for having first DNS request, In in MEC dispatch server The second DNS request of the IP address comprising MEC dispatch server is regenerated in MEC dispatch service.
S602: being the CDN node of user's distribution according to the IP address of the MEC dispatch server;
It is essentially to dispatch to take for user's distribution distance MEC when being that user distributes CDN node by GSLB dispatch service The nearest CDN node of the IP address of business device.
However, in some special cases, for example, distance MEC dispatch server the nearest CDN node of IP address use Family amount of access is very big, even if the nearest CDN node of the IP address of distance MEC dispatch server is distributed to user, it is also possible to There is the case where Caton.To solve the above-mentioned problems, GSLB dispatch server can follow performance principle of optimality as user's distribution CDN node guarantees to be assigned to performance preferably CDN node for user.
Wherein, it is based on best performance principle, S502 may include that various ways are that user distributes CDN node, such as can be with Including following several implementations:
Mode one,
According to the IP address of MEC dispatch server, first nearest with the IP address of MEC dispatch server distance is determined CDN node;
Whether the amount of access for judging the first CDN node has been more than preset threshold value;
If the amount of access of the first CDN node has been more than preset threshold value, obtain between the IP address of MEC dispatch server At least one second CDN node within the scope of pre-determined distance of distance;
The minimum CDN node of amount of access is chosen from least one second CDN node, and the minimum CDN of amount of access is saved Point distributes to user.
In the present embodiment,
Mode two,
According to the IP address of MEC dispatch server, determine the distance between IP address of MEC dispatch server pre- If second distance within the scope of at least one third CDN node;
The minimum CDN node of amount of access is chosen from least one third CDN node, and the amount of access selected is minimum CDN node distribute to user.
Wherein, preset distance range and second distance may range from specific distance length, or distance The interval value of degree.For example, preset distance range or second distance range are 10km, alternatively, second distance range be [10km, 20km]。
The amount of access for the CDN node mentioned in the present embodiment can be characterized by many indexes, such as can be passed through The service condition of load is characterized, such as CPU usage, memory usage, disk read-write rate, network interface card rate etc..
Wherein, GSLB dispatch server transfers the load information of CDN node, when differentiating to amount of access, may include Following two methods:
Method one, the load information for directly transferring pre-stored CDN node;
Wherein, GSLB dispatch server can obtain the load service condition of CDN node in advance, make when needing to pass through load When determining the amount of access of CDN node with situation, the load service condition of the CDN node of storage is called directly.Also, at this In the case of kind, GSLB dispatch server can regularly obtain the load information of CDN node.
Method two obtains the current load information of CDN node from CDN node;
The load service condition of CDN node is not stored in advance for GSLB dispatch server, when needing the load to CDN node to make When being determined with situation, in the load service condition for obtaining CDN node.
S603: the IP address for the CDN node distributed for user is sent to MEC dispatch server by core net.
The IP address for the CDN node distributed for user is sent to MEC dispatch server, MEC scheduling clothes by core net The IP address of CDN node is sent to user by base station by business device, and user can access CDN node according to the IP address, in turn Realize the purpose to access to the service resources to be accessed of user in CDN node.
In the present embodiment, when distributing CDN node by GSLB dispatch server for user, more due to MEC dispatch server Add the CDN node that the IP address close to user, according to MEC dispatch server is user's distribution away from closer to the user.Also, also according to It is that user distributes CDN node according to best performance principle, allows to that more smooth Internet service can be let user experiencing, User is further improved to the Experience Degree of Internet service.
With reference to Fig. 7, a kind of another structural schematic diagram of dispatching device provided in an embodiment of the present invention is shown, which answers For the GSLB dispatch server in dispatch network, in the present embodiment, which includes:
Third receiving unit 701 parses second DNS request for receiving the second DNS request of core net transmission In the MEC dispatch server IP address;Second DNS request is generated by MEC dispatch server;
Allocation unit 702, for being that user distributes CDN node according to the IP address of the MEC dispatch server;
4th transmission unit 703, for by be user's distribution CDN node IP address be sent to by core net described in MEC dispatch server.
Optionally, the allocation unit, is used for:
According to the IP address of the MEC dispatch server, determine with the IP address of MEC dispatch server distance most The first close CDN node;
Whether the amount of access for judging first CDN node has been more than preset threshold value;
If the amount of access of first CDN node has been more than preset threshold value, the IP with the MEC dispatch server is obtained The second CDN node of at least one of the distance between address within the scope of pre-determined distance;
The minimum CDN node of amount of access is chosen from least one second CDN node, and the minimum CDN of amount of access is saved Point distributes to user.
Device based on the present embodiment, when being that user distributes CDN node by GSLB dispatch server, due to MEC tune Spend server closer to user, the IP address according to MEC dispatch server be user's distribution CDN node apart from user more Closely.Also, it is also that user distributes CDN node according to best performance principle, allows to let user experiencing more smooth Internet service, further improve user to the Experience Degree of Internet service.
With reference to Fig. 8, a kind of interaction schematic diagram of dispatching method provided in an embodiment of the present invention is shown, this method is based on figure 2 dispatch networks introduced, in the present embodiment, this method comprises:
S801: user sends the first DNS request to MEC dispatch server by base station;
After S802:MEC dispatch server receives the first DNS request, the domain-name information in the first DNS request is parsed;
S803: judge whether be stored with domain-name information in MEC dispatch server;
S804: if being stored with domain-name information in MEC dispatch server, obtaining has in the MEC of mapping relations with domain-name information Hold server;
S805: from least one content server for having mapping relations with domain-name information choose meet preset rules to A few MEC content server distributes to user;
S806: the IP address for the MEC content server for meeting preset rules is sent to user by base station;
S807: if not stored domain-name information in MEC dispatch server, the IP address comprising MEC dispatch server is generated The second DNS request;
S808: the second DNS request is sent to GSLB dispatch server by core net;
After S809:GSLB dispatch server receives the 2nd NDS request, the MEC for including in second DNS request is parsed The IP address of dispatch server, and be that user distributes CDN node according to the IP address of MEC dispatch server;
The IP address for the CDN node distributed for user is sent to MEC tune by core net by S810:GSLB dispatch server Spend server;
The IP address for the CDN node distributed for user is sent to user by base station by S811:MEC dispatch server.
Further, it should be noted that service resources mentioned above may include video resource, software resource, game The business that any one such as resource is accessed by internet.
Based on the implementation of above-mentioned S601-S611, this programme is illustrated by concrete implementation scene:
Assuming that service resources are video resource:
Terminal user sends the DNS request for accessing certain video by base station to MEC dispatch server;
MEC dispatch server is differentiated according to the DNS request, if comprising in the DNS request in MEC dispatch server Domain-name information (such as the video is popular video), it is determined that have the IP of the MEC content server of mapping relations with the DNS request Address;
MEC dispatch server is chosen from the MEC content server that at least one has mapping relations with domain-name information to be met The MEC content server of preset rules, or can be understood as choosing the MEC content server of best performance;
The IP address for the MEC content server for meeting preset rules is sent to terminal by base station by MEC dispatch server User;
Include if MEC dispatch server not comprising the domain-name information (such as the video is unexpected winner video), regenerates The DNS request of the IP address of MEC dispatch server, and the DNS request that this is regenerated is sent to GSLB server;
GSLB dispatch server parses the DNS request that receives, parses the IP address of MEC dispatch server, and according to The IP address of MEC dispatch server is that user distributes CDN node.
Such as can be nearest with the IP address of distribution distance MEC dispatch server CDN node, can also both consider distance It is further contemplated that in the case where performance, allocation performance preferably CDN node.
The CDN node distributed for user is sent to MEC dispatch server by core net by GSLB dispatch server;
The IP address for the CDN node distributed for user is sent to terminal user by base station by MEC dispatch server.
In the present embodiment, when carrying out network scheduling by the above method, MEC dispatch server is not including domain-name information In the case of, the DNS request of the IP address comprising MEC dispatch server is regenerated, so that GSLB dispatch server can basis The IP address of MEC dispatch server is that user distributes CDN node.In this way, since MEC has the characteristics that closer to user, MEC The IP address of dispatch server is also closer to user, then the CDN node distributed by MEC dispatch server also can be apart from use Family is closer.So solve in the prior art, by CDN node that the IP address of Local dns server is user's distribution away from Farther out from user, so as to cause network delay the problem of.
Also, it, can be according to the mapping of domain name and MEC content server when MEC dispatch server includes domain-name information The performance of relationship and MEC content server, the property selected in the multiple MEC content servers being connected with MEC dispatch server The optimal MEC content server of energy, ensure that and provide the MEC content server of function admirable for user, further improve use The Experience Degree of family access Internet service.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (15)

1. a kind of dispatching method, which is characterized in that the method is applied to the MEC dispatch server in dispatch network, the tune Spending network includes:
Base station, MEC dispatch server, core net, GSLB dispatch server;
The described method includes:
The first DNS request for the user that base station is sent is received, and parses domain-name information from first DNS request;
If not stored domain name information in the MEC dispatch server, the of the IP address comprising MEC dispatch server is generated Two DNS requests;
Second DNS request is sent to the GSLB dispatch server by the core net;
Receive the IP address for the CDN node that the GSLB dispatch server that core net is sent is user's distribution;The CDN node is GSLB dispatch server is user's distribution according to the IP address of MEC dispatch server;
The IP address for the CDN node distributed for user is sent to user by base station.
2. the method according to claim 1, wherein further include:
If being stored with domain name information in the MEC dispatch server, obtaining has mapping relations extremely with domain name information A few MEC content server;Service resources are cached in the MEC content server;
The MEC for meeting preset rules is chosen from least one the MEC content server for there are mapping relations with domain name information Content server distributes to user;
The IP address for the MEC content server for meeting preset rules is sent to user by base station.
3. according to the method described in claim 2, it is characterized in that, from domain name information have mapping relations at least one The MEC content server for meeting preset rules is chosen in MEC content server, comprising:
If the MEC content server for only having mapping relations with domain name information comprising one, will uniquely with domain name information There is the MEC content server of mapping relations to distribute to user;
If comprising multiple MEC content servers for having mapping relations with domain name information, according to the MEC content server Load information and Delay select performance most from multiple MEC content servers for having mapping relations with domain name information Excellent MEC content server, and the MEC content server of best performance is distributed into user.
4. according to the method described in claim 3, it is characterized in that, the load information according to the MEC content server And Delay, out of, MEC that select best performance in multiple MEC content servers for having mapping relations with domain name information Hold server, comprising:
According to the load information of each MEC content server, judge whether the load service condition of each MEC content server is full The preset loading condition of foot;
Multiple MEC content servers meet preset loading condition if it exists, then from multiple MEC for meeting preset loading condition MEC content server of the MEC content server for selecting time delay minimum in content server as best performance;
If there is only a MEC content servers to meet preset loading condition, by unique MEC for meeting default loading condition MEC content server of the content server as best performance;
Meet the MEC content server of default loading condition if it does not exist, then the MEC content server for selecting time delay minimum as The MEC content server of best performance.
5. the method according to claim 1, wherein further include:
The Delay and load information of each MEC content server being connected with the MEC dispatch server are obtained, and more The Delay and load information of the MEC content server stored in the new MEC content server.
6. according to the method described in claim 5, it is characterized in that, what the acquisition was connected with the MEC dispatch server The Delay and load information of each MEC content server, comprising:
Message is sent to the MEC content server using ping order;
Receive the Delay that the MEC content server is fed back based on the message;
Receive the load information that the MEC content server is sent;The load information of the MEC content server is MEC content Server is collected according to preset instructions.
7. the method according to any one of claim 3-6, which is characterized in that the load information includes:
CPU usage, memory usage, disk read-write rate, in network interface card rate any one or it is multiple.
8. a kind of dispatching device characterized by comprising
First receiving unit, the first DNS request of the user for receiving base station transmission, and solved from first DNS request Domain-name information is precipitated;
Second DNS request generation unit, if for not stored domain name information in the MEC dispatch server, generation includes Second DNS request of the IP address of MEC dispatch server;
First transmission unit, for second DNS request to be sent to the GSLB dispatch server by the core net;
Second receiving unit, the GSLB dispatch server for receiving core net transmission are the IP of the CDN node of user's distribution Location;The CDN node is that the IP address of GSLB dispatch server foundation MEC dispatch server is user's distribution;
Second transmission unit, for will be that the IP address of CDN node of user's distribution is sent to user by base station.
9. device according to claim 8, which is characterized in that further include:
Acquiring unit, if for being stored with domain name information in the MEC dispatch server, acquisition has with domain name information At least one MEC content server of mapping relations;Service resources are cached in the MEC content server;
MEC content server selection unit, for from least one the MEC content service for having mapping relations with domain name information The MEC content server that selection meets preset rules in device distributes to user;
Third transmission unit, for the IP address for meeting the MEC content server of preset rules to be sent to user by base station.
10. a kind of dispatching method, which is characterized in that the method is applied to the GSLB dispatch server in dispatch network, described Dispatch network includes:
Base station, MEC dispatch server, core net, GSLB dispatch server;
The described method includes:
The second DNS request that the core net is sent is received, the MEC scheduling clothes that second DNS request includes are parsed The IP address of business device;Second DNS request is generated by MEC dispatch server;
It is that user distributes CDN node according to the IP address of the MEC dispatch server;
The IP address for the CDN node distributed for user is sent to the MEC dispatch server by core net.
11. according to the method described in claim 10, it is characterized in that, the IP address according to the MEC dispatch server CDN node is distributed for user, comprising:
According to the IP address of the MEC dispatch server, determine nearest with the IP address of MEC dispatch server distance First CDN node;
Whether the amount of access for judging first CDN node has been more than preset threshold value;
If the amount of access of first CDN node has been more than preset threshold value, the IP address with the MEC dispatch server is obtained The distance between at least one second CDN node within the scope of pre-determined distance;
The minimum CDN node of amount of access is chosen from least one second CDN node, and the minimum CDN node of amount of access is divided Provisioned user.
12. a kind of dispatching device characterized by comprising
Third receiving unit parses the institute in second DNS request for receiving the second DNS request of core net transmission State the IP address of MEC dispatch server;Second DNS request is generated by MEC dispatch server;
Allocation unit, for being that user distributes CDN node according to the IP address of the MEC dispatch server;
4th transmission unit, for will be that the IP address of CDN node of user's distribution is sent to MEC scheduling by core net Server.
13. a kind of dispatch network, which is characterized in that the network includes:
Base station, for sending the first DNS request of user to MEC dispatch server;
MEC dispatch server, the domain-name information for including for parsing first DNS request, in the MEC dispatch server In the case where not stored domain name information, the second DNS request of the IP address comprising MEC dispatch server is regenerated, and Second DNS request is sent to GSLB dispatch server by core net, is receiving the CDN node for user's distribution After IP address, the IP address of the CDN node is sent to user by base station;
The core net, the second DNS request for generating the MEC dispatch server are sent to GSLB dispatch server, And the IP address for the CDN node that GSLB dispatch server distributes is sent to the MEC dispatch server;
The GSLB dispatch server, for distributing CDN node according to the IP address of MEC dispatch server, and by the CDN of distribution The IP address of node is sent to the MEC dispatch server by core net.
14. network according to claim 13, which is characterized in that the dispatch network based on MEC, further includes:
The multiple MEC content servers being connected with MEC dispatch server are stored with business money in the MEC content server Source;
It include: the mapping relations of domain-name information and each domain name and MEC content server in the MEC dispatch server;Institute Stating a domain name may map at least one MEC content server.
15. network according to claim 14, which is characterized in that the MEC dispatch server is also used to:
If being stored with domain name information in the MEC dispatch server, obtaining has mapping relations extremely with domain name information A few MEC content server;Service resources are cached in the MEC content server;
The MEC for meeting preset rules is chosen from least one the MEC content server for there are mapping relations with domain name information Content server distributes to user;
The IP address for the MEC content server for meeting preset rules is sent to user by base station.
CN201910722119.2A 2019-08-06 2019-08-06 Scheduling method, device and scheduling network Active CN110417676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910722119.2A CN110417676B (en) 2019-08-06 2019-08-06 Scheduling method, device and scheduling network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910722119.2A CN110417676B (en) 2019-08-06 2019-08-06 Scheduling method, device and scheduling network

Publications (2)

Publication Number Publication Date
CN110417676A true CN110417676A (en) 2019-11-05
CN110417676B CN110417676B (en) 2022-10-04

Family

ID=68366175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910722119.2A Active CN110417676B (en) 2019-08-06 2019-08-06 Scheduling method, device and scheduling network

Country Status (1)

Country Link
CN (1) CN110417676B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995826A (en) * 2019-11-29 2020-04-10 腾讯科技(深圳)有限公司 Communication processing method and device, computer readable medium and electronic equipment
CN111212087A (en) * 2020-01-20 2020-05-29 上海米哈游天命科技有限公司 Method, device, equipment and storage medium for determining login server
CN112437137A (en) * 2020-11-12 2021-03-02 翱捷科技(深圳)有限公司 Internet of things data connection method and system
CN112543481A (en) * 2020-11-23 2021-03-23 中国联合网络通信集团有限公司 Method, device and system for balancing calculation force load of edge node
CN112825524A (en) * 2019-11-20 2021-05-21 中国电信股份有限公司 Method, device and system for determining network service node
CN113132251A (en) * 2020-01-15 2021-07-16 中国电信股份有限公司 Service scheduling method, device and storage medium
CN113973136A (en) * 2020-07-07 2022-01-25 ***通信集团广东有限公司 Traffic scheduling method, device and system
CN114143332A (en) * 2021-11-03 2022-03-04 阿里巴巴(中国)有限公司 Content delivery network CDN-based processing method, electronic device and medium
CN114157635A (en) * 2020-09-07 2022-03-08 ***通信集团湖南有限公司 Domain name back-source method and device for content distribution network, equipment and storage medium
CN115002837A (en) * 2022-05-25 2022-09-02 中国联合网络通信集团有限公司 Shunting method, communication vehicle, CDN (content delivery network) scheduling server and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040259A (en) * 2018-08-09 2018-12-18 中国联合网络通信集团有限公司 A kind of CDN node distribution method and system based on MEC
CN109451002A (en) * 2018-10-29 2019-03-08 中国联合网络通信集团有限公司 A kind of selection method and equipment of CDN node
CN109547286A (en) * 2018-11-21 2019-03-29 中国联合网络通信集团有限公司 A kind of selection method and equipment of CDN node

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040259A (en) * 2018-08-09 2018-12-18 中国联合网络通信集团有限公司 A kind of CDN node distribution method and system based on MEC
CN109451002A (en) * 2018-10-29 2019-03-08 中国联合网络通信集团有限公司 A kind of selection method and equipment of CDN node
CN109547286A (en) * 2018-11-21 2019-03-29 中国联合网络通信集团有限公司 A kind of selection method and equipment of CDN node

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112825524A (en) * 2019-11-20 2021-05-21 中国电信股份有限公司 Method, device and system for determining network service node
CN112825524B (en) * 2019-11-20 2022-12-27 中国电信股份有限公司 Method, device and system for determining network service node
CN110995826A (en) * 2019-11-29 2020-04-10 腾讯科技(深圳)有限公司 Communication processing method and device, computer readable medium and electronic equipment
CN113132251A (en) * 2020-01-15 2021-07-16 中国电信股份有限公司 Service scheduling method, device and storage medium
CN111212087A (en) * 2020-01-20 2020-05-29 上海米哈游天命科技有限公司 Method, device, equipment and storage medium for determining login server
CN113973136B (en) * 2020-07-07 2023-04-25 ***通信集团广东有限公司 Traffic scheduling method, device and system
CN113973136A (en) * 2020-07-07 2022-01-25 ***通信集团广东有限公司 Traffic scheduling method, device and system
CN114157635A (en) * 2020-09-07 2022-03-08 ***通信集团湖南有限公司 Domain name back-source method and device for content distribution network, equipment and storage medium
CN114157635B (en) * 2020-09-07 2023-08-15 ***通信集团湖南有限公司 Domain name back-source method and device for content distribution network, equipment and storage medium
CN112437137B (en) * 2020-11-12 2021-09-28 翱捷科技(深圳)有限公司 Internet of things data connection method and system
CN112437137A (en) * 2020-11-12 2021-03-02 翱捷科技(深圳)有限公司 Internet of things data connection method and system
CN112543481A (en) * 2020-11-23 2021-03-23 中国联合网络通信集团有限公司 Method, device and system for balancing calculation force load of edge node
CN112543481B (en) * 2020-11-23 2023-09-15 中国联合网络通信集团有限公司 Method, device and system for balancing computing force load of edge node
CN114143332A (en) * 2021-11-03 2022-03-04 阿里巴巴(中国)有限公司 Content delivery network CDN-based processing method, electronic device and medium
CN115002837A (en) * 2022-05-25 2022-09-02 中国联合网络通信集团有限公司 Shunting method, communication vehicle, CDN (content delivery network) scheduling server and system

Also Published As

Publication number Publication date
CN110417676B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN110417676A (en) A kind of dispatching method, device and dispatch network
US11539768B2 (en) System and method of minimizing network bandwidth retrieved from an external network
JP5208216B2 (en) How to cache content data packages in a caching node
CN109040259B (en) CDN node distribution method and system based on MEC
CN109618002B (en) Micro-service gateway optimization method, device and storage medium
US9065809B2 (en) Method and node for distributing electronic content in a content distribution network
US20150317583A1 (en) Business Scheduling Method and Apparatus and Convergence Device
Sung et al. Enabling contribution awareness in an overlay broadcasting system
JP2013168139A (en) Load balancing device, load balancing method and hierarchized data center system
CN113810205B (en) Service computing power information reporting and receiving method, server and data center gateway
CN102868674A (en) Contribution aware peer-to-peer live streaming service
WO2015096680A1 (en) Node distribution method and control center
CN108055309B (en) Data transmission system and method
CN109151009A (en) A kind of CDN node distribution method and system based on MEC
WO2014176990A1 (en) Node allocation method, device and system
US20240179200A1 (en) System and method of minimizing network bandwidth retrieved from an external network
CN105577646A (en) Method for aggregating bandwidth on user side, device and content distribution system
CN107438098A (en) A kind of dynamic content dispensing method and its system
CN106209952A (en) Service node distribution method, device, CDN management server and system
CN110769023A (en) Point-to-point content distribution network system based on intelligent home gateway
CN101369915B (en) P2P operating network resource management system
JP3725401B2 (en) Access distribution method, apparatus, and recording medium
KR101467023B1 (en) System and method to deliver contents using dynamic context in the distributed network
AlGhamdi et al. BeeCast: A Device-to-Device Collaborative Video Streaming System
Ghandeharizadeh et al. Cache replacement techniques for streaming media in wireless home networks

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230925

Address after: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.