CN111479296B - CDN cache server selection method and device - Google Patents

CDN cache server selection method and device Download PDF

Info

Publication number
CN111479296B
CN111479296B CN201910063784.5A CN201910063784A CN111479296B CN 111479296 B CN111479296 B CN 111479296B CN 201910063784 A CN201910063784 A CN 201910063784A CN 111479296 B CN111479296 B CN 111479296B
Authority
CN
China
Prior art keywords
load balancing
base station
cdn
identification information
cache 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.)
Active
Application number
CN201910063784.5A
Other languages
Chinese (zh)
Other versions
CN111479296A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201910063784.5A priority Critical patent/CN111479296B/en
Publication of CN111479296A publication Critical patent/CN111479296A/en
Application granted granted Critical
Publication of CN111479296B publication Critical patent/CN111479296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the field of communication, in particular to a method and a device for selecting a CDN cache server. The method is used for ensuring that a user can obtain required content in time, and comprises the following steps: the CDN global load balancing equipment acquires base station identification information of a base station to which the UE belongs, selects regional load balancing equipment according to the base station identification information and a pre-stored first configuration relation, sends the base station identification information to the regional load balancing equipment, and triggers the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation. Therefore, the distribution efficiency of the CDN cache server can be improved, the CDN cache server is ensured to provide required contents for users in time, the effect of local distribution is achieved, the network load of a mobile communication system is reduced, the service delay is shortened, and the user experience is further improved.

Description

CDN cache server selection method and device
Technical Field
The invention relates to the field of communication, in particular to a method and a device for selecting a CDN cache server.
Background
With the rapid development of internet services, especially video services, service providers need to provide a large amount of Content Delivery Network (CDN) services for improving the quality of service of internet services. In the existing CDN technology, a CDN cache server is deployed in a higher network level, and a CDN load balancing system may allocate an optimal CDN cache server to a terminal by using location information of the terminal that is implicit in a terminal IP address.
With the proliferation of mobile data traffic and the increasing requirements of mobile users on service experience, the carrying capacity of the traditional mobile operator network suffers from impact. In a Mobile communication network, the location where the CDN cache server is deployed may be sunk to the Edge of the Mobile network through a Mobile Edge Computing (MEC) technology, so as to reduce the load of the transmission network, shorten the service latency, and improve the user experience.
However, in the mobile network, a network Protocol (IP) address of the UE is allocated by the core network, and the IP address does not include location information of the UE, so that according to the prior art, the CDN load balancing system cannot know a specific location of the UE in the mobile communication network, and further cannot select an optimal CDN cache server for the UE, so that the UE cannot obtain the required content in time. Meanwhile, when the UE moves in the mobile communication network, the IP address of the UE is not changed in consideration of service continuity, and therefore, according to the prior art, the IP address of the CDN cache server obtained according to the IP address is not changed, that is, the CDN cache server providing the content for the UE is not changed, which results in that an optimal CDN cache server cannot be selected for the UE according to the movement of the UE.
Therefore, a selection method of the CDN cache server needs to be designed to solve the above problem.
Disclosure of Invention
The invention aims to provide a selection method and a selection device of a CDN cache server, so as to ensure that a user can obtain required content in time and achieve the effect of local distribution.
A CDN cache server selection method comprises the following steps:
the CDN global load balancing equipment acquires base station identification information of a base station to which User Equipment (UE) belongs, and selects regional load balancing equipment according to the base station identification information and a prestored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment;
and the CDN global load balancing equipment sends the base station identification information to the regional load balancing equipment, and triggers the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
Optionally, the obtaining, by the CDN global load balancing device, base station identification information of a base station to which the user equipment UE belongs specifically includes:
the CDN global load balancing equipment sends an identification acquisition request to a network capability open function entity (NEF) according to the IP address of the UE;
and the CDN global load balancing equipment receives the base station identification information of the base station to which the UE belongs, which is returned by the NEF.
Optionally, selecting a regional load balancing device according to the base station identification information and a pre-stored first configuration relationship, specifically including:
the CDN global load balancing equipment searches for a regional load balancing equipment identifier corresponding to the base station identifier information in the first configuration relation;
and the CDN global load balancing equipment selects corresponding regional load balancing equipment within the jurisdiction range of the CDN global load balancing equipment according to the regional load balancing equipment identification.
Optionally, triggering the regional load balancing device to select, according to the base station identification information and a second pre-stored configuration relationship, a CDN cache server for initiating a content request for the UE, specifically includes:
the CDN global load balancing equipment triggers the regional load balancing equipment, and a CDN cache server identifier corresponding to the base station identifier information is searched in the second configuration relation;
and the CDN global load balancing equipment triggers the regional load balancing equipment, and configures corresponding CDN cache servers in the jurisdiction range of the regional load balancing equipment for the UE according to the CDN cache server identification.
Optionally, after triggering the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a second pre-stored configuration relationship, the method further includes:
the CDN global load balancing equipment receives the IP address of the CDN cache server sent by the regional load balancing equipment, sends the IP address of the CDN cache server to the UE, and triggers the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
A selection device of a CDN cache server of a content delivery network comprises the following components:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for acquiring base station identification information of a base station to which User Equipment (UE) belongs and selecting regional load balancing equipment according to the base station identification information and a pre-stored first configuration relation, and the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment;
and the second processing unit is configured to send the base station identifier information to the regional load balancing device, and trigger the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identifier information and a pre-stored second configuration relationship, where the second configuration relationship represents a preset correspondence relationship between the base station identifier information and the CDN cache server.
Optionally, the first processing unit is specifically configured to obtain base station identifier information of a base station to which the user equipment UE belongs:
sending an identification acquisition request to a network capability open function entity (NEF) according to the IP address of the UE;
and receiving the base station identification information of the base station to which the UE belongs, which is returned by the NEF.
Optionally, according to the base station identification information and a pre-stored first configuration relationship, a regional load balancing device is selected, where the first processing unit is specifically configured to:
searching for the area load balancing equipment identifier corresponding to the base station identifier information in the first configuration relation;
and selecting corresponding regional load balancing equipment within the administration range of the CDN global load balancing equipment according to the regional load balancing equipment identifier.
Optionally, the regional load balancing device is triggered to select, according to the base station identification information and a second pre-stored configuration relationship, a CDN cache server for initiating a content request for the UE, where the second processing unit is specifically configured to:
triggering the regional load balancing equipment, and searching a CDN cache server identifier corresponding to the base station identifier information in the second configuration relation;
and triggering the regional load balancing equipment, and configuring a corresponding CDN cache server in the jurisdiction range of the regional load balancing equipment for the UE according to the CDN cache server identification.
Optionally, after triggering the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relationship, the second processing unit is further configured to:
and receiving the IP address of the CDN cache server sent by the regional load balancing equipment, sending the IP address of the CDN cache server to the UE, and triggering the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
A CDN global load balancing device, comprising a processor and a memory, wherein the processor is configured to read a program stored in the memory and perform the following operations:
acquiring base station identification information of a base station to which User Equipment (UE) belongs, and selecting regional load balancing equipment according to the base station identification information and a pre-stored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment;
and sending the base station identification information to the regional load balancing equipment, and triggering the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
Optionally, the processor is specifically configured to obtain base station identification information of a base station to which the user equipment UE belongs, and:
sending an identification acquisition request to a network capability open function entity (NEF) according to the IP address of the UE;
and receiving the base station identification information of the base station to which the UE belongs, which is returned by the NEF.
Optionally, the processor is specifically configured to select a regional load balancing device according to the base station identification information and a pre-stored first configuration relationship, where:
searching for the area load balancing equipment identifier corresponding to the base station identifier information in the first configuration relation;
and selecting corresponding regional load balancing equipment within the administration range of the CDN global load balancing equipment according to the regional load balancing equipment identifier.
Optionally, the regional load balancing device is triggered to select, according to the base station identification information and a second pre-stored configuration relationship, a CDN cache server for initiating a content request for the UE, where the processor is specifically configured to:
triggering the regional load balancing equipment, and searching a CDN cache server identifier corresponding to the base station identifier information in the second configuration relation;
and triggering the regional load balancing equipment, and configuring a corresponding CDN cache server in the jurisdiction range of the regional load balancing equipment for the UE according to the CDN cache server identification.
Optionally, after triggering the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a second pre-stored configuration relationship, the processor is further configured to:
and receiving the IP address of the CDN cache server sent by the regional load balancing equipment, sending the IP address of the CDN cache server to the UE, and triggering the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
A storage medium storing a program for implementing a selection method of a CDN cache server, the program, when executed by a processor, performing the steps of:
acquiring base station identification information of a base station to which User Equipment (UE) belongs, and selecting regional load balancing equipment according to the base station identification information and a pre-stored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment;
and sending the base station identification information to the regional load balancing equipment, and triggering the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
In summary, in the embodiment of the present invention, the CDN global load balancing device obtains the base station identifier information of the base station to which the UE belongs, selects the regional load balancing device according to the base station identifier information and the pre-stored first configuration relationship, sends the base station identifier information to the regional load balancing device, and triggers the regional load balancing device to select the CDN cache server for initiating the content request for the UE according to the base station identifier information and the pre-stored second configuration relationship. Therefore, the distribution efficiency of the CDN cache server can be improved, the CDN cache server is ensured to provide required contents for users in time, the effect of local distribution is achieved, the network load of a mobile communication system is reduced, the service delay is shortened, and the user experience is further improved.
Drawings
Fig. 1 is a schematic diagram of a mobile communication network deployment structure according to an embodiment of the present invention;
fig. 2 is a detailed flow diagram illustrating selection of a CDN cache server in an embodiment of the present invention;
fig. 3 is a schematic flowchart of reselecting a CDN cache server according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a logical function structure of a CDN global load balancing device in the embodiment of the present invention;
fig. 5 is a schematic entity structure diagram of a CDN global load balancing device in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, referring to fig. 1, in a 4G or 5G mobile communication Network System, an MEC Server and a CDN cache Server are deployed at the edge of a mobile communication Network, and the MEC Server is connected to an Evolved Packet Core (EPC) or a 5G Core (5G Core, 5GC) through a Transport Network, for example, when the Transport Network is a Packet Transport Network (PTN), the MEC Server is connected to the EPC or 5GC through the PTN, where the EPC includes a Mobility Management Entity (MME) and a System Architecture Evolution gateway (System Architecture Evolution-gateway, GW), the 5GC includes an Access and Mobility Management Function Entity (Access and Mobility Management Function, AMF) and a User Port Function Entity (User Port, UPF), and a Function Server (home website resolution, DNS), CDN DNS, CDN global load balancing device, and regional load balancing device are deployed in a higher network level, for example, the web site DNS, the CDN global load balancing device, and the regional load balancing device may be deployed in a core computer room. A Network capability Exposure Function (NEF) is a device for opening a mobile Network capability based on a telecommunication Network and facing a partner service platform, and can provide base station identification information of a base station to which a UE belongs to for a CDN global load balancing device.
In the embodiment of the present invention, referring to fig. 2, after the UE accesses the mobile communication network, a detailed flow of the CDN global load balancing device selecting a CDN cache server for the UE is as follows:
step 200: the UE sends a Uniform Resource Locator (URL) access request to the website DNS.
Step 201: and the website DNS sends the URL access request to the CDN DNS, and the CDN DNS is triggered to analyze the URL access request.
Specifically, in the embodiment of the present invention, after receiving a URL access request sent by a website DNS, a website DNS forwards the URL access request to a CDN DNS to which an alias record (CNAME) points, and triggers the CDN DNS to resolve the URL access request, so that the CDN DNS resolves the CDN global load balancing device IP address according to the URL access request.
For example, after receiving a URL access request sent by a website DNS, a CDN DNS analyzes the domain name http:// www.xxxx.com according to URL content information carried in the URL access request, and further obtains the IP address of the CDN global load balancing equipment of 192.168. xx.xx.
Step 202: and the UE receives the IP address of the CDN global load balancing equipment sent by the CDN DNS and sends a URL access request to the CDN global load balancing equipment.
Specifically, in the embodiment of the present invention, after the CDN DNS resolves the CDN global load balancing device IP address according to the URL access request, the CDN global load balancing device IP address may be sent to the UE, and then the UE may send the URL access request to the CDN global load balancing device according to the CDN global load balancing device IP address.
Step 203: and the CDN global load balancing equipment sends an identification acquisition request to the NEF according to the IP address of the UE.
Specifically, in the embodiment of the present invention, after the UE sends the URL access request to the CDN global load balancing device, the interaction flow between the CDN global load balancing device and the NEF of the mobile network may be triggered, that is, the CDN global load balancing device may send an identifier obtaining request to the NEF according to the IP address of the UE, and request the NEF to send the base station identifier information of the base station to which the UE belongs.
Step 204: and the CDN global load balancing equipment receives the base station identification information of the base station to which the UE belongs, which is returned by the NEF.
Specifically, in the embodiment of the present invention, after receiving the identifier acquisition request sent by the CDN global load balancing device, the NEF may return the base station identifier information of the base station to which the UE belongs to the CDN global load balancing device.
Step 205: and the CDN global load balancing equipment selects regional load balancing equipment according to the base station identification information and a pre-stored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment.
Specifically, in the embodiment of the present invention, since the CDN global load balancing device prestores the preset corresponding relationship between the base station identifier information and the regional load balancing device, that is, the prestored first configuration relationship, after obtaining the base station identifier information returned by the NEF, the CDN global load balancing device may match the base station identifier information with the prestored first configuration relationship, and select the regional load balancing device of the region to which the UE belongs.
For example, referring to table 1, a CDN global load balancing device manages a regional load balancing device 1, a regional load balancing device 2, and a regional load balancing device 3, each regional load balancing device is configured with a plurality of evolved Node bs (eNB)/Next Generation base stations (Next Generation Node B, gNB) identification information (Identity, ID) (hereinafter, referred to as ID), and the first configuration relationship is: ID1, ID2, ID3, ID4, ID5, ID6, and ID7 correspond to zone load balancing apparatus 1, ID8, ID9, ID10, ID11, and ID12 correspond to zone load balancing apparatus 2, and ID13, ID14, ID15, ID16, ID17, ID18, ID19, and ID20 correspond to zone load balancing apparatus 3. When the CDN global load balancing device obtains the ID10 returned by the NEF, after matching the ID10 with the pre-stored first configuration relationship, the corresponding regional load balancing device may be selected, that is, the ID10 corresponds to the regional load balancing device 2, so that the CDN global load balancing device selects the regional load balancing device 2 for the UE.
TABLE 1
Figure BDA0001955014760000091
Step 206: and the CDN global load balancing equipment sends the base station identification information to the regional load balancing equipment, and triggers the regional load balancing equipment to select a CDN cache server according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
Specifically, in the embodiment of the present invention, after selecting the regional load balancing device of the region to which the UE belongs, the CDN global load balancing device may send the base station identifier information sent by the NEF to the regional load balancing device, and since the regional load balancing device prestores the correspondence preset between the base station identifier information and the CDN cache server, that is, the second pre-stored configuration relationship, after obtaining the base station identifier information sent by the CDN global load balancing device, the regional load balancing device may match the base station identifier information with the second pre-stored configuration relationship, and select the appropriate CDN cache server for the UE.
For example, referring to table 2, the regional load balancing device 2 manages a CDN cache server 4 and a CDN cache server 5, each CDN cache server is configured with a plurality of IDs, and the second configuration relationship is: ID8, ID9 correspond to CDN cache server 4, and ID10, ID11, and ID12 correspond to CDN cache server 5. When the regional load balancing device 2 obtains the ID10 sent by the CDN global load balancing device, after matching the ID10 with the pre-stored second configuration relationship, the corresponding CDN cache server may be selected, that is, the ID10 corresponds to the CDN cache server 5, and therefore, the regional load balancing device 2 selects the CDN cache server 5 for the UE.
TABLE 2
Figure BDA0001955014760000101
Step 207: and the CDN global load balancing equipment receives the IP address of the CDN cache server sent by the regional load balancing equipment.
Specifically, in the embodiment of the present invention, after selecting an appropriate CDN cache server for the UE, the regional load balancing device sends the IP address of the selected CDN cache server to the CDN global load balancing device.
Step 208: and the CDN global load balancing equipment sends the IP address of the CDN cache server to the UE, and triggers the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
Specifically, in the embodiment of the present invention, after receiving the IP address of the CDN cache server sent by the regional load balancing device, the CDN global load balancing device may send the IP address of the CDN cache server to the UE, and then the UE may send a content request to the CDN cache server based on the IP address of the CDN cache server to request to obtain the required content.
Step 209: and the CDN cache server receives the content request sent by the UE and returns the required content to the UE.
Specifically, in the embodiment of the present invention, after receiving a content request sent by the UE, the CDN cache server performs a corresponding response action, and sends the required content to the UE.
Further, when the location of the UE in the mobile communication network changes, the base station identification information of the base station to which the UE belongs changes, and the CDN global load balancing device selects an appropriate CDN cache server for the UE according to the new base station identification information. Referring to fig. 3, when the location of the UE in the mobile communication network changes, a detailed process of selecting a CDN cache server for the UE by the CDN global load balancing device is as follows:
step 300: the NEF acquires new base station identification information of the UE from the MME or the AMF, and sends the new base station identification information to CDN global load balancing equipment.
Specifically, in the embodiment of the present invention, after the location of the UE in the mobile communication network changes, the base station identification information of the base station to which the UE belongs also changes, the MME or the AMF obtains new base station identification information where the UE is located, and actively sends the new base station identification information to the NEF, and further, the NEF receives the new base station identification information and actively sends the new base station identification information to the CDN global load balancing device. The location information of the UE is managed by the MME in the 4G mobile communication network system, that is, the MME tracks the network of the UE in real time and records the latest location information of the UE, and the location information of the UE is managed by the AMF in the 5G mobile communication network system.
Step 301: and the CDN global load balancing equipment selects regional load balancing equipment according to the new base station identification information and a pre-stored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the new base station identification information and the regional load balancing equipment.
Specifically, in the embodiment of the present invention, since the CDN global load balancing device prestores the first configuration relationship, after obtaining the new base station identification information sent by the NEF, the CDN global load balancing device may match the new base station identification information with the prestored first configuration relationship, and select the regional load balancing device of the region to which the UE belongs.
For example, referring to table 1, when the CDN global load balancing device obtains new base station identification information sent by the NEF as ID13, after matching ID13 with the pre-stored first configuration relationship, the corresponding regional load balancing device may be selected, that is, ID13 corresponds to the regional load balancing device 3, and therefore, the CDN global load balancing device selects the regional load balancing device 3 for the UE.
Step 302: and the CDN global load balancing equipment sends the new base station identification information to the regional load balancing equipment, and triggers the regional load balancing equipment to select a new CDN cache server according to the new base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the new base station identification information and the CDN cache server.
Specifically, in the embodiment of the present invention, after selecting the regional load balancing device of the region to which the UE belongs, the CDN global load balancing device may send new base station identification information sent by the NEF to the regional load balancing device, and since the regional load balancing device prestores the second configuration relationship, after obtaining the new base station identification information sent by the CDN global load balancing device, the regional load balancing device may match the new base station identification information with the prestored second configuration relationship, and select an appropriate CDN cache server for the UE.
For example, referring to table 3, the regional load balancing device 3 manages a CDN cache server 6 and a CDN cache server 7, each CDN cache server is configured with a plurality of IDs, and the second configuration relationship is: ID13, ID14 correspond to CDN cache server 6, and ID15, ID16, and ID17 correspond to CDN cache server 7. When the regional load balancing device 3 obtains the ID13 sent by the CDN global load balancing device, after matching the ID13 with the pre-stored second configuration relationship, the corresponding CDN cache server may be selected, that is, the ID13 corresponds to the CDN cache server 6, and therefore, the regional load balancing device 3 selects the CDN cache server 6 for the UE.
TABLE 3
Figure BDA0001955014760000131
Step 303: and the CDN global load balancing equipment receives the IP address of the CDN cache server sent by the regional load balancing equipment.
Specifically, in the embodiment of the present invention, after a suitable CDN cache server is reselected for the UE, the regional load balancing device sends the IP address of the reselected CDN cache server to the CDN global load balancing device.
Step 304: and the CDN global load balancing equipment sends the IP address of the CDN cache server to the UE, and triggers the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
Specifically, in the embodiment of the present invention, after receiving the IP address of the CDN cache server reselected by the regional load balancing device, the CDN global load balancing device may send the IP address of the CDN cache server to the UE, and the UE may send a content request to the CDN cache server based on the IP address of the CDN cache server to request to obtain the required content.
Step 305: and the CDN cache server receives the content request sent by the UE and returns the required content to the UE.
Specifically, in the embodiment of the present invention, after receiving the content request sent by the UE, the CDN cache server makes a corresponding response action, and the CDN cache server sends the required content to the UE.
In the embodiment of the present invention, referring to fig. 4, the CDN global load balancing device at least includes: a first processing unit 101 and a second processing unit 102, wherein,
the first processing unit 101 is configured to acquire base station identification information of a base station to which user equipment UE belongs, and select a regional load balancing device according to the base station identification information and a pre-stored first configuration relationship, where the first configuration relationship represents a preset correspondence relationship between the base station identification information and the regional load balancing device;
the second processing unit 102 is configured to send the base station identifier information to the regional load balancing device, and trigger the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identifier information and a second pre-stored configuration relationship, where the second configuration relationship represents a preset correspondence relationship between the base station identifier information and the CDN cache server.
Optionally, the first processing unit 101 is specifically configured to obtain base station identifier information of a base station to which the user equipment UE belongs:
sending an identification acquisition request to a network capability open function entity (NEF) according to the IP address of the UE;
and receiving the base station identification information of the base station to which the UE belongs, which is returned by the NEF.
Optionally, according to the base station identification information and a pre-stored first configuration relationship, a regional load balancing device is selected, where the first processing unit 101 is specifically configured to:
searching for the area load balancing equipment identifier corresponding to the base station identifier information in the first configuration relation;
and selecting corresponding regional load balancing equipment within the administration range of the CDN global load balancing equipment according to the regional load balancing equipment identifier.
Optionally, the regional load balancing device is triggered to select, according to the base station identification information and a second pre-stored configuration relationship, a CDN cache server for initiating a content request for the UE, where the second processing unit 102 is specifically configured to:
triggering the regional load balancing equipment, and searching a CDN cache server identifier corresponding to the base station identifier information in the second configuration relation;
and triggering the regional load balancing equipment, and configuring a corresponding CDN cache server in the jurisdiction range of the regional load balancing equipment for the UE according to the CDN cache server identification.
Optionally, after triggering the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relationship, the second processing unit 102 is further configured to:
and receiving the IP address of the CDN cache server sent by the regional load balancing equipment, sending the IP address of the CDN cache server to the UE, and triggering the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
Based on the same inventive concept, an embodiment of the present invention provides a CDN global load balancing device, as shown in fig. 5, where the CDN global load balancing device at least includes a processor 50 and a memory 51, where,
the processor 50 is configured to read the program stored in the memory 51, and perform the following operations:
acquiring base station identification information of a base station to which User Equipment (UE) belongs, and selecting regional load balancing equipment according to the base station identification information and a pre-stored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment;
and sending the base station identification information to the regional load balancing equipment, and triggering the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
Optionally, the processor 50 is specifically configured to obtain base station identification information of a base station to which the user equipment UE belongs:
sending an identification acquisition request to a network capability open function entity (NEF) according to the IP address of the UE;
and receiving the base station identification information of the base station to which the UE belongs, which is returned by the NEF.
Optionally, according to the base station identification information and a pre-stored first configuration relationship, a regional load balancing device is selected, and the processor 50 is specifically configured to:
searching for the area load balancing equipment identifier corresponding to the base station identifier information in the first configuration relation;
and selecting corresponding regional load balancing equipment within the administration range of the CDN global load balancing equipment according to the regional load balancing equipment identifier.
Optionally, the regional load balancing device is triggered to select, according to the base station identification information and a second pre-stored configuration relationship, a CDN cache server for initiating a content request for the UE, where the processor 50 is specifically configured to:
triggering the regional load balancing equipment, and searching a CDN cache server identifier corresponding to the base station identifier information in the second configuration relation;
and triggering the regional load balancing equipment, and configuring a corresponding CDN cache server in the jurisdiction range of the regional load balancing equipment for the UE according to the CDN cache server identification.
Optionally, after triggering the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a second pre-stored configuration relationship, the processor 50 is further configured to:
and receiving the IP address of the CDN cache server sent by the regional load balancing equipment, sending the IP address of the CDN cache server to the UE, and triggering the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
Based on the same inventive concept, an embodiment of the present invention provides a storage medium storing a program for implementing a selection method of a CDN cache server, where the program, when executed by a processor, performs the following steps:
acquiring base station identification information of a base station to which User Equipment (UE) belongs, and selecting regional load balancing equipment according to the base station identification information and a pre-stored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment;
and sending the base station identification information to the regional load balancing equipment, and triggering the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
In summary, in the embodiment of the present invention, first, a CDN global load balancing device obtains base station identifier information of a base station to which a UE belongs, selects a regional load balancing device according to the base station identifier information and a pre-stored first configuration relationship, then sends the base station identifier information to the regional load balancing device, and triggers the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identifier information and a pre-stored second configuration relationship. Therefore, the CDN global load balancing equipment can select the regional load balancing equipment according to the base station identification information, and then the regional load balancing equipment is triggered to select the optimal CDN cache server according to the base station identification information, so that the distribution efficiency of the CDN cache servers is improved, the CDN cache servers can provide required content for users in time, the effect of local distribution is achieved, the network load of a mobile communication system can be reduced, the service delay is shortened, and the user experience is further improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (7)

1. A method for selecting a CDN cache server of a content delivery network is characterized by comprising the following steps:
the method comprises the steps that CDN global load balancing equipment obtains base station identification information of a base station to which User Equipment (UE) belongs, and selects regional load balancing equipment according to the base station identification information and a prestored first configuration relation, wherein the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment, the base station identification information is returned by a network capacity open function entity (NEF) according to an identification obtaining request sent by the CDN global load balancing equipment, and the identification obtaining request is sent to the CDN NEF by the global load balancing equipment according to an Internet Protocol (IP) address of the UE;
and the CDN global load balancing equipment sends the base station identification information to the regional load balancing equipment, and triggers the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
2. The method according to claim 1, wherein selecting a regional load balancing device according to the base station identification information and a pre-stored first configuration relationship specifically includes:
the CDN global load balancing equipment searches for a regional load balancing equipment identifier corresponding to the base station identifier information in the first configuration relation;
and the CDN global load balancing equipment selects corresponding regional load balancing equipment within the jurisdiction range of the CDN global load balancing equipment according to the regional load balancing equipment identification.
3. The method of claim 1, wherein triggering the regional load balancing device to select, for the UE, a CDN cache server for initiating a content request according to the base station identification information and a second pre-stored configuration relationship specifically includes:
the CDN global load balancing equipment triggers the regional load balancing equipment, and a CDN cache server identifier corresponding to the base station identifier information is searched in the second configuration relation;
and the CDN global load balancing equipment triggers the regional load balancing equipment, and configures corresponding CDN cache servers in the jurisdiction range of the regional load balancing equipment for the UE according to the CDN cache server identification.
4. The method of claim 1, wherein after triggering the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a second pre-stored configuration relationship, the method further comprises:
the CDN global load balancing equipment receives the IP address of the CDN cache server sent by the regional load balancing equipment, sends the IP address of the CDN cache server to the UE, and triggers the UE to initiate a content request to the CDN cache server according to the IP address of the CDN cache server.
5. A device for selecting a CDN cache server of a content delivery network comprises:
the system comprises a first processing unit, a second processing unit and a third processing unit, wherein the first processing unit is used for acquiring base station identification information of a base station to which User Equipment (UE) belongs and selecting regional load balancing equipment according to the base station identification information and a prestored first configuration relation, the first configuration relation represents a preset corresponding relation between the base station identification information and the regional load balancing equipment, the base station identification information is returned by a network capability open function entity (NEF) according to an identification acquisition request sent by the CDN global load balancing equipment, and the identification acquisition request is sent to the CDN NEF by the global load balancing equipment according to an Internet Protocol (IP) address of the UE;
and the second processing unit is configured to send the base station identifier information to the regional load balancing device, and trigger the regional load balancing device to select a CDN cache server for initiating a content request for the UE according to the base station identifier information and a pre-stored second configuration relationship, where the second configuration relationship represents a preset correspondence relationship between the base station identifier information and the CDN cache server.
6. A CDN global load balancing device is characterized by comprising a processor and a memory, wherein,
the processor is used for reading the program saved in the memory and executing the following operations:
acquiring base station identification information of a base station to which User Equipment (UE) belongs, and selecting regional load balancing equipment according to the base station identification information and a pre-stored first configuration relationship, wherein the first configuration relationship represents a preset corresponding relationship between the base station identification information and the regional load balancing equipment, the base station identification information is returned by a network capacity open function entity (NEF) according to an identification acquisition request sent by the CDN global load balancing equipment, and the identification acquisition request is sent to the NEF by the CDN global load balancing equipment according to an Internet Protocol (IP) address of the UE;
and sending the base station identification information to the regional load balancing equipment, and triggering the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
7. A computer-readable storage medium storing a program for implementing a CDN cache server selection method, the program, when executed by a processor, performing the steps of:
acquiring base station identification information of a base station to which User Equipment (UE) belongs, and selecting regional load balancing equipment according to the base station identification information and a pre-stored first configuration relationship, wherein the first configuration relationship represents a preset corresponding relationship between the base station identification information and the regional load balancing equipment, the base station identification information is returned by a network capacity open function entity (NEF) according to an identification acquisition request sent by the CDN global load balancing equipment, and the identification acquisition request is sent to the NEF by the CDN global load balancing equipment according to an Internet Protocol (IP) address of the UE;
and sending the base station identification information to the regional load balancing equipment, and triggering the regional load balancing equipment to select a CDN cache server for initiating a content request for the UE according to the base station identification information and a pre-stored second configuration relation, wherein the second configuration relation represents a preset corresponding relation between the base station identification information and the CDN cache server.
CN201910063784.5A 2019-01-23 2019-01-23 CDN cache server selection method and device Active CN111479296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910063784.5A CN111479296B (en) 2019-01-23 2019-01-23 CDN cache server selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910063784.5A CN111479296B (en) 2019-01-23 2019-01-23 CDN cache server selection method and device

Publications (2)

Publication Number Publication Date
CN111479296A CN111479296A (en) 2020-07-31
CN111479296B true CN111479296B (en) 2021-08-27

Family

ID=71743289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910063784.5A Active CN111479296B (en) 2019-01-23 2019-01-23 CDN cache server selection method and device

Country Status (1)

Country Link
CN (1) CN111479296B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202906B (en) * 2020-10-09 2022-11-01 安徽极玩云科技有限公司 CDN access optimization method and system
CN112929420A (en) * 2021-01-23 2021-06-08 新万基卫星技术有限公司 Shipborne universal servo tracking system in motion

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741907A (en) * 2009-12-23 2010-06-16 金蝶软件(中国)有限公司 Method and system for balancing server load and main server
WO2016109297A1 (en) * 2014-12-31 2016-07-07 Vidscale, Inc. Methods and systems for an end-to-end solution to deliver content in a network
CN105847353A (en) * 2016-03-22 2016-08-10 中国科学院信息工程研究所 Mobile CDN (content delivery network) content scheduling method and system for mobile communication network
CN107277093A (en) * 2016-04-08 2017-10-20 北京优朋普乐科技有限公司 Content distributing network and its load-balancing method
CN108076142A (en) * 2017-11-28 2018-05-25 郑州云海信息技术有限公司 A kind of method and system for accelerating user's request based on CDN technologies

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741907A (en) * 2009-12-23 2010-06-16 金蝶软件(中国)有限公司 Method and system for balancing server load and main server
WO2016109297A1 (en) * 2014-12-31 2016-07-07 Vidscale, Inc. Methods and systems for an end-to-end solution to deliver content in a network
CN105847353A (en) * 2016-03-22 2016-08-10 中国科学院信息工程研究所 Mobile CDN (content delivery network) content scheduling method and system for mobile communication network
CN107277093A (en) * 2016-04-08 2017-10-20 北京优朋普乐科技有限公司 Content distributing network and its load-balancing method
CN108076142A (en) * 2017-11-28 2018-05-25 郑州云海信息技术有限公司 A kind of method and system for accelerating user's request based on CDN technologies

Also Published As

Publication number Publication date
CN111479296A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN111083737B (en) Method and device for shunting data in edge MEC
EP3327992B1 (en) Method of selecting network slice and system utilizing same
US11212742B2 (en) UPF selection method and device
CN113784333B (en) Method, device and system for mobility management
CN106341832B (en) Network slice management and selection method, system, base station and route switching equipment
CN108353067B (en) Method, system and related equipment for realizing capability openness
CN105122936B (en) Service distribution processing method and related device
CN113596863B (en) Method, equipment and medium for determining user plane function and providing information
CN114902634A (en) Apparatus and method for providing information of application server in mobile communication system
CN111866773B (en) Data acquisition method and device
CN111479296B (en) CDN cache server selection method and device
CN106713522B (en) Wireless fidelity Wi-Fi connection method and mobile terminal
CN115299021B (en) Exposure and discovery of distributed network functions serving user equipment or PDU sessions
CN112217856A (en) Address acquisition method, device, equipment and storage medium of application example
CN105828402A (en) Blind redirection method, core network and base station
CN112543212B (en) System for providing request response exact communication delay guarantee for distributed service
CN112217653B (en) Strategy issuing method, device and system
CN111263346B (en) User plane selection method, system and access control network element
CN114285900A (en) Scheduling system, authentication method, scheduling method, apparatus, server, and medium
CN107528679B (en) S1AP signaling transmission method and device
Tikhvinskiy et al. Engineering and Architecture Building of 5G Network for Business Model of High Level Mobile Virtual Network Operator
CN111356187A (en) Message transmission method and device
US20240064822A1 (en) System and method for enhanced prach configuration and improved preamble success rate
US20230385139A1 (en) Network api credentials within a translation session
CN102957668A (en) Method for acquiring location information from identifier-based network and access service router

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