WO2017045438A1 - 一种移动网络决策cdn中缓存内容的方法、装置及系统 - Google Patents

一种移动网络决策cdn中缓存内容的方法、装置及系统 Download PDF

Info

Publication number
WO2017045438A1
WO2017045438A1 PCT/CN2016/084325 CN2016084325W WO2017045438A1 WO 2017045438 A1 WO2017045438 A1 WO 2017045438A1 CN 2016084325 W CN2016084325 W CN 2016084325W WO 2017045438 A1 WO2017045438 A1 WO 2017045438A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
cdn
cached
cache
mobile
Prior art date
Application number
PCT/CN2016/084325
Other languages
English (en)
French (fr)
Inventor
王军
韩波
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017045438A1 publication Critical patent/WO2017045438A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • 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
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Definitions

  • This application relates to, but is not limited to, the field of mobile communication technology.
  • the CDN Content Delivery Network
  • CDNs can be deployed in mobile networks to increase user access speed and reduce inter-network settlement costs for operators.
  • the cache capacity of the CDN is limited, so it is necessary to decide what to cache and maximize the revenue.
  • the cached content (US 8,799,480 B2) is determined by the traffic flowing through the CDN, which requires all traffic to be directed to the CDN network;
  • the content usage prediction information is provided to the CDN network by the external entity for deciding which content to cache (publication number CN101911687A "method and apparatus for distributing content").
  • This paper provides a method, device and system for buffering content in a mobile network decision CDN, and solves the problem that the buffer capacity of the CDN in the related art is limited.
  • a method for a mobile network to decide to cache content in a CDN comprising:
  • the mobile gateway performs statistics on the service traffic and service quality of the content returned by the source station in response to the content request of the mobile terminal;
  • the mobile gateway reports the statistical result obtained by the statistics to the service traffic analyzer, so that the service traffic analyzer determines whether the content needs to be cached according to the statistical result;
  • the mobile gateway After receiving the cache response of the content distribution network CDN, the mobile gateway acquires the cached content of the CDN from the CDN according to the new content request of the mobile terminal, and sends the acquired cached content to the mobile terminal.
  • the mobile gateway after receiving the cache response of the CDN, the mobile gateway requests to acquire the cached content of the CDN according to the new content of the mobile terminal, and sends the obtained cached content to the mobile terminal.
  • the mobile gateway After receiving the cache response of the CDN, the mobile gateway requests to acquire the cached content of the CDN according to the new content of the mobile terminal, and sends the obtained cached content to the mobile terminal.
  • the mobile gateway After the mobile gateway receives the cache response of the CDN, the mobile gateway receives the new content request sent by the mobile terminal;
  • the mobile gateway determines that the content of the new content request is consistent with the cached content in the CDN
  • the mobile gateway acquires the cached content of the CDN from the CDN, and sends the obtained cached content to the cached content.
  • the mobile terminal receives the cached content of the CDN from the CDN, and sends the obtained cached content to the cached content.
  • a method for a mobile network to decide to cache content in a CDN comprising:
  • the service traffic analyzer determines whether the content needs to be cached according to the statistics of the service traffic and the service quality of the content returned by the source station in response to the content request of the mobile terminal, and the statistical result is the service traffic. Received by the analyzer from the mobile gateway;
  • the content distribution network CDN is notified to obtain and cache the content from the source station.
  • the service traffic analyzer determines, according to the statistics sent by the mobile gateway, whether the content needs to be cached, including:
  • the service traffic analyzer compares the statistical result with a statistical threshold range, and determines whether the content needs to be cached;
  • the traffic flow analyzer determines that the content needs to be cached.
  • the CDN is notified when the traffic flow analyzer determines that the content needs to be cached.
  • Obtain and cache the content from the source station including:
  • the CDN acquires and caches the content from the source station according to the cached content url in the cache request, and sends the cached content url to the mobile gateway.
  • the method further includes: deleting the cached content in the CDN; and deleting the cached content in the CDN, including:
  • the mobile gateway forwards the cached content url to the mobile terminal, performing new statistics on service traffic and quality of service of the content returned by the CDN in response to the new content request of the mobile terminal;
  • the mobile gateway reports the new statistical result of the service traffic and the quality of service to the service traffic analyzer;
  • the service traffic analyzer compares the new statistical result with the statistical threshold range, and determines whether the content needs to be deleted;
  • the traffic flow analyzer determines to delete the cached content in the CDN.
  • An apparatus for buffering content in a mobile network decision CDN is disposed in a mobile gateway, where the apparatus includes:
  • the statistics module is configured to: perform statistics on service traffic and service quality of the content returned by the source station in response to the content request of the mobile terminal;
  • the reporting module is configured to: report the statistical result obtained by the statistics module to the service traffic analyzer, so that the service traffic analyzer determines whether the content needs to be cached according to the statistical result;
  • the obtaining and forwarding module is configured to: after the mobile gateway receives the cache response of the content distribution network CDN, obtain the cached content of the CDN from the CDN according to the new content request of the mobile terminal, and obtain the obtained The cached content is sent to the mobile terminal.
  • An apparatus for buffering content in a mobile network decision CDN is disposed in a service traffic analyzer, and the device includes:
  • the decision module is configured to: determine, according to the statistical result of the service traffic and the service quality of the content returned by the source station in response to the content request of the mobile terminal sent by the mobile gateway, whether the content needs to be cached, and the statistical result is Received by the traffic analyzer from the mobile gateway;
  • the notification cache module is configured to: when the decision module determines that the content needs to be cached, notify the content distribution network CDN to obtain and cache the content from the source station.
  • a mobile network decision system for caching content in a CDN comprising:
  • the statistical device is configured to: perform statistics on service traffic and service quality of the content returned by the source station in response to the content request of the mobile terminal;
  • the cache decision device is configured to: determine, according to the statistical result obtained by the statistical device, whether the content needs to be cached;
  • Cache the content device configured to: when the cache decision device determines that the content needs to be cached, notify the content distribution network CDN to acquire and cache the content from the source station;
  • Obtaining the cache content device configured to: after the content is cached by the CDN, return the content of the CDN cache according to the new content request of the mobile terminal forwarded by the mobile gateway.
  • the device further includes: deleting the cached content device, the method is: deleting the cached content in the CDN, and the deleting the cached content device includes:
  • a statistical unit configured to: after the mobile gateway forwards the cached content to the mobile terminal, perform new statistics on service traffic and service quality of the content returned by the CDN in response to the new content request of the mobile terminal;
  • the reporting unit is configured to: report, by the mobile gateway, the new statistical result of the service traffic and the quality of service to the service traffic analyzer;
  • a decision unit configured to: compare the new statistical result with a statistical threshold range, and determine whether the content needs to be deleted;
  • And deleting the unit configured to: when the statistical result is less than a minimum value of the statistical threshold range, the traffic flow analyzer determines to delete the cached content in the CDN.
  • the embodiment of the invention adds a feedback mechanism, and the mobile gateway can use the cached effect (split ratio)
  • the example, service quality, etc. are fed back to the cache content decision unit (service traffic analyzer), and the cache content decision unit uses the history and the latest feedback information to make new decisions and gradually approach the optimal cache strategy.
  • FIG. 1 is a first flowchart of a method for buffering content in a mobile network decision CDN according to an embodiment of the present invention
  • FIG. 2 is a second flowchart of a method for buffering content in a mobile network decision CDN according to an embodiment of the present invention
  • FIG. 3 is a first schematic diagram of an apparatus for buffering content in a mobile network decision CDN according to an embodiment of the present invention
  • FIG. 4 is a second schematic diagram of an apparatus for buffering content in a mobile network decision CDN according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a system for buffering content in a mobile network decision CDN according to an embodiment of the present invention
  • FIG. 6 is a closed loop control diagram of a mobile gateway, a traffic flow analyzer, and a CDN according to a first embodiment of the present invention
  • FIG. 7 is a closed loop control diagram of a mobile gateway, a traffic flow analyzer, and a CDN according to a second embodiment of the present invention.
  • FIG. 8 is a closed loop control diagram of a mobile gateway, a traffic flow analyzer, and a CDN according to a third embodiment of the present invention.
  • FIG. 9 is a flowchart of a closed loop control of a cache decision when a user visits a website according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a closed loop control for deleting a decision when a user visits a website according to an embodiment of the present invention.
  • FIG. 1 is a first flowchart of a method for buffering content in a mobile network decision CDN according to an embodiment of the present invention. As shown in FIG. 1 , the mobile gateway in this embodiment may perform steps 101 to 103:
  • Step 101 The mobile gateway performs statistics on the service traffic and service quality of the content returned by the source station in response to the content request of the mobile terminal.
  • Step 102 The mobile gateway reports the statistical result obtained by the statistics to the service traffic analyzer, so that the service traffic analyzer determines whether the content needs to be cached according to the statistical result.
  • Step 103 After receiving the cache response of the CDN, the mobile gateway acquires the cached content of the CDN from the CDN according to the new content request of the mobile terminal, and sends the obtained cached content to the mobile terminal.
  • the mobile gateway after the mobile gateway receives the cache response of the CDN, requesting to acquire the cached content of the CDN according to the new content of the mobile terminal, and sending the obtained cached content to the mobile terminal, includes: After the mobile gateway receives the cache response of the CDN, the mobile gateway receives a new content request sent by the mobile terminal; the mobile gateway is configured according to a url (Uniform Resource Locator) included in the new content request. Determining whether the content of the new content request is consistent with the cached content in the CDN; when the mobile network determines that the content of the new content request is consistent with the cached content in the CDN, the mobile gateway Obtaining the cached content of the CDN from the CDN, and transmitting the obtained cached content to the mobile terminal.
  • url Uniform Resource Locator
  • FIG. 2 is a second flowchart of a method for buffering content in a mobile network decision CDN according to an embodiment of the present invention.
  • the service traffic analyzer in this embodiment may perform step 201 to step 202:
  • Step 201 The service traffic analyzer responds to the source station according to the mobile gateway, and responds to the mobile terminal. And a statistical result of the service traffic and the quality of service of the content returned by the request, determining whether the content needs to be cached, and the statistical result is received by the service traffic analyzer from the mobile gateway;
  • Step 202 When the service traffic analyzer determines that the content needs to be cached, notify the CDN to acquire and cache the content from the source station.
  • the service traffic analyzer determines, according to the statistics sent by the mobile gateway, whether the content needs to be cached, the service traffic analyzer compares the statistical result with a statistical threshold range, and determines the Whether the content needs to be cached; when the statistical result is greater than the maximum value of the statistical threshold range, the traffic flow analyzer determines that the content needs to be cached.
  • notifying the CDN to acquire and cache the content from the source station includes: when the traffic flow analyzer determines that the content needs to be cached, to the CDN Sending a cache request containing a cached content url; the CDN acquires and caches the content from the source station according to the cached content url in the cache request, and sends the cached content url to the mobile gateway.
  • the embodiment of the present invention further includes deleting the cached content in the CDN, where the deleting may include: after the mobile gateway forwards the cached content url to the mobile terminal, responding to the CDN A new statistic is performed on the service traffic and the QoS of the content returned by the new content request of the mobile terminal; the mobile gateway reports the new statistic result of the service traffic and the QoS to the service traffic analyzer; the service The traffic analyzer compares the new statistical result with the statistical threshold range, and determines whether the content needs to be deleted; when the statistical result is less than a minimum value of the statistical threshold range, the traffic flow analyzer The decision deletes the cached content in the CDN.
  • the method for buffering content in a mobile network decision CDN includes:
  • the CDN is notified to obtain and cache the content from the source station;
  • FIG. 3 is a first schematic diagram of a device for buffering content in a mobile network decision CDN according to an embodiment of the present invention.
  • a device for buffering content in a mobile network decision CDN is disposed in the mobile gateway, as shown in FIG.
  • the device includes: a statistic module 301, configured to: perform statistics on service traffic and quality of service of the content returned by the source station in response to the content request of the mobile terminal; the reporting module 302 is configured to: obtain statistics from the statistics module The result is reported to the service traffic analyzer, so that the service traffic analyzer determines whether the content needs to be cached according to the statistical result; and the obtaining and forwarding module 303 is configured to: when the mobile gateway receives the cache response of the CDN, And acquiring, according to the new content request of the mobile terminal, the cached content of the CDN from the CDN, and sending the obtained cached content to the mobile terminal.
  • a statistic module 301 configured to: perform statistics on service traffic and quality of service of the content returned by the source station in response to the content request of the mobile terminal
  • the reporting module 302 is configured to: obtain statistics from the statistics module The result is reported to the service traffic analyzer, so that the service traffic analyzer determines whether the content needs to be cached according to the statistical result
  • FIG. 4 is a second schematic diagram of a device for buffering content in a mobile network decision CDN according to an embodiment of the present invention.
  • a device for buffering content in a mobile network decision CDN is disposed in the service traffic analyzer, as shown in FIG. 4 .
  • the method includes: a decision module 401, configured to: determine, according to a statistical result of service traffic and quality of service of the content returned by the source station in response to the content request of the mobile terminal, whether the content needs to be cached, The statistical result is received by the service traffic analyzer from the mobile gateway; the notification cache module 402 is configured to: when the decision module determines that the content needs to be cached, notify the CDN to obtain and cache the source station Said content.
  • FIG. 5 is a schematic diagram of a system for buffering content in a mobile network decision CDN according to an embodiment of the present invention. As shown in FIG. 5, the method includes: a statistical device 501 configured to: return a response after a source station responds to a content request of a mobile terminal.
  • the cache decision device 502 is configured to: determine whether the content needs to be cached according to the statistical result obtained by the statistical device; and the cache content device 503 is configured to: when the cache decision When it is determined that the content needs to be cached, the CDN is notified to obtain and cache the content from the source station; and the cached content device 504 is configured to: after the content is cached by the CDN, the mobile terminal that is forwarded according to the mobile gateway A new content request returns the content of the CDN cache.
  • the cache decision apparatus 502 includes: a comparison unit, configured to: report, by the mobile gateway, a statistical result of service traffic and quality of service to a traffic analyzer, and the traffic analyzer analyzes the statistics The result is compared with the statistical threshold range, and whether the content needs to be determined
  • the cache decision unit is configured to: when the statistical result is greater than the maximum value of the statistical threshold range, the traffic flow analyzer determines that the content needs to be cached.
  • the cache content device 503 includes: a cache content requesting unit, configured to: when the service traffic analyzer determines that the content needs to be cached, send a cache request including the cache content url to the CDN; and cache the content unit, The method is: the CDN acquires and caches the content from the source station according to the cached content url in the cache request, and sends the cached content url to the mobile gateway.
  • the obtaining cache content device 504 includes: a receiving unit, configured to: after the buffering the content, the mobile gateway receives a new content request sent by the mobile terminal; and the determining unit is configured to: the mobile gateway according to the new content The url included in the request determines whether the content of the new content request of the mobile terminal is consistent with the cached content in the CDN; and the cached content unit is configured to: when determining the content of the new content requested by the mobile terminal and the cache in the CDN When the content is consistent, the mobile gateway forwards the new content request of the mobile terminal to the CDN, and the CDN sends the cached content to the mobile terminal.
  • the present invention further includes deleting the cached content device, configured to: delete the cached content in the CDN
  • the deleting the cached content device includes: a statistics unit, configured to: forward, by the mobile gateway, the cached content After the mobile terminal, performing new statistics on the service traffic and the service quality of the content returned by the CDN in response to the new content request of the mobile terminal;
  • the reporting unit is configured to: the mobile gateway uses the service traffic and the service The new statistical result of the service quality is reported to the service traffic analyzer;
  • the decision unit is configured to: the service traffic analyzer compares the new statistical result with a statistical threshold range, and determines whether the content needs to be deleted.
  • deleting the unit configured to: when the statistical result is less than a minimum value of the statistical threshold range, the traffic flow analyzer determines to delete the cached content in the CDN.
  • the closed-loop feedback of the mobile gateway, the traffic flow analyzer, and the CDN network can more effectively dynamically determine the CDN cache content.
  • the above three modules can be configured in combination or in separate configurations.
  • FIG. 6 shows a mobile gateway, a traffic flow analyzer, and a CDN closed-loop control diagram according to the first embodiment of the present invention.
  • the mobile gateway 601, the traffic flow analyzer 602, and the CDN 603 are shown. Both are independently set up, where the content analyzer can be integrated in the UBAS (User Behavior Analysis System).
  • UBAS User Behavior Analysis System
  • the interface between the components is as follows: the data interface T101 between the mobile terminal 604 and the mobile gateway 601 is used to transfer user service data between the mobile terminal 604 and the mobile gateway 601; the data interface T102 between the mobile gateway 601 and the CDN 603 For transmitting the user request sent by the mobile gateway 601 to the CDN 603 and the cache data sent by the CDN 603 to the mobile gateway 601; the data interface T103 between the content source 605 (such as a website) and the mobile gateway 601 for transmitting the content source 605 and moving User service data between the gateway 601; a data interface T104 between the content source 605 (such as a website) and the CDN 603, for transmitting the service data acquired by the CDN 603 from the content source 605; between the mobile gateway 601 and the service traffic analyzer 602
  • the signaling interface S101 is used by the mobile gateway 601 to report the information (such as service traffic, offload ratio, quality of service, etc.) of the analyzer to the traffic analyzer 602; the signaling
  • FIG. 7 shows a mobile gateway, a traffic analyzer, and a CDN closed-loop control diagram according to a second embodiment of the present invention.
  • a traffic analyzer 702 is built in the mobile gateway 701, and the mobile gateway 701 makes a cache decision.
  • the CDN 703 is requested to perform caching. Since the traffic analyzer 702 and the mobile gateway 701 are in the same component, the S101 interface between them is actually an internal interface, and the S101 interface is omitted in FIG.
  • the interfaces between the other components are as follows: a data interface T101 between the mobile terminal 704 and the mobile gateway 701 for transmitting user service data between the mobile terminal 704 and the mobile gateway 701; a data interface between the mobile gateway 701 and the CDN 703 T102, for transmitting the user request sent by the mobile gateway 701 to the CDN 703 and the cache data sent by the CDN 703 to the mobile gateway 701; the data interface T103 between the content source 705 (such as a website) and the mobile gateway 701, for transmitting the content source 705 and The user service data between the mobile gateways 701; the data interface T104 between the content source 705 (such as a website) and the CDN 703, for transmitting the service data acquired by the CDN 703 from the content source 705; the service traffic analyzer 702 built in the mobile gateway 701 and The signaling interface S102 between the CDNs 703 is used by the traffic traffic analyzer 702 to send a buffer/delete request to the CDN 703, and the CDN 703 not
  • FIG. 8 is a diagram showing a mobile gateway, a traffic analyzer, and a CDN closed-loop control diagram according to a third embodiment of the present invention.
  • the traffic analyzer 802 and the CDN 803 are both built in the mobile gateway 801, and the closed loop is controlled in the mobile gateway. 801 is completed internally. Since the service traffic analyzer 802 and the CDN 803 are all built in the mobile gateway 801, the S101, S102, S103, and T102 interfaces are actually internal interfaces, and the S101, S102, S103, and T102 interfaces are omitted in FIG. 8; the T104 and the T103 share the mobile.
  • the interface between other components is as follows: a data interface T101 between the mobile terminal 804 and the mobile gateway 801 for transmitting user service data between the mobile terminal 804 and the mobile gateway 801; a content source 805 (such as a website) and a mobile gateway
  • the data interface T103 between the 801 is used to transfer the user service data between the content source 805 and the mobile gateway 801; the data interface T104 between the content source 805 (such as a website) and the CDN 803 built in the mobile gateway 801 is used to transmit the CDN803.
  • FIG. 9 is a flowchart of a closed loop control of a cache decision when a user accesses a website according to an embodiment of the present invention. As shown in FIG. 9, the method includes the following steps 901 to 917:
  • Step 901 The mobile gateway receives the http content request of the mobile terminal, and the mobile gateway identifies the url in the request as the url of interest, analyzes the service type, and collects the statistics into the corresponding access count.
  • Step 902 The mobile gateway forwards the content request in step 901 to the corresponding source station (also referred to as a content source).
  • the corresponding source station also referred to as a content source.
  • Step 903 The mobile gateway receives a content response returned by the source station according to the content request.
  • Step 904 The mobile gateway performs statistics on service traffic and quality of service in the content response.
  • Step 905 The mobile gateway forwards the content response received in step 903 to the mobile terminal.
  • Step 906 The mobile gateway reports the statistical information such as the service traffic and the service quality to the service traffic analyzer.
  • Step 907 The traffic flow analyzer determines that the content needs to be cached.
  • Step 908 The traffic analyzer analyzes the cache request to the CDN.
  • Step 909 The CDN starts to cache the content specified by the url in the request.
  • Step 910 After the CDN completes the cache, the address of the cache server and the url of the cached content are marked, and the cache response is brought to the mobile gateway.
  • Step 911 The mobile gateway records the cache information (cache server address, etc.).
  • Step 912 The mobile terminal user/new mobile terminal user http content request accesses the foregoing url.
  • Step 913 The mobile gateway determines that the corresponding content has been cached, and forwards the content request to the corresponding CDN cache server.
  • Step 914 The content response received by the mobile gateway from the CDN cache server.
  • Step 915 The mobile gateway forwards the received content response to the mobile terminal.
  • Step 916 The mobile gateway performs statistics on the service traffic and the quality of service in the response, and obtains a new statistical result.
  • Step 917 The mobile gateway reports the new statistics (service traffic and service quality, etc.) to the traffic analyzer to complete a closed loop feedback.
  • the mobile gateway reports information including, but not limited to, service traffic and quality of service to a traffic analyzer (such as UBAS); the traffic analyzer analyzes the content of the mobile terminal by traffic. Synthesizing the content, selecting the content that needs to be cached or releasing the cache; the service traffic analyzer notifies the determined cached content to the CDN through an interface with the CDN (such as the icap protocol), and notifies the mobile gateway address that needs the CDN service; After completing the cache, the CDN advertises the cached result to the mobile gateway and the traffic traffic analyzer; when the mobile gateway processes the new user access request and determines that the accessed content has been cached, the mobile terminal requests the route to the CDN server, and the new The statistical results are reported to the traffic analyzer to complete a closed loop control.
  • a traffic analyzer such as UBAS
  • the traffic analyzer analyzes the content of the mobile terminal by traffic. Synthesizing the content, selecting the content that needs to be cached or releasing the cache; the service traffic analyzer notifies
  • CDN what is cached by the CDN is not only limited by the service traffic analyzer, but also cached according to the predefined configuration, and the cached result is actively advertised to the associated mobile gateway and service traffic analyzer.
  • FIG. 10 is a flowchart showing a closed loop control of a deletion decision when a user visits a website according to an embodiment of the present invention. As shown in FIG. 10, the method includes the following steps 1001 to 1021:
  • Step 1001 The mobile gateway receives the http content request of the mobile terminal, and the mobile gateway identifies the url in the request as the url of interest, analyzes the service type, and collects the statistics into the corresponding access count.
  • Step 1002 The mobile gateway forwards the content request in step 1001 to the corresponding source station.
  • Step 1003 The mobile gateway receives a content response returned by the source station according to the content request.
  • Step 1004 The mobile gateway performs statistics on service traffic and quality of service in the content response.
  • Step 1005 The mobile gateway forwards the content response received in step 1003 to the mobile terminal.
  • Step 1006 The mobile gateway reports the statistical information such as the service traffic and the service quality to the service traffic analyzer.
  • Step 1007 The traffic flow analyzer determines that the content needs to be cached.
  • Step 1008 The traffic analyzer analyzes the cache request to the CDN.
  • step 1009 the CDN starts to cache the content specified by the url in the request.
  • Step 1010 After the CDN completes the cache, the address of the cache server and the url of the cached content are marked, and the cache response is brought to the mobile gateway.
  • Step 1011 The mobile gateway records the cache information (cache server address, etc.).
  • Step 1012 The mobile terminal user/new mobile terminal user http content request accesses the foregoing url.
  • Step 1013 The mobile gateway determines that the corresponding content has been cached, and forwards the request to the corresponding CDN cache server.
  • Step 1014 The content response received by the mobile gateway from the CDN cache server.
  • Step 1015 The mobile gateway forwards the received content response to the mobile terminal.
  • Step 1016 The mobile gateway performs statistics on the service traffic and the service quality in the response, and obtains new statistics.
  • Step 1017 The mobile gateway reports the new statistics information (service traffic, service quality, and the like) to the service traffic analyzer to complete a closed loop feedback.
  • Step 1018 The traffic flow analyzer determines that the cached content needs to be deleted.
  • Step 1019 The traffic flow analyzer sends a delete request to the CDN.
  • step 1020 the CDN starts deleting the content specified by the url in the request.
  • Step 1021 After the CDN completes the deletion, the url indication of the deleted content is brought to the mobile gateway by the deletion response.
  • the http application is taken as an example (but the scope of application of the present invention is not limited to the http application): 1.
  • the mobile terminal accesses a website by inputting a domain name, and the http request message sent by the mobile terminal is transmitted to the mobile gateway, and the mobile gateway recognizes the request.
  • the url is the url of interest, analyzes its business type, and performs statistics; 2.
  • the mobile gateway receives the response requested in 1, analyzes the source (source station or CDN) and The packet is counted in the access count of the corresponding service type, and the packet is forwarded to the mobile terminal. 3.
  • the mobile gateway reports the statistical result to the service traffic analyzer in time/real time; 4.
  • the service traffic analyzer determines the content to be cached/deleted, sends the request cache/delete request and the gateway address to the CDN; 5.
  • the CDN completes 4 After the requested action, the mobile gateway is notified of the execution result; 6.
  • the mobile terminal user/new mobile terminal user http requests access to the url, and the packet is forwarded to the source station or the CDN according to the cached result, and the statistics and report to the service are performed.
  • Traffic Analyzer The service traffic analyzer determines a new caching policy based on the latest service traffic/quality of service information and history (for example, the quality of the service after the cache is degraded, the cache can be deleted), and completes a round of closed-loop feedback.
  • a feedback mechanism is added, and the cached effect can be fed back to the service traffic analyzer, and the service traffic analyzer uses the history and the latest feedback information to make a new decision, and gradually approaches the optimal cache strategy.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the mobile gateway can perform the cached effect (for example, The shunting ratio and quality of service are fed back to the cached content decision unit (traffic traffic analyzer), and the traffic flow analyzer element makes historical decisions and the latest feedback information to make new decisions, and gradually approaches the optimal caching strategy.
  • the cached content decision unit traffic traffic analyzer
  • the traffic flow analyzer element makes historical decisions and the latest feedback information to make new decisions, and gradually approaches the optimal caching strategy.

Landscapes

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

Abstract

一种移动网络决策CDN中缓存内容的方法、装置及系统,该系统包括:统计装置设置为:对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;缓存决策装置设置为:根据统计结果决策内容是否需要进行缓存;缓存内容装置设置为:当决策出内容需要缓存时,通知CDN从源站中获取并缓存内容;获取缓存内容装置设置为:在CDN缓存内容后,根据移动网关转发的移动终端的新内容请求,返回该CDN缓存的内容。

Description

一种移动网络决策CDN中缓存内容的方法、装置及系统 技术领域
本申请涉及但不限于移动通信技术领域。
背景技术
CDN(Content Delivery Network,内容分发网络)是为了分担源站负荷,缩短网络路径长度的技术。在移动网中可以部署CDN以提高用户访问速度,并减少运营商的网间结算成本。路由到CDN的流量在总流量中的占比越大,则效果越好,收益越大。但是CDN的缓存容量是有限的,因此需要决策缓存哪些内容,收益最大。
相关技术的决策缓存内容的方法如下:
通过预定义表单信息(公开号103685551A“更新CDN缓存文件的方法和装置”)来指定缓存内容;
通过流经CDN的流量来决策缓存内容(US 8,799,480 B2),这需要将所有流量先导向CDN网络;
通过外部实体提供内容使用情况预测信息给CDN网络,用于决策缓存哪些内容(公开号CN101911687A“用于分发内容的方法和装置”)。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提供一种移动网络决策CDN中缓存内容的方法、装置及系统,解决了相关技术中CDN的缓存容量有限的问题。
一种移动网络决策CDN中缓存内容的方法,包括:
移动网关对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
所述移动网关将统计得到的统计结果上报给业务流量分析器,以便所述业务流量分析器根据所述统计结果决策所述内容是否需要进行缓存;
当所述移动网关接收到内容分发网络CDN的缓存响应后,根据所述移动终端的新内容请求从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
可选地,所述当所述移动网关接收到CDN的缓存响应后,根据所述移动终端的新内容请求获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端,包括:
当所述移动网关接收到所述CDN的缓存响应后,所述移动网关接收所述移动终端发送的所述新内容请求;
所述移动网关根据所述新内容请求中包含的统一资源定位符url,确定所述新内容请求的内容是否与所述CDN中的缓存内容一致;
当所述移动网关确定所述新内容请求的内容与所述CDN中的缓存内容一致时,所述移动网关从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
一种移动网络决策CDN中缓存内容的方法,包括:
业务流量分析器根据移动网关发送的对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量的统计结果,决策所述内容是否需要进行缓存,所述统计结果为所述业务流量分析器从所述移动网关接收的;
当所述业务流量分析器决策出所述内容需要缓存时,通知内容分发网络CDN从源站中获取并缓存所述内容。
可选地,所述业务流量分析器根据移动网关发送的统计结果,决策所述内容是否需要进行缓存,包括:
所述业务流量分析器将所述统计结果与统计阈值范围进行比对,决策所述内容是否需要进行缓存;
当所述统计结果大于所述统计阈值范围的最大值时,所述业务流量分析器决策所述内容需要缓存。
可选地,当所述业务流量分析器决策出所述内容需要缓存时,通知CDN 从源站中获取并缓存所述内容,包括:
当所述业务流量分析器决策出所述内容需要缓存时,向所述CDN发送包含缓存内容统一资源定位符url的缓存请求;
所述CDN根据缓存请求中的缓存内容url,从所述源站中获取并缓存所述内容,并将所述缓存内容url发送给所述移动网关。
可选地,所述方法还包括:删除所述CDN中的缓存内容;所述删除所述CDN中的缓存内容,包括:
所述移动网关将所述缓存内容url转发给所述移动终端后,对所述CDN响应所述移动终端的新内容请求后返回的内容的业务流量和服务质量进行新统计;
所述移动网关将所述业务流量和所述服务质量的新统计结果上报给所述业务流量分析器;
所述业务流量分析器将所述新统计结果与所述统计阈值范围进行比对,决策所述内容是否需要进行删除;
当所述统计结果小于所述统计阈值范围的最小值时,所述业务流量分析器决策将所述CDN中的缓存内容删除。
一种移动网络决策CDN中缓存内容的装置,设置于移动网关中,所述装置包括:
统计模块,设置为:对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
上报模块,设置为:将所述统计模块得到的统计结果上报给业务流量分析器,以便所述业务流量分析器根据所述统计结果决策所述内容是否需要进行缓存;
获取及转发模块,设置为:当所述移动网关接收到内容分发网络CDN的缓存响应后,根据所述移动终端的新内容请求从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
一种移动网络决策CDN中缓存内容的装置,设置于业务流量分析器中,所述装置包括:
决策模块,设置为:根据移动网关发送的对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量的统计结果,决策所述内容是否需要进行缓存,所述统计结果为所述业务流量分析器从所述移动网关接收的;
通知缓存模块,设置为:当所述决策模块决策出所述内容需要缓存时,通知内容分发网络CDN从源站中获取并缓存所述内容。
一种移动网络决策CDN中缓存内容的系统,包括:
统计装置,设置为:对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
缓存决策装置,设置为:根据所述统计装置得到的统计结果,决策所述内容是否需要进行缓存;
缓存内容装置,设置为:当所述缓存决策装置决策出所述内容需要缓存时,通知内容分发网络CDN从源站中获取并缓存所述内容;
获取缓存内容装置,设置为:在所述CDN缓存所述内容后,根据移动网关转发的所述移动终端的新内容请求,返回所述CDN缓存的内容。
可选地,还包括删除缓存内容装置,设置为:删除所述CDN中的缓存内容,所述删除缓存内容装置包括:
统计单元,设置为:所述移动网关将所述缓存内容转发给所述移动终端后,对所述CDN响应所述移动终端的新内容请求后返回的内容的业务流量和服务质量进行新统计;
上报单元,设置为:所述移动网关将所述业务流量和所述服务质量的新统计结果上报给所述业务流量分析器;
决策单元,设置为:所述业务流量分析器将所述新统计结果与统计阈值范围进行比对,决策所述内容是否需要进行删除;
删除单元,设置为:当所述统计结果小于所述统计阈值范围的最小值时,所述业务流量分析器决策将所述CDN中的缓存内容删除。
与相关技术相比较,本发明实施例的有益效果在于:
本发明实施例增加了反馈机制,移动网关可以将缓存后的效果(分流比 例、服务质量等)反馈给缓存内容决策单元(业务流量分析器),缓存内容决策单元利用历史和最新反馈信息进行新的决策,逐步逼近最优缓存策略。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是本发明实施例提供的一种移动网络决策CDN中缓存内容的方法第一流程图;
图2是本发明实施例提供的一种移动网络决策CDN中缓存内容的方法第二流程图;
图3是本发明实施例提供的一种移动网络决策CDN中缓存内容的装置第一示意图;
图4是本发明实施例提供的一种移动网络决策CDN中缓存内容的装置第二示意图;
图5是本发明实施例提供的一种移动网络决策CDN中缓存内容的系统示意图;
图6是本发明第一实施例提供的移动网关、业务流量分析器与CDN闭环控制图;
图7是本发明第二实施例提供的移动网关、业务流量分析器与CDN闭环控制图;
图8是本发明第三实施例提供的移动网关、业务流量分析器与CDN闭环控制图;
图9是本发明实施例提供的用户访问网站时缓存决策的闭环控制流程图;
图10是本发明实施例提供的用户访问网站时删除决策的闭环控制流程图。
本发明的实施方式
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本文中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
图1显示了本发明实施例提供的一种移动网络决策CDN中缓存内容的方法第一流程图,如图1所示,本实施例中的移动网关可以执行步骤101~步骤103:
步骤101:移动网关对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
步骤102:所述移动网关将统计得到的统计结果上报给业务流量分析器,以便所述业务流量分析器根据所述统计结果决策所述内容是否需要进行缓存;
步骤103:当所述移动网关接收到CDN的缓存响应后,根据所述移动终端的新内容请求从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
可选地,所述当所述移动网关接收到CDN的缓存响应后,根据移动终端的新内容请求获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端,包括:当所述移动网关接收到所述CDN的缓存响应后,所述移动网关接收移动终端发送的新内容请求;所述移动网关根据所述新内容请求中包含的url(Uniform Resource Locator,统一资源定位符),确定所述新内容请求的内容是否与所述CDN中的缓存内容一致;当所述移动网确定所述新内容请求的内容与所述CDN中的缓存内容一致时,所述移动网关从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
图2显示了本发明实施例提供的一种移动网络决策CDN中缓存内容的方法第二流程图,如图2所示,本实施例中的业务流量分析器可以执行步骤201~步骤202:
步骤201:业务流量分析器根据移动网关发送的对源站响应移动终端内 容请求而返回的内容的业务流量和服务质量的统计结果,决策所述内容是否需要进行缓存,所述统计结果为所述业务流量分析器从所述移动网关接收的;
步骤202:当所述业务流量分析器决策出所述内容需要缓存时,通知CDN从源站中获取并缓存所述内容。
可选地,所述业务流量分析器根据移动网关发送的统计结果,决策所述内容是否需要进行缓存包括:所述业务流量分析器将所述统计结果与统计阈值范围进行比对,决策所述内容是否需要进行缓存;当所述统计结果大于统计阈值范围的最大值时,所述业务流量分析器决策所述内容需要缓存。当所述业务流量分析器决策出所述内容需要缓存时,通知CDN从源站中获取并缓存所述内容包括:当所述业务流量分析器决策出所述内容需要缓存时,向所述CDN发送包含缓存内容url的缓存请求;所述CDN根据缓存请求中的缓存内容url,从所述源站中获取并缓存所述内容,并将所述缓存内容url发送给所述移动网关。
可选地,本发明实施例还包括删除所述CDN中的缓存内容,删除的方式可以包括:所述移动网关将所述缓存内容url转发给所述移动终端后,对所述CDN响应所述移动终端的新内容请求后返回的内容的业务流量和服务质量进行新统计;所述移动网关将所述业务流量和所述服务质量的新统计结果上报给所述业务流量分析器;所述业务流量分析器将所述新统计结果与所述统计阈值范围进行比对,决策所述内容是否需要进行删除;当所述统计结果小于所述统计阈值范围的最小值时,所述业务流量分析器决策将所述CDN中的缓存内容删除。
综上所述,本发明实施例的移动网络决策CDN中缓存内容的方法包括:
1、对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
2、根据统计得到的统计结果,决策所述内容是否需要进行缓存;
3、当决策所述内容需要缓存时,通知CDN从源站中获取并缓存所述内容;
4、在缓存所述内容后,根据移动网关转发的移动终端的新内容请求,返 回CDN缓存的内容。
图3显示了本发明实施例提供的一种移动网络决策CDN中缓存内容的装置第一示意图,本实施例中移动网络决策CDN中缓存内容的装置设置于所述移动网关中,如图3所示,所述装置包括:统计模块301,设置为:对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;上报模块302,设置为:将所述统计模块得到的统计结果上报给业务流量分析器,以便所述业务流量分析器根据所述统计结果决策所述内容是否需要进行缓存;获取及转发模块303,设置为:当所述移动网关接收到CDN的缓存响应后,根据所述移动终端的新内容请求从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
图4显示了本发明实施例提供的一种移动网络决策CDN中缓存内容的装置第二示意图,本实施例中移动网络决策CDN中缓存内容的装置设置于所述业务流量分析器中,如图4所示,包括:决策模块401,设置为:根据移动网关发送的对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量的统计结果,决策所述内容是否需要进行缓存,所述统计结果为所述业务流量分析器从所述移动网关接收的;通知缓存模块402,设置为:当所述决策模块决策出所述内容需要缓存时,通知CDN从源站中获取并缓存所述内容。
图5显示了本发明实施例提供的一种移动网络决策CDN中缓存内容的系统示意图,如图5所示,包括:统计装置501,设置为:对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;缓存决策装置502,设置为:根据所述统计装置得到的统计结果,决策所述内容是否需要进行缓存;缓存内容装置503,设置为:当所述缓存决策装决策出所述内容需要缓存时,通知CDN从源站中获取并缓存所述内容;获取缓存内容装置504,设置为:在所述CDN缓存所述内容后,根据移动网关转发的移动终端的新内容请求,返回所述CDN缓存的内容。
可选地,所述缓存决策装置502包括:比对单元,设置为:所述移动网关将业务流量和服务质量的统计结果上报给业务流量分析器,以及所述业务流量分析器将所述统计结果与统计阈值范围进行比对,决策所述内容是否需 要进行缓存;缓存决策单元,设置为:当所述统计结果大于所述统计阈值范围的最大值时,所述业务流量分析器决策所述内容需要缓存。所述缓存内容装置503包括:发送缓存内容请求单元,设置为:当所述业务流量分析器决策出所述内容需要缓存时,向所述CDN发送包含缓存内容url的缓存请求;缓存内容单元,设置为:所述CDN根据缓存请求中的缓存内容url,从所述源站中获取并缓存所述内容,并将所述缓存内容url发送给所述移动网关。所述获取缓存内容装置504包括:接收单元,设置为:在所述缓存所述内容后,移动网关接收移动终端发送的新内容请求;确定单元,设置为:所述移动网关根据所述新内容请求中包含的url,确定所述移动终端的新内容请求的内容是否与CDN中的缓存内容一致;获取缓存内容单元,设置为:当确定所述移动终端新内容请求的内容与CDN中的缓存内容一致时,所述移动网关将移动终端的新内容请求转发给所述CDN,由CDN将缓存内容发送给所述移动终端。
可选地,本发明还包括删除缓存内容装置,设置为:删除所述CDN中的缓存内容,所述删除缓存内容装置包括:统计单元,设置为:所述移动网关将所述缓存内容转发给所述移动终端后,对所述CDN响应所述移动终端的新内容请求后返回的内容的业务流量和服务质量进行新统计;上报单元,设置为:所述移动网关将所述业务流量和所述服务质量的新统计结果上报给所述业务流量分析器;决策单元,设置为:所述业务流量分析器将所述新统计结果与统计阈值范围进行比对,决策所述内容是否需要进行删除;删除单元,设置为:当所述统计结果小于所述统计阈值范围的最小值时,所述业务流量分析器决策将所述CDN中的缓存内容删除。
下面结合附图6至图10对本发明实施例提供技术方案的实施方式进行详细描述:
在移动网中,通过移动网关、业务流量分析器、CDN网络三者的闭环反馈,更有效地动态决策CDN缓存内容。上述三个模块可以组合配置,也可以分离配置。
图6显示了本发明第一实施例提供的移动网关、业务流量分析器与CDN闭环控制图,如图6所示,移动网关601、业务流量分析器602和CDN603 都独立设置的情况,其中内容分析器可以集成在UBAS(User Behavior Analysis System,用户行为分析系统)中。各元件间的接口说明如下:移动终端604与移动网关601之间的数据接口T101,用于传递移动终端604与移动网关601之间的用户业务数据;移动网关601与CDN603之间的数据接口T102,用于传递移动网关601向CDN603发送的用户请求和CDN603向移动网关601发送的缓存数据;内容源605(如网站)与移动网关601之间的数据接口T103,用于传递内容源605与移动网关601之间的用户业务数据;内容源605(如网站)与CDN603之间的数据接口T104,用于传递CDN603从内容源605获取的业务数据;移动网关601与业务流量分析器602之间的信令接口S101,用于移动网关601向业务流量分析器602上报分析器关心的信息(如业务流量、分流比例、服务质量等);业务流量分析器602与CDN603之间的信令接口S102,用于业务流量分析器602向CDN603发送缓存/删除请求,以及CDN603向业务流量分析器602通告缓存内容;CDN603与移动网关601之间的信令接口S103,用于CDN603向移动网关601通告缓存内容。
图7显示了本发明第二实施例提供的移动网关、业务流量分析器与CDN闭环控制图,如图7所示,业务流量分析器702内置于移动网关701,移动网关701作出缓存决策,并请求CDN703进行缓存,由于业务流量分析器702与移动网关701在同一元件内,因此之间的S101接口实际为内部接口,图7中省略S101接口。其他各元件间的接口说明如下:移动终端704与移动网关701之间的数据接口T101,用于传递移动终端704与移动网关701之间的用户业务数据;移动网关701与CDN703之间的数据接口T102,用于传递移动网关701向CDN703发送的用户请求和CDN703向移动网关701发送的缓存数据;内容源705(如网站)与移动网关701之间的数据接口T103,用于传递内容源705与移动网关701之间的用户业务数据;内容源705(如网站)与CDN703之间的数据接口T104,用于传递CDN703从内容源705获取的业务数据;移动网关701内置的业务流量分析器702与CDN703之间的信令接口S102,用于业务流量分析器702向CDN703发送缓存/删除请求,以及CDN703向业务流量分析器702通告缓存内容;CDN703与移动网关701之间的信令接口S103,用于CDN703向移动网关701通告缓存内容。
图8显示了本发明第三实施例提供的移动网关、业务流量分析器与CDN闭环控制图,如图8所示,业务流量分析器802、CDN803都内置于移动网关801,闭环控制在移动网关801内部完成。由于业务流量分析器802、CDN803都内置于移动网关801,因此之间的S101、S102、S103、T102接口实际为内部接口,图8中省略S101、S102、S103、T102接口;T104与T103共用移动网关801与内容源805之间的数据通道。其他各元件间的接口说明如下:移动终端804与移动网关801之间的数据接口T101,用于传递移动终端804与移动网关801之间的用户业务数据;内容源805(如网站)与移动网关801之间的数据接口T103,用于传递内容源805与移动网关801之间的用户业务数据;内容源805(如网站)与移动网关801内置的CDN803之间的数据接口T104,用于传递CDN803从内容源805获取的业务数据。
图9显示了本发明实施例提供的用户访问网站时缓存决策的闭环控制流程图,如图9所示,包括以下步骤901~步骤917:
步骤901、移动网关接收到移动终端的http内容请求,移动网关识别出请求中的url为关注的url,分析其业务类型并统计到对应的访问计数中。
步骤902、移动网关转发步骤901中内容请求到对应的源站(也称之为内容源)。
步骤903、移动网关收到源站根据内容请求返回的内容响应。
步骤904、移动网关将内容响应中的业务流量和服务质量进行统计。
步骤905、移动网关将步骤903中收到的内容响应转发给移动终端。
步骤906、移动网关将统计到的业务流量和服务质量等统计信息上报给业务流量分析器。
步骤907、业务流量分析器决策出需要对内容进行缓存。
步骤908、业务流量分析器发送缓存请求到CDN。
步骤909、CDN开始缓存换请求中url指定的内容。
步骤910、CDN完成缓存后将缓存服务器的地址和缓存内容的url标示,通过缓存响应带给移动网关。
步骤911、移动网关记录缓存信息(缓存服务器地址等)。
步骤912、移动终端用户/新移动终端用户http内容请求中访问上述url。
步骤913、移动网关判断出对应内容已经缓存,将内容请求转发到对应的CDN缓存服务器。
步骤914、移动网关接收到的来自CDN缓存服务器的内容响应。
步骤915、移动网关将接收到的内容响应转发给移动终端。
步骤916、移动网关将响应中的业务流量和服务质量进行统计,得到新的统计结果。
步骤917、移动网关将新统计信息(业务流量和服务质量等)上报给业务流量分析器,完成一个闭环反馈。
也就是说,所述移动网关将包含但不限于业务流量和服务质量等信息上报到业务流量分析器(如UBAS)上;所述业务流量分析器对移动终端的访问内容的按流量等条件进行综合排序,选择出需要缓存或释放缓存的内容;业务流量分析器通过与CDN之间的接口(如icap协议),将决策出的缓存内容通告给CDN,并告知需要CDN服务的移动网关地址;CDN在完成缓存后将已缓存结果通告给移动网关和业务流量分析器;移动网关处理新的用户访问请求时,判断出所访问的内容已经缓存,则将移动终端请求路由到CDN服务器,并将新的统计结果上报业务流量分析器,完成一个闭环控制。
需要说明:CDN缓存了哪些内容,不仅限于业务流量分析器所请求的,也可以根据预定义配置上进行缓存,并把缓存结果主动通告给关联的移动网关和业务流量分析器。
图10显示了本发明实施例提供的用户访问网站时删除决策的闭环控制流程图,如图10所示,包括以下步骤1001~步骤1021:
步骤1001、移动网关接收到移动终端的http内容请求,移动网关识别出请求中的url为关注的url,分析其业务类型并统计到对应的访问计数中。
步骤1002、移动网关转发步骤1001中内容请求到对应的源站。
步骤1003、移动网关收到源站根据内容请求返回的内容响应。
步骤1004、移动网关将内容响应中的业务流量和服务质量进行统计。
步骤1005、移动网关将步骤1003中收到的内容响应转发给移动终端。
步骤1006、移动网关将统计到的业务流量和服务质量等统计信息上报给业务流量分析器。
步骤1007、业务流量分析器决策出需要对内容进行缓存。
步骤1008、业务流量分析器发送缓存请求到CDN。
步骤1009、CDN开始缓存换请求中url指定的内容。
步骤1010、CDN完成缓存后将缓存服务器的地址和缓存内容的url标示,通过缓存响应带给移动网关。
步骤1011、移动网关记录缓存信息(缓存服务器地址等)。
步骤1012、移动终端用户/新移动终端用户http内容请求中访问上述url。
步骤1013、移动网关判断出对应内容已经缓存,将请求转发到对应的CDN缓存服务器。
步骤1014、移动网关接收到的来自CDN缓存服务器的内容响应。
步骤1015、移动网关将接收到的内容响应转发给移动终端。
步骤1016、移动网关将响应中的业务流量和服务质量进行统计,得到新的统计信息。
步骤1017、移动网关将新统计信息(业务流量和服务质量等)上报给业务流量分析器,完成一个闭环反馈。
步骤1018、业务流量分析器决策出需要对缓存内容进行删除。
步骤1019、业务流量分析器发送删除请求到CDN。
步骤1020、CDN开始删除请求中url指定的内容。
步骤1021、CDN完成删除后将删除内容的url标示通过删除响应带给移动网关。
也就是说,以http应用为例(但本发明适用范围不限于http应用):1、移动终端通过输入域名访问某网站,移动终端发送的http请求报文传输到移动网关,移动网关识别出请求的url为关注的url,分析其业务类型,并进行统计;2、移动网关收到1中所请求之响应,分析来源(源站还是CDN)并 统计到对应业务类型的访问计数中,转发报文到移动终端。3、移动网关定时/实时将统计结果上报到业务流量分析器;4、业务流量分析器决策需要缓存/删除的内容,发送请求缓存/删除请求和网关地址到CDN;5、CDN完成4中所请求的动作后,将执行结果通知移动网关;6、移动终端用户/新移动终端用户http请求中访问上述url,根据缓存结果选择将报文转发到源站或CDN,并进行统计和上报到业务流量分析器。业务流量分析器根据最新的业务流量/服务质量信息和历史记录决策出新的缓存策略(例如发现缓存后业务质量变差,可以删除缓存),完成一轮闭环反馈。
综上所述,本发明实施例的技术效果为:
本发明实施例增加了反馈机制,可以将缓存后的效果反馈给业务流量分析器,业务流量分析器利用历史和最新反馈信息进行新的决策,逐步逼近最优缓存策略。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例通过增加了馈机制,移动网关可以将缓存后的效果(例如 分流比例和服务质量等)反馈给缓存内容决策单元(业务流量分析器),业务流量分析器元利用历史和最新反馈信息进行新的决策,逐步逼近最优缓存策略。

Claims (10)

  1. 一种移动网络决策CDN中缓存内容的方法,包括:
    移动网关对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
    所述移动网关将统计得到的统计结果上报给业务流量分析器,以便所述业务流量分析器根据所述统计结果决策所述内容是否需要进行缓存;
    当所述移动网关接收到内容分发网络CDN的缓存响应后,根据所述移动终端的新内容请求从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
  2. 根据权利要求1所述的方法,其中,所述当所述移动网关接收到CDN的缓存响应后,根据所述移动终端的新内容请求获取获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端,包括:
    当所述移动网关接收到所述CDN的缓存响应后,所述移动网关接收所述移动终端发送的所述新内容请求;
    所述移动网关根据所述新内容请求中包含的统一资源定位符url,确定所述新内容请求的内容是否与所述CDN中的缓存内容一致;
    当所述移动网关确定所述新内容请求的内容与所述CDN中的缓存内容一致时,所述移动网关从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
  3. 一种移动网络决策CDN中缓存内容的方法,包括:
    业务流量分析器根据移动网关发送的对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量的统计结果,决策所述内容是否需要进行缓存,所述统计结果为所述业务流量分析器从所述移动网关接收的;
    当所述业务流量分析器决策出所述内容需要缓存时,通知内容分发网络CDN从源站中获取并缓存所述内容。
  4. 根据权利要求3所述的方法,其中,所述业务流量分析器根据移动网关发送的统计结果,决策所述内容是否需要进行缓存,包括:
    所述业务流量分析器将所述统计结果与统计阈值范围进行比对,决策所述内容是否需要进行缓存;
    当所述统计结果大于所述统计阈值范围的最大值时,所述业务流量分析器决策所述内容需要缓存。
  5. 根据权利要求4所述的方法,其中,当所述业务流量分析器决策出所述内容需要缓存时,通知CDN从源站中获取并缓存所述内容,包括:
    当所述业务流量分析器决策出所述内容需要缓存时,向所述CDN发送包含缓存内容统一资源定位符url的缓存请求;
    所述CDN根据缓存请求中的缓存内容url,从所述源站中获取并缓存所述内容,并将所述缓存内容url发送给所述移动网关。
  6. 根据权利要求5所述的方法,还包括:删除所述CDN中的缓存内容;所述删除所述CDN中的缓存内容,包括:
    所述移动网关将所述缓存内容url转发给所述移动终端后,对所述CDN响应所述移动终端的新内容请求后返回的内容的业务流量和服务质量进行新统计;
    所述移动网关将所述业务流量和所述服务质量的新统计结果上报给所述业务流量分析器;
    所述业务流量分析器将所述新统计结果与所述统计阈值范围进行比对,决策所述内容是否需要进行删除;
    当所述统计结果小于所述统计阈值范围的最小值时,所述业务流量分析器决策将所述CDN中的缓存内容删除。
  7. 一种移动网络决策CDN中缓存内容的装置,设置于移动网关中,所述装置包括:
    统计模块,设置为:对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
    上报模块,设置为:将所述统计模块得到的统计结果上报给业务流量分析器,以便所述业务流量分析器根据所述统计结果决策所述内容是否需要进行缓存;
    获取及转发模块,设置为:当所述移动网关接收到内容分发网络CDN的缓存响应后,根据所述移动终端的新内容请求从所述CDN中获取所述CDN的缓存内容,并将所获取的缓存内容发送给所述移动终端。
  8. 一种移动网络决策CDN中缓存内容的装置,设置于业务流量分析器中,所述装置包括:
    决策模块,设置为:根据移动网关发送的对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量的统计结果,决策所述内容是否需要进行缓存,所述统计结果为所述业务流量分析器从所述移动网关接收的;
    通知缓存模块,设置为:当所述决策模块决策出所述内容需要缓存时,通知内容分发网络CDN从源站中获取并缓存所述内容。
  9. 一种移动网络决策CDN中缓存内容的系统,包括:
    统计装置,设置为:对源站响应移动终端的内容请求后返回的内容的业务流量和服务质量进行统计;
    缓存决策装置,设置为:根据所述统计装置得到的统计结果,决策所述内容是否需要进行缓存;
    缓存内容装置,设置为:当所述缓存决策装置决策出所述内容需要缓存时,通知内容分发网络CDN从源站中获取并缓存所述内容;
    获取缓存内容装置,设置为:在所述CDN缓存所述内容后,根据移动网关转发的所述移动终端的新内容请求,返回所述CDN缓存的内容。
  10. 根据权利要求9所述的系统,还包括删除缓存内容装置,设置为:删除所述CDN中的缓存内容,所述删除缓存内容装置包括:
    统计单元,设置为:所述移动网关将所述缓存内容转发给所述移动终端后,对所述CDN响应所述移动终端的新内容请求后返回的内容的业务流量和服务质量进行新统计;
    上报单元,设置为:所述移动网关将所述业务流量和所述服务质量的新统计结果上报给所述业务流量分析器;
    决策单元,设置为:所述业务流量分析器将所述新统计结果与统计阈值范围进行比对,决策所述内容是否需要进行删除;
    删除单元,设置为:当所述统计结果小于所述统计阈值范围的最小值时,所述业务流量分析器决策将所述CDN中的缓存内容删除。
PCT/CN2016/084325 2015-09-17 2016-06-01 一种移动网络决策cdn中缓存内容的方法、装置及系统 WO2017045438A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510594062.4A CN106549987B (zh) 2015-09-17 2015-09-17 一种移动网络决策cdn中缓存内容的方法、装置及系统
CN201510594062.4 2015-09-17

Publications (1)

Publication Number Publication Date
WO2017045438A1 true WO2017045438A1 (zh) 2017-03-23

Family

ID=58288048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084325 WO2017045438A1 (zh) 2015-09-17 2016-06-01 一种移动网络决策cdn中缓存内容的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN106549987B (zh)
WO (1) WO2017045438A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385663A (zh) * 2022-03-23 2022-04-22 北京国联政信科技有限公司 数据处理的方法和装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995836B (zh) 2017-12-29 2021-12-03 华为技术有限公司 缓存决策方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056249A (zh) * 2006-04-12 2007-10-17 华为技术有限公司 一种组播广播信息发送的方法及系统
CN101989986A (zh) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 一种查询服务节点的方法、服务器和系统
CN102118323A (zh) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 内容分发网络服务器及内容下载方法
US20120191862A1 (en) * 2010-07-19 2012-07-26 Movik Networks Content Pre-fetching and CDN Assist Methods in a Wireless Mobile Network
CN104768079A (zh) * 2014-01-03 2015-07-08 腾讯科技(深圳)有限公司 多媒体资源分发方法、装置及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845523B (zh) * 2005-04-07 2010-05-05 华为技术有限公司 互通无线局域网中实现服务质量协商的方法
US7831445B2 (en) * 2006-01-30 2010-11-09 Bruce Reiner Method and apparatus for generating an administrative quality assurance scorecard
CN102378160B (zh) * 2010-08-23 2015-11-25 中兴通讯股份有限公司 基于本地接入的承载建立方法及系统
CN102891830B (zh) * 2011-07-18 2017-04-05 中兴通讯股份有限公司 保障流媒体业务服务质量的方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056249A (zh) * 2006-04-12 2007-10-17 华为技术有限公司 一种组播广播信息发送的方法及系统
CN102118323A (zh) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 内容分发网络服务器及内容下载方法
US20120191862A1 (en) * 2010-07-19 2012-07-26 Movik Networks Content Pre-fetching and CDN Assist Methods in a Wireless Mobile Network
CN101989986A (zh) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 一种查询服务节点的方法、服务器和系统
CN104768079A (zh) * 2014-01-03 2015-07-08 腾讯科技(深圳)有限公司 多媒体资源分发方法、装置及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385663A (zh) * 2022-03-23 2022-04-22 北京国联政信科技有限公司 数据处理的方法和装置
CN114385663B (zh) * 2022-03-23 2022-06-28 北京国联政信科技有限公司 数据处理的方法和装置

Also Published As

Publication number Publication date
CN106549987A (zh) 2017-03-29
CN106549987B (zh) 2020-06-05

Similar Documents

Publication Publication Date Title
US10574772B2 (en) Content engine for mobile communications systems
US20200404068A1 (en) Managing mobile device user subscription and service preferences to predictively pre-fetch content
CN107251525B (zh) 用于支持移动设备用户的预测内容预取服务的分布式服务器架构
JP6560351B2 (ja) モビリティ管理のための仮想サービングゲートウェイを配置するためのシステムおよび方法
US8775631B2 (en) Dynamic bandwidth adjustment for browsing or streaming activity in a wireless network based on prediction of user behavior when interacting with mobile applications
US9270709B2 (en) Integrated signaling between mobile data networks and enterprise networks
EP2625625B1 (en) Method and apparatus for dynamic traffic steering
US9203864B2 (en) Dynamic categorization of applications for network access in a mobile network
US9838459B2 (en) Enhancing dash-like content streaming for content-centric networks
US20120084460A1 (en) Method and system for dynamic traffic steering
US20140222967A1 (en) Transparent media delivery and proxy
KR101330052B1 (ko) 적응형 컨텐츠 전송 방식을 지원하는 컨텐츠 캐싱 서비스 제공 방법 및 이를 위한 로컬 캐싱 장치
US20110320592A1 (en) Methods, systems, and computer readable media for content delivery using deep packet inspection
US20110105130A1 (en) Back-channeled packeted data
KR20110057240A (ko) 과중 미디어 콘텐트의 자동 검출 및 조정된 배송을 위한 시스템 및 방법
US20150215187A1 (en) Data Services in a Computer System
US20220353314A1 (en) Network data scheduling method and edge node thereof
Viola et al. Predictive CDN selection for video delivery based on LSTM network performance forecasts and cost-effective trade-offs
WO2017045438A1 (zh) 一种移动网络决策cdn中缓存内容的方法、装置及系统
Jin et al. PAINT: Partial in-network transcoding for adaptive streaming in information centric network
US11252788B2 (en) Systems and methods for content selection and delivery based on radio access network (“RAN”) conditions
Touati et al. Fair hop-by-hop interest rate control to mitigate congestion in named data networks
US9813317B2 (en) Self-localizing data distribution network
Weng et al. Live MPEG-DASH video streaming cache management with cognitive mobile edge computing
JP7183762B2 (ja) サーバ選択装置、サーバ選択方法及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16845552

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16845552

Country of ref document: EP

Kind code of ref document: A1