CN113938814B - Service scheduling method, UPF, system and medium of content distribution network - Google Patents

Service scheduling method, UPF, system and medium of content distribution network Download PDF

Info

Publication number
CN113938814B
CN113938814B CN202010651748.3A CN202010651748A CN113938814B CN 113938814 B CN113938814 B CN 113938814B CN 202010651748 A CN202010651748 A CN 202010651748A CN 113938814 B CN113938814 B CN 113938814B
Authority
CN
China
Prior art keywords
upf
information
address
cdn
dns
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
CN202010651748.3A
Other languages
Chinese (zh)
Other versions
CN113938814A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202010651748.3A priority Critical patent/CN113938814B/en
Publication of CN113938814A publication Critical patent/CN113938814A/en
Application granted granted Critical
Publication of CN113938814B publication Critical patent/CN113938814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters

Abstract

The invention provides a service scheduling method, a UPF, a system and a storage medium of a content distribution network, wherein the method comprises the following steps: the UPF sends a detection message carrying the IP address in the DNS response packet to the PCF through the SMF; the UPF receives the position information insertion strategy activation information sent by the SMF, and processes the source address information in the DNS request sent by the terminal to the CDN center dispatching system based on the position information insertion strategy activation information so that the CDN center dispatching system determines the address information of the CDN edge node server based on the DNS request. According to the method, the UPF, the system and the storage medium, the PCF can determine whether to activate the position information insertion strategy or not based on the subscription information, and the CDN center scheduling system can determine the MEC service area where the user is located according to the UPF position information, so that a CDN edge node server is distributed for the terminal, and the function of nearby local CDN node distribution is realized.

Description

Service scheduling method, UPF, system and medium of content distribution network
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service scheduling method, UPF, system, and storage medium for a content distribution network.
Background
In the deployment of the 4G network, because the PGW adopts a mode of centralized deployment of a provincial layer, MEC cannot be deployed close to a user, and therefore CDN service based on a mobile network is difficult to land; in the 5G SA network, UPF can be deployed in a layered manner according to the requirement, so that CDN service with low time delay and high bandwidth can be deployed based on the 5G network, however, at present, a CDN center dispatching system cannot acquire the position information of a mobile network user, and how the CDN center dispatching system acquires the position information of the mobile network user is a difficult problem of CDN landing.
Disclosure of Invention
In view of the above, it is an object of the present invention to provide a service scheduling method, UPF, system and storage medium for a content distribution network.
According to a first aspect of the present disclosure, there is provided a service scheduling method of a content distribution network, including: the method comprises the steps that an edge user plane function UPF obtains a DNS response packet returned by a DNS server to a terminal, wherein the DNS response packet carries an address of a CDN center scheduling system of a content delivery network; the UPF sends a detection message to a policy control function PCF through a session management function SMF; the detection message carries an IP address in the DNS response packet; the UPF receives the position information insertion strategy activation information sent by the SMF; and the UPF acquires a DNS request sent by the terminal to the CDN center dispatching system, processes source address information in the DNS request based on the position information insertion strategy activation information, so that the CDN center dispatching system determines address information of a CDN edge node server corresponding to the terminal based on the DNS request and returns the address information to the terminal.
Optionally, after the UPF receives the location information insertion policy activation information sent by the SMF, the method further includes: if the position information insertion strategy is activated based on the position information insertion strategy activation information, the UPF establishes a packet detection rule PDR based on the IP address, and establishes a forwarding behavior rule FAR corresponding to the PDR based on the position information insertion strategy.
Optionally, the processing the source address information in the DNS request based on the location information insertion policy activation information includes: and the UPF judges whether the DNS request contains the IP address based on the PDR, and if so, the UPF processes the source address information in the DNS request according to the FAR.
Optionally, the processing the source address information in the DNS request according to the FAR includes: and replacing source address information in the DNS request by using preset UPF position information according to the FAR.
Optionally, the determining, by the CDN center scheduling system, address information of a server corresponding to the terminal based on the DNS request includes: the CDN center dispatching system obtains the UPF position information in the DNS request, determines an MEC service area based on the UPF position information, and obtains an address of a CDN edge node server serving as an MEC node in the MEC service area.
Optionally, the UPF location information includes: the public network IP address of the UPF or the ID number of the UPF.
Optionally, the PCF sends an npcf_smplicycorol_updatenotify request message to the SMF; the position information insertion strategy activation instruction is carried by a position replacement insertion field in the npcf_smplicycorol_updatenotify request message; the step of receiving the location information insertion strategy activation information sent by the SMF by the UPF comprises the following steps: the UPF receives an N4 session modification request message sent by the SMF; the location information insertion policy activation indication is carried by a location replacement insertion field in the N4 session modification request message, and the location information replacement action indication is carried by a forwarding behavior rule field.
Optionally, after receiving the DNS response packet, the terminal sends the DNS request to the CDN center scheduling system to obtain an address of a CDN edge node server; wherein the DNS request comprises an HTTP DNS request.
According to a second aspect of the present disclosure, there is provided an edge user plane function, UPF, comprising: the system comprises a response acquisition module, a Content Delivery Network (CDN) center scheduling system and a response acquisition module, wherein the response acquisition module is used for acquiring a DNS response packet returned by a DNS server to a terminal, and the DNS response packet carries an address of the CDN center scheduling system; the detection and transmission module is used for transmitting detection information to the policy control function PCF through the session management function SMF; the detection message carries an IP address in the DNS response packet; the policy receiving module is used for receiving the position information insertion policy activation information sent by the SMF; the address processing module is used for acquiring a DNS request sent by the terminal to the CDN center dispatching system, processing source address information in the DNS request based on the position information insertion strategy activation information, so that the CDN center dispatching system determines address information of a CDN edge node server corresponding to the terminal based on the DNS request and returns the address information to the terminal.
Optionally, the policy activation module is configured to, after receiving the location information insertion policy activation information sent by the SMF, establish a packet detection rule PDR based on the IP address and establish a forwarding behavior rule FAR corresponding to the PDR based on the location information insertion policy if it is determined that the location information insertion policy is activated based on the location information insertion policy activation information.
Optionally, the address processing module includes: an analysis unit configured to determine, based on the PDR, whether the DNS request includes the IP address; and the processing unit is used for processing the source address information in the DNS request according to the FAR if the source address information is the source address information.
Optionally, the processing unit is further configured to replace source address information in the DNS request with preset UPF location information according to the FAR.
Optionally, the UPF location information includes: the public network IP address of the UPF or the ID number of the UPF.
Optionally, the PCF sends an npcf_smplicycorol_updatenotify request message to the SMF; the position information insertion strategy activation instruction is carried by a position replacement insertion field in the npcf_smplicycorol_updatenotify request message; the policy receiving module is configured to receive an N4 session modification request message sent by the SMF; the location information insertion policy activation indication is carried by a location replacement insertion field in the N4 session modification request message, and the location information replacement action indication is carried by a forwarding behavior rule field.
According to a third aspect of the present disclosure, there is provided a UPF comprising: a memory; and a processor coupled to the memory, the processor configured to perform the method as described above based on instructions stored in the memory.
According to a fourth aspect of the present disclosure, there is provided a content distribution network system comprising: DNS servers, SMF, PCF, CDN central scheduling systems, and UPFs as described above.
According to a fifth aspect of the present disclosure there is provided a computer readable storage medium having stored thereon computer program instructions which when executed by one or more processors perform the steps of the method as described above.
The service scheduling method, UPF, system and storage medium of the content distribution network of the present disclosure, UPF obtains DNS response packet returned from DNS server to terminal, send detection message carrying IP address in DNS response packet to PCF through SMF; the UPF receives position information insertion strategy activation information sent by the SMF, and processes source address information in a DNS request sent by a terminal to the CDN center dispatching system based on the position information insertion strategy activation information so that the CDN center dispatching system determines address information of a CDN edge node server based on the DNS request; the PCF can decide whether to activate the position information insertion strategy based on the subscription information, and the position information insertion strategy is activated in the UPF so as to increase UPF position information in the DNS request; the CDN center dispatching system can determine the MEC service area where the user is located according to the UPF position information, and allocate CDN edge node servers for the terminals, so that the function of nearby allocation of local CDN nodes is realized.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the description of the prior art, it being obvious that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a flow diagram of one embodiment of a method of traffic scheduling for a content distribution network according to the present disclosure;
FIG. 2 is a flow diagram of location information processing in one embodiment of a method of traffic scheduling for a content distribution network according to the present disclosure;
fig. 3 is a flow diagram of another embodiment of a method of traffic scheduling for a content distribution network according to the present disclosure;
FIG. 4A is a block diagram of one embodiment of a UPF in accordance with the present disclosure; FIG. 4B is a block diagram of another embodiment of a UPF in accordance with the present disclosure;
FIG. 5 is a block diagram of an address processing module in one embodiment of a UPF in accordance with the present disclosure;
fig. 6 is a block diagram of yet another embodiment of a UPF according to the present disclosure.
Detailed Description
The present disclosure now will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the disclosure are shown. The following description of the technical solutions in the embodiments of the present disclosure will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
In the prior art, the area where the user is located is identified according to the terminal IP address, and then the CDN (Content Delivery Network ) node deployed at the local MEC (Multi-access Edge Computing, multi-access edge computing MEC) is allocated to the user, but in some eMBB (Enhance Mobile Broadband, enhanced mobile broadband scenario) service deployment scenarios, the terminal address is uniformly allocated by the central SMF, and does not have regional characteristics, so that the CDN central scheduling system cannot identify the user location, and realize the function of distributing local CDN nodes nearby; in addition, the 5G MEC CDN service also needs the network side to support subscription based on the user level, and provides a more flexible means for third party application.
Fig. 1 is a flow diagram of one embodiment of a method of traffic scheduling for a content distribution network according to the present disclosure, as shown in fig. 1:
in step 101, the edge user plane function UPF (User Plane Function) obtains a DNS (Domain Name Server) response packet returned from the DNS server to the terminal, where the DNS response packet carries an address of the CDN central scheduling system of the content delivery network. The UPF includes Local UPF, which is edge UPF.
Step 102, the upf sends a detection message to the policy control function PCF (Policy Control Function) through the session management function SMF (Session Management Function); the detection message carries an IP address in the DNS response packet.
In an embodiment, the UPF configures a predefined policy, parses the DNS response packet and identifies a specific FQDN (Fully Qualified Domain Name )/URL, obtains the IP address in the DNS response packet, and sends a detection message to the SMF, PCF, where the detection message carries the IP address in the DNS response packet. The IP address obtained from within the DNS response packet includes: the IP address of the CDN-centric dispatch system is typically a public network IP address, such as 121.10.41.139. The UPF sends detection information to the SMF and the PCF, and the detection information carries the IP address of the CDN center dispatching system.
The PCF determines a detection IP address activation position information insertion strategy uploaded to the UPF based on subscription information, and is used for carrying out insertion replacement processing on a source address in an HTTP DNS request containing the detection IP address, and sending the position information insertion strategy activation information to the UPF through the SMF to be executed so as to enable the UPF to activate the position information insertion strategy, thereby realizing the function of transmitting the user position to a CDN center dispatching system.
Step 103, the upf receives the location information insertion policy activation information sent by the SMF.
104, the UPF acquires a DNS request sent by the terminal to the CDN center dispatching system, and processes source address information in the DNS request based on the position information insertion strategy activation information so that the CDN center dispatching system determines address information of a server corresponding to the terminal based on the DNS request and returns the address information to the terminal.
The CDN center scheduling system can determine address information of a server based on the source address information processed in the DNS request and return the address information to the terminal, where the server may be a CDN edge node server or the like. The DNS request is an HTTP DNS request, or the like. After receiving the DNS response packet, the terminal sends an HTTP DNS request to a CDN center dispatching system to obtain the address of the CDN edge node server.
Fig. 2 is a flow chart illustrating processing of location information in one embodiment of a service scheduling method of a content distribution network according to the present disclosure, as shown in fig. 2:
in step 201, if it is determined that the location information insertion policy is activated based on the location information insertion policy activation information, the UPF establishes a packet detection rule PDR based on an IP address (a detection IP address sent by the UPF to the PCF), and establishes a forwarding behavior rule FAR corresponding to the PDR based on the location information insertion policy. PDR and FAR can be established using existing methods.
Step 202, the upf determines, based on the PDR, whether the DNS request contains an IP address.
And 203, if yes, processing the source address information in the DNS request according to the FAR.
There are several ways to process the source address information in the DNS request according to the FAR. For example, the source address information in the DNS request is replaced with preset UPF location information according to the FAR. The UPF location information includes a public network IP address of the UPF or an ID number of the UPF. The geographical position of the UPF can be determined through the public network IP of the UPF; the ID number of the UPF comprises three-level administrative district information of province, city and county of the UPF installation position, and the geographic position of the UPF can be determined through the ID number of the UPF.
The CDN center dispatching system obtains UPF position information in the DNS request, determines an MEC service area based on the UPF position information, and obtains an address of a CDN edge node server serving as an MEC node in the MEC service area.
In one embodiment, a predefined policy is configured at the UPF: analyzing the DNS response of CDN service for the first time, identifying specific FQDN/URL, reporting the IP address in the DNS response packet to SMF/PCF, PCF generating the position information insertion strategy of HTTP DNS request packet based on subscription, and issuing to UPF for executing. The UPF performs location information insertion processing (replacement of the source address in the HTTP DNS request packet) on the hit HTTP DNS request packet based on the activated location information insertion policy.
PCF sends a Npcf_SMPolicyControl_UpdateNotify request message to SMF; the location information insertion policy activation instruction is carried by a location replacement insertion field in the npcf_smplicycorol_updatenotify request message.
The UPF receives an N4 session modification request message sent by the SMF; the location information insertion policy activation instruction is carried by a location replacement insertion field in the N4 session modification request message, and the location information replacement action instruction is carried by a forwarding behavior rule field.
A message field location_insert of the IP replacement indication is newly added in the npcf_smpolicycontrol_ UpdateNotify request (N7 message) and is used for carrying the Location information insertion policy activation indication. A message field location_insert of the IP replacement indication is also added in N4 session modification request (N4 message) for carrying a Location information insertion policy activation indication; an action indication Location Replacing Parameters is added to the FAR field of the UPF-processed IP packet indicated in N4 session modification request for carrying the location information replacement action indication.
For example, if the location information insertion policy activation indication carried in the location replacement insertion field in the npcf_smplicycorol_updatenotify request message is "1", the SMF determines to activate the location information insertion policy. The SMF sends N4 session modification request to the UPF, and the location information insertion policy activation indication carried by the location replacement insertion field in the request message is "1" through N4 session modification, and the location information replacement action indication is carried by the forwarding behavior rule field.
The UPF acquires a position information insertion strategy activation instruction carried by a position replacement insertion field in the N4 session modification request message, determines to activate the detection IP activation position information insertion strategy of the uploading PCP, acquires a position information replacement action instruction carried by a forwarding behavior rule field in the N4 session modification request message, determines to replace the source address of the HTTP DNS request, and replaces the source address with the public network address or the IP number of the UPF.
The UPF sets a PDR corresponding to the detected IP address, and a FAR corresponding to the PDR. The UPF performs location information insertion on a message packet that matches the detected IP address in the PDR, i.e., replaces the source address of the HTTP DNS request with the public network address or IP number of the UPF, etc. (identifiable location information). In the HTTP DNS request initiated by the terminal, the UPF performs location information insertion processing (performs source address replacement processing of the IP packet) according to the IP address matching result, and the CDN center scheduling system can identify and allocate MEC CDN nodes where the user terminal is located according to the public network address or IP number of the UPF in the HTTP DNS request.
Fig. 3 is a flow diagram of another embodiment of a traffic scheduling method of a content distribution network according to the present disclosure, as shown in fig. 3:
in step 301,5G, the terminal uses the CDN service, and in the first DNS procedure, the IP address of the CDN center scheduling system is obtained through the operator DNS.
Step 302, local UPF configures a predefined policy: and acquiring a DNS Response packet returned by the DNS, analyzing the DNS Response packet, identifying a specific FQDN/URL in the DNS Response packet, and acquiring an IP address in the DNS Response packet.
Step 303 and step 304, the local UPF reports the detection event to the SMF/PCF, carrying the IP address in the DNS Response packet.
Step 305, the pcf receives the detection message sent by the SMF/UPF and then determines, based on the user subscription, whether to activate the location information insertion policy for the IP address in the DNS Response packet.
In step 306, the pcf issues an npcf_smplicycontrol_ UpdateNotify request message to the SMF, and a location_insert field (Location replacement Insert field) is added in the message, for carrying a Location information Insert policy activation indication.
Step 307, the smf issues an N4 session modification requset message, and adds a location_insert field (Location replacement Insert field) in the message, for carrying a Location information Insert policy activation instruction; a FAR field newly added action indication (Location Replacing Parameters) in the message for indicating the UPF to process the IP packet carries the position information substitution action indication; the destination address in the PDR in the message is the IP address in the detection message sent by the UPF to the PCF.
In step 308, if it is determined that the location information insertion policy is activated based on the location information insertion policy activation information, the UPF establishes a packet detection rule PDR based on the IP address and establishes a forwarding behavior rule FAR corresponding to the PDR based on the location information insertion policy. The location information insertion policy activation information includes: the location information carried by the location replacement insertion field in the N4 session modification request message inserts a policy activation indication, and the forwarding behavior rules field in the N4 session modification request message carries a location information replacement action indication.
Step 309, after receiving the first DNS response, the terminal initiates a second HTTP DNS request to the CDN central scheduling system to obtain a CDN edge node server address.
Step 310, the UPF judges that the DNS request includes a preset IP address based on the PDR, and uses preset UPF location information to replace source address information in the DNS request according to the FAR, where the UPF location information includes a public network IP address of the UPF or an ID number of the UPF, and the like; the UPF performs packet processing of inserting position information on the hit HTTP DNS request.
Step 311, the UPF sends the HTTP DNS request with the UPF location information inserted to the CDN central scheduling system.
In step 312, the CDN center scheduling system identifies, through the UPF location information in the HTTP DNS request, the MEC service area where the user is located, and returns the CDN edge node server address of one MEC node of the terminal.
In one embodiment, as shown in fig. 4A, the present disclosure provides an edge user plane function UPF40, including a response acquisition module 41, a detection transmission module 42, a policy reception module 43, and an address processing module 44. The response obtaining module 41 is configured to obtain a DNS response packet returned by the DNS server to the terminal, where the DNS response packet carries an address of a CDN center scheduling system of the content delivery network.
The detection sending module 42 sends a detection message to the policy control function PCF through the session management function SMF; the detection message carries an IP address in the DNS response packet. The policy receiving module 43 receives the location information insertion policy activation information sent by the SMF. The address processing module 44 obtains a DNS request sent by the terminal to the CDN center scheduling system, and processes source address information in the DNS request based on the location information insertion policy activation information, so that the CDN center scheduling system determines address information of a CDN edge node server corresponding to the terminal based on the DNS request, and returns the address information to the terminal.
PCF sends a Npcf_SMPolicyControl_UpdateNotify request message to SMF; the location information insertion policy activation instruction is carried by a location replacement insertion field in the npcf_smplicycorol_updatenotify request message. The policy receiving module 43 receives an N4 session modification request message sent by the SMF; the location information insertion policy activation instruction is carried by a location replacement insertion field in the N4 session modification request message, and the location information replacement action instruction is carried by a forwarding behavior rule field.
In one embodiment, as shown in fig. 4B, the UPF40 includes a policy activation module 45, where after receiving the location information insertion policy activation information sent by the SMF, the policy activation module 45 establishes a packet detection rule PDR based on the IP address and establishes a forwarding behavior rule FAR corresponding to the PDR based on the location information insertion policy if it determines that the location information insertion policy is activated based on the location information insertion policy activation information.
In one embodiment, as shown in FIG. 5, the address processing module 44 includes: an analysis unit 441 and a processing unit 442. The analysis unit 441 determines whether the DNS request contains an IP address based on the PDR; if so, the source address information in the DNS request is processed according to the FAR. For example, the processing unit 442 replaces the source address information in the DNS request with preset UPF location information according to the FAR, where the UPF location information includes: the public network IP address of the UPF or the ID number of the UPF, etc.
Fig. 6 is a block diagram of yet another embodiment of a UPF in accordance with the present disclosure. As shown in fig. 6, the apparatus may include a memory 61, a processor 62, a communication interface 63, and a bus 64. The memory 61 is for storing instructions, and the processor 62 is coupled to the memory 61, the processor 62 being configured to perform a traffic scheduling method implementing the content distribution network described above based on the instructions stored by the memory 61.
The memory 61 may be a high-speed RAM memory, a nonvolatile memory (NoN-volatile memory), or the like, or the memory 61 may be a memory array. The memory 61 may also be partitioned and the blocks may be combined into virtual volumes according to certain rules. The processor 62 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the traffic scheduling method of the disclosed content distribution network.
In one embodiment, the present disclosure provides a content distribution network system comprising: DNS servers, SMF, PCF, CDN central dispatch system and UPF in any of the embodiments described above.
In one embodiment, the present disclosure also provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement a method of traffic scheduling for a content distribution network as referred to in any of the above embodiments.
The service scheduling method, the UPF, the system and the storage medium of the content distribution network provided by the embodiment, the UPF acquires a DNS response packet returned by the DNS server to the terminal, and sends a detection message carrying an IP address in the DNS response packet to the PCF through the SMF; the UPF receives position information insertion strategy activation information sent by the SMF, and processes source address information in a DNS request sent by a terminal to the CDN center dispatching system based on the position information insertion strategy activation information so that the CDN center dispatching system determines address information of a CDN edge node server based on the DNS request; the PCF can decide whether to activate the position information insertion strategy based on the subscription information, and the position information insertion strategy is activated in the UPF so as to increase UPF position information in the DNS request; the CDN center dispatching system can determine the MEC service area where the user is located according to the UPF position information, and allocate CDN edge node servers for the terminal, so that the function of nearby local CDN node allocation is realized, and 5G CDN service with low time delay and high bandwidth is supported.
It will be apparent to those skilled in the art that embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing 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.
Thus far, the present disclosure has been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.
The methods and systems of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments were chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (15)

1. A method of traffic scheduling for a content delivery network, comprising:
the method comprises the steps that an edge user plane function UPF obtains a DNS response packet returned by a DNS server to a terminal, wherein the DNS response packet carries an IP address of a CDN center scheduling system of a content delivery network;
the edge UPF sends a detection message to a policy control function PCF through a session management function SMF; the detection message carries an IP address in the DNS response packet;
the edge UPF receives the position information insertion strategy activation information sent by the SMF;
if the position information insertion strategy is activated based on the position information insertion strategy activation information, the edge UPF establishes a packet detection rule PDR based on the IP address, and establishes a forwarding behavior rule FAR corresponding to the PDR based on the position information insertion strategy;
and the edge UPF acquires a DNS request sent by the terminal to the CDN center dispatching system, processes source address information in the DNS request based on the position information insertion strategy activation information, so that the CDN center dispatching system determines address information of a CDN edge node server corresponding to the terminal based on the DNS request and returns the address information to the terminal.
2. The method of claim 1, the processing the source address information in the DNS request based on the location information insertion policy activation information comprising:
and the edge UPF judges whether the DNS request contains the IP address based on the PDR, and if so, the edge UPF processes the source address information in the DNS request according to the FAR.
3. The method of claim 2, the processing the source address information in the DNS request according to the FAR comprising:
and replacing source address information in the DNS request by using preset UPF position information according to the FAR.
4. The method of claim 3, wherein the CDN center scheduling system determining address information of a server corresponding to the terminal based on the DNS request comprises:
the CDN center dispatching system obtains the edge UPF position information in the DNS request, determines an MEC service area based on the edge UPF position information, and obtains an address of a CDN edge node server serving as an MEC node in the MEC service area.
5. The method of claim 3, wherein,
the edge UPF location information includes: the public network IP address of the edge UPF or the ID number of the edge UPF.
6. The method of claim 1 wherein the PCF sends an npcf_smplicycorol_updatenotify request message to the SMF; the position information insertion strategy activation instruction is carried by a position replacement insertion field in the npcf_smplicycorol_updatenotify request message; the edge UPF receiving the location information insertion policy activation information sent by the SMF includes:
the edge UPF receives an N4 session modification request message sent by the SMF; the location information insertion policy activation indication is carried by a location replacement insertion field in the N4 session modification request message, and the location information replacement action indication is carried by a forwarding behavior rule field.
7. The method of claim 1, further comprising:
after receiving the DNS response packet, the terminal sends the DNS request to the CDN center dispatching system to obtain the address of a CDN edge node server; wherein the DNS request comprises an HTTP DNS request.
8. An edge user plane function UPF, comprising:
the system comprises a response acquisition module, a Content Delivery Network (CDN) center scheduling system and a response acquisition module, wherein the response acquisition module is used for acquiring a DNS response packet returned by a DNS server to a terminal, and the DNS response packet carries an address of the CDN center scheduling system;
the detection and transmission module is used for transmitting detection information to the policy control function PCF through the session management function SMF; the detection message carries an IP address in the DNS response packet;
the policy receiving module is used for receiving the position information insertion policy activation information sent by the SMF;
the policy activation module is used for establishing a packet detection rule PDR based on the IP address and establishing a forwarding behavior rule FAR corresponding to the PDR based on the location information insertion policy if the location information insertion policy is activated based on the location information insertion policy activation information after receiving the location information insertion policy activation information sent by the SMF;
the address processing module is used for acquiring a DNS request sent by the terminal to the CDN center dispatching system, processing source address information in the DNS request based on the position information insertion strategy activation information, so that the CDN center dispatching system determines address information of a CDN edge node server corresponding to the terminal based on the DNS request and returns the address information to the terminal.
9. The edge UPF of claim 8, wherein,
the address processing module comprises:
an analysis unit configured to determine, based on the PDR, whether the DNS request includes the IP address;
and the processing unit is used for processing the source address information in the DNS request according to the FAR if the source address information is the source address information.
10. The edge UPF of claim 9, wherein,
and the processing unit is further used for replacing the source address information in the DNS request by using preset UPF position information according to the FAR.
11. The edge UPF of claim 10, wherein,
the edge UPF location information includes: the public network IP address of the edge UPF or the ID number of the edge UPF.
12. The edge UPF of claim 8, wherein the PCF sends an npcf_smplicycorol_updatenotify request message to the SMF; the position information insertion strategy activation instruction is carried by a position replacement insertion field in the npcf_smplicycorol_updatenotify request message;
the policy receiving module is configured to receive an N4 session modification request message sent by the SMF; the location information insertion policy activation indication is carried by a location replacement insertion field in the N4 session modification request message, and the location information replacement action indication is carried by a forwarding behavior rule field.
13. An edge UPF, comprising:
a memory; and a processor coupled to the memory, the processor configured to perform the method of any of claims 1-7 based on instructions stored in the memory.
14. A content distribution network system, comprising:
DNS server, SMF, PCF, CDN central scheduling system and edge UPF according to any of claims 8 to 13.
15. A computer readable storage medium having stored thereon computer program instructions which, when executed by one or more processors, implement the steps of the method of any of claims 1 to 7.
CN202010651748.3A 2020-07-08 2020-07-08 Service scheduling method, UPF, system and medium of content distribution network Active CN113938814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010651748.3A CN113938814B (en) 2020-07-08 2020-07-08 Service scheduling method, UPF, system and medium of content distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010651748.3A CN113938814B (en) 2020-07-08 2020-07-08 Service scheduling method, UPF, system and medium of content distribution network

Publications (2)

Publication Number Publication Date
CN113938814A CN113938814A (en) 2022-01-14
CN113938814B true CN113938814B (en) 2024-01-30

Family

ID=79273427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010651748.3A Active CN113938814B (en) 2020-07-08 2020-07-08 Service scheduling method, UPF, system and medium of content distribution network

Country Status (1)

Country Link
CN (1) CN113938814B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297179B (en) * 2022-07-25 2024-03-08 天翼云科技有限公司 Data transmission method and device
CN115550372A (en) * 2022-09-15 2022-12-30 中国联合网络通信集团有限公司 Method, device, equipment and storage medium for determining service transmission strategy

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198307A (en) * 2019-05-10 2019-09-03 深圳市腾讯计算机系统有限公司 A kind of selection method of mobile edge calculations node, apparatus and system
CN110535930A (en) * 2019-08-22 2019-12-03 网宿科技股份有限公司 A kind of dispatching method and system of edge C DN node
CN110650165A (en) * 2018-06-27 2020-01-03 中国电信股份有限公司 Content distribution method and system based on user plane agent
CN111385369A (en) * 2018-12-28 2020-07-07 华为技术有限公司 Domain name server distribution method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10708716B2 (en) * 2018-10-16 2020-07-07 Cisco Technology, Inc. Methods and apparatus for selecting network resources for UE sessions based on locations of multi-access edge computing (MEC) resources and applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650165A (en) * 2018-06-27 2020-01-03 中国电信股份有限公司 Content distribution method and system based on user plane agent
CN111385369A (en) * 2018-12-28 2020-07-07 华为技术有限公司 Domain name server distribution method and device
CN110198307A (en) * 2019-05-10 2019-09-03 深圳市腾讯计算机系统有限公司 A kind of selection method of mobile edge calculations node, apparatus and system
CN110535930A (en) * 2019-08-22 2019-12-03 网宿科技股份有限公司 A kind of dispatching method and system of edge C DN node

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
S2- 2003709 KI #1, New Sol: IP address discovery- DNS handling in UPF;Tencent;SA WG2 Meeting #136-AH S2- 2003709;1-5 *

Also Published As

Publication number Publication date
CN113938814A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN110896355B (en) Network slice selection method and device
US20170142024A1 (en) Orchestrating physical and virtual resources for delivering digital contents
CN110769038B (en) Server scheduling method and device, storage medium and electronic equipment
CN111565404B (en) Data distribution method and device
CN110326345B (en) Method, device and system for configuring network slice
CN113596863B (en) Method, equipment and medium for determining user plane function and providing information
CN109803281B (en) Network service management method, equipment and system
CN111107171B (en) Security defense method and device for DNS (Domain name Server), communication equipment and medium
CN108632063B (en) Method, device and system for managing network slice instances
CN111885733B (en) Resource allocation method, device, storage medium and network equipment
CN107809776B (en) Information processing method, device and network system
CN113938814B (en) Service scheduling method, UPF, system and medium of content distribution network
CN107547665B (en) Method, equipment and system for allocating DHCP (dynamic host configuration protocol) address
US20170195242A1 (en) Management, by an intermediate device, of the quality of transmission of a data stream to a mobile terminal
CN109391669B (en) Service management method, device and storage medium
US11071012B2 (en) Base station, terminal, and wireless communication system
CN108574965B (en) Method and equipment for processing request
EP3291589A1 (en) Method and device for providing relay service
CN111050355B (en) Method, device and system for dynamically adjusting Qos of mobile terminal
CN110912742A (en) Slice management method, device and system
CN112825524B (en) Method, device and system for determining network service node
CN110830984B (en) Method, device, equipment and storage medium for routing QoS acceleration request message
WO2022001732A1 (en) Cdn scheduling method, access device, cdn scheduler, and storage medium
CN114513494A (en) Service scheduling method, system, storage medium and service system
CN110635927B (en) Node switching method, network node and network system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant