CN106549987B - Method, device and system for deciding cache content in CDN (content delivery network) by mobile network - Google Patents
Method, device and system for deciding cache content in CDN (content delivery network) by mobile network Download PDFInfo
- Publication number
- CN106549987B CN106549987B CN201510594062.4A CN201510594062A CN106549987B CN 106549987 B CN106549987 B CN 106549987B CN 201510594062 A CN201510594062 A CN 201510594062A CN 106549987 B CN106549987 B CN 106549987B
- Authority
- CN
- China
- Prior art keywords
- content
- cdn
- cache
- mobile
- mobile gateway
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000004044 response Effects 0.000 claims description 38
- 230000000694 effects Effects 0.000 abstract description 5
- 238000013459 approach Methods 0.000 abstract description 3
- 230000008713 feedback mechanism Effects 0.000 abstract description 3
- 238000010295 mobile communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 12
- 230000011664 signaling Effects 0.000 description 5
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012508 change request Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5681—Pre-fetching or pre-delivering data based on network characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling 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/61—Scheduling 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
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method, a device and a system for deciding cache content in a CDN (content delivery network) by a mobile network, which relate to the technical field of mobile communication, wherein the system comprises the following steps: the statistic device is used for carrying out statistics on the service flow and the service quality of the content returned by the source station responding to the content request of the mobile terminal; the cache decision device is used for deciding whether the content needs to be cached or not according to the statistical result; the content caching device is used for informing the CDN to obtain and cache the content from a source station when the content is determined to need caching; and the content cache obtaining device is used for returning the cached content according to a new content request of the mobile terminal forwarded by the mobile gateway after caching the content. The invention adds a feedback mechanism, can feed back the cached effect to the service flow analyzer, and the service flow analyzer carries out new decision by using the history and the latest feedback information to gradually approach the optimal caching strategy.
Description
Technical Field
The invention relates to the technical field of mobile communication, in particular to a method, a device and a system for deciding cache content in a CDN (content delivery network) by a mobile network.
Background
CDN (Content Delivery Network) is a technology for sharing a source station load and shortening a Network path length. CDNs can be deployed in mobile networks to increase user access speed and reduce inter-network settlement costs for operators. The larger the proportion of the traffic routed to the CDN in the total traffic is, the better the effect is, and the larger the revenue is. However, the CDN has a limited cache capacity, so it needs to decide which content to cache, and the profit is the greatest.
The existing method for deciding cache content is as follows:
specifying cached content by predefined form information (publication number 103685551a "method and apparatus for updating CDN cache files");
the decision of caching content is made by the traffic flowing through the CDN (US 8,799,480B 2), which requires that all traffic is first directed to the CDN network;
content usage prediction information is provided to the CDN network by external entities for use in deciding which content to cache (publication CN101911687A, "method and apparatus for delivering content").
Disclosure of Invention
The invention aims to provide a method, a device and a system for a mobile network to decide cache content in a CDN (content delivery network), which solve the problem of limited cache capacity of the CDN in the prior art.
According to an aspect of the present invention, there is provided a method for a mobile network to decide content cached in a CDN, including the following steps:
the mobile gateway makes statistics on the service flow and the 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 to a service flow analyzer so that the service flow analyzer can decide whether the content needs to be cached according to the statistical result;
after the mobile gateway receives a cache response of the CDN, acquiring and forwarding cache content of the CDN from the CDN according to a new content request of a mobile terminal;
wherein, the CDN refers to a content delivery network.
Preferably, after the mobile gateway receives the cache response of the CDN, acquiring and forwarding the cache content of the CDN according to the new content request of 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 a mobile terminal;
the mobile gateway determines whether the content of the new content request of the mobile terminal is consistent with the cache content in the CDN or not according to the url contained in the new content request;
and when the content requested by the new content of the mobile terminal is determined to be consistent with the cache content in the CDN, the mobile gateway acquires and forwards the cache content of the CDN.
According to another aspect of the present invention, there is provided a method for a mobile network to decide content cached in a CDN, including the following steps performed by a traffic analyzer:
the service flow analyzer receives and decides whether the content needs to be cached according to the statistical result of the service flow and the service quality of the content which is sent by the mobile gateway and returned by the source station responding to the content request of the mobile terminal;
and when the service flow analyzer decides that the content needs to be cached, the service flow analyzer informs the CDN to acquire and cache the content from a source station.
Preferably, the step of receiving and deciding, by the service traffic analyzer and according to the statistical result sent by the mobile gateway, whether the content returned by the source station in response to the content request of the mobile terminal needs to be cached by the mobile gateway includes:
the service flow analyzer compares the statistical result with a statistical threshold range to decide whether the content needs to be cached or not;
and when the statistical result exceeds the statistical threshold range, the service flow analyzer decides that the content needs to be cached.
Preferably, when the service traffic 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 service flow analyzer decides that the content needs to be cached, sending a caching request containing caching content url to the CDN;
and the CDN acquires and caches the content from a source station according to the cache content url in the cache request, and sends the cache content url to the mobile gateway.
Preferably, the method further includes deleting the cache content in the CDN, and the method specifically includes:
after the mobile gateway forwards the cache content to the mobile terminal, performing new statistics on the service flow and the service quality 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 flow and the service quality to a service flow analyzer;
the service flow analyzer compares the new statistical result with a statistical threshold range to decide whether the content needs to be deleted;
and when the statistical result is lower than the statistical threshold range, the service flow analyzer makes a decision to delete the cache content in the CDN.
According to another aspect of the present invention, there is provided an apparatus for a mobile network to decide content cached in a CDN, including:
the mobile gateway is used for counting the service flow and the service quality of the content returned by the source station responding to the content request of the mobile terminal;
a reporting module, configured to report the statistical result to a service traffic analyzer by the mobile gateway, 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 is used for obtaining and forwarding the cache content of the CDN from the CDN according to a new content request of the mobile terminal after the mobile gateway receives the cache response of the CDN.
According to another aspect of the present invention, there is provided an apparatus for a mobile network to decide content cached in a CDN, including:
a decision module, which is used for receiving and deciding whether the content needs to be cached according to the service flow and the service quality statistical result of the content which is sent by the mobile gateway and returned by the source station responding to the content request of the mobile terminal;
and the notification cache module is used for notifying the CDN to acquire and cache the content from a source station when the service traffic analyzer decides that the content needs to be cached.
According to another aspect of the present invention, there is provided a system for a mobile network to decide content cached in a CDN, including:
the statistic device is used for carrying out statistics on the service flow and the service quality of the content returned by the source station responding to the content request of the mobile terminal;
the cache decision device is used for deciding whether the content needs to be cached or not according to the statistical result;
the content caching device is used for informing the CDN to obtain and cache the content from a source station when the content is determined to need caching;
and the content cache obtaining device is used for returning the cached content according to a new content request of the mobile terminal forwarded by the mobile gateway after caching the content.
Preferably, the content deleting unit further includes a cache content deleting unit configured to delete cache content in the CDN, and includes:
the counting unit is used for carrying out new statistics on the service flow and the service quality of the content returned by the CDN responding to the new content request of the mobile terminal after the mobile gateway forwards the cache content to the mobile terminal;
a reporting unit, configured to report a new statistical result of the service traffic and the service quality to a service traffic analyzer by the mobile gateway;
a decision unit, configured to compare the new statistical result with a statistical threshold range by the traffic analyzer, and decide whether the content needs to be deleted;
and the deleting unit is used for deciding to delete the cache content in the CDN when the statistical result is lower than the statistical threshold range.
Compared with the prior art, the invention has the beneficial effects that:
the invention adds a feedback mechanism, and can feed back the cached effect (shunt ratio, service quality and the like) to a cache content decision unit (a service flow analyzer), and the cache content decision unit carries out new decision by using history and latest feedback information to gradually approach the optimal cache strategy.
Drawings
Fig. 1 is a first flowchart of a method for a mobile network to decide content cached in a CDN according to an embodiment of the present invention;
fig. 2 is a second flowchart of a method for a mobile network to decide content cached in a CDN according to an embodiment of the present invention;
fig. 3 is a first schematic diagram of an apparatus for a mobile network to decide content cached in a CDN according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of an apparatus for a mobile network to decide content cached in a CDN according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a system for a mobile network to decide content cached in a 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 provided in the 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 provided in the 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 provided in the third embodiment of the present invention;
FIG. 9 is a flowchart illustrating a closed-loop control of caching decisions when a user accesses a website according to an embodiment of the present invention;
fig. 10 is a flowchart of a closed-loop control for a deletion decision when a user accesses a website according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
Fig. 1 shows a first flowchart of a method for a mobile network to decide content cached in a CDN according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps performed by a mobile gateway:
step S101: the mobile gateway makes statistics on the service flow and the service quality of the content returned by the source station in response to the content request of the mobile terminal;
step S102: the mobile gateway reports the statistical result to a service flow analyzer so that the service flow analyzer can decide whether the content needs to be cached according to the statistical result;
step S103: and after receiving the cache response of the CDN, the mobile gateway acquires and forwards the cache content of the CDN from the CDN according to the new content request of the mobile terminal.
After the mobile gateway receives the cache response of the CDN, acquiring and forwarding the cache content of the CDN according to the new content request of 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 a mobile terminal; the mobile gateway determines whether the content of the new content request of the mobile terminal is consistent with the cache content in the CDN or not according to the url contained in the new content request; and when the content requested by the new content of the mobile terminal is determined to be consistent with the cache content in the CDN, the mobile gateway acquires and forwards the cache content of the CDN.
Fig. 2 shows a first flowchart of a method for a mobile network to decide content cached in a CDN according to an embodiment of the present invention, and as shown in fig. 2, the method includes the following steps performed by a traffic analyzer:
step S201: the service flow analyzer receives and decides whether the content needs to be cached according to the statistical result of the service flow and the service quality of the content which is sent by the mobile gateway and returned by the source station responding to the content request of the mobile terminal;
step S202: and when the service flow analyzer decides that the content needs to be cached, the service flow analyzer informs the CDN to acquire and cache the content from a source station.
Wherein, the receiving of the service flow analyzer and the decision of whether the content returned by the mobile gateway to the source station in response to the content request of the mobile terminal needs to be cached according to the statistical result sent by the mobile gateway includes: the service flow analyzer compares the statistical result with a statistical threshold range to decide whether the content needs to be cached or not; and when the statistical result exceeds the statistical threshold range, the service flow analyzer decides that the content needs to be cached. When the service traffic 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 service flow analyzer decides that the content needs to be cached, sending a caching request containing caching content url to the CDN; and the CDN acquires and caches the content from a source station according to the cache content url in the cache request, and sends the cache content url to the mobile gateway.
The invention also comprises the step of deleting the cache content in the CDN, which specifically comprises the following steps: after the mobile gateway forwards the cache content to the mobile terminal, performing new statistics on the service flow and the service quality 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 flow and the service quality to a service flow analyzer; the service flow analyzer compares the new statistical result with a statistical threshold range to decide whether the content needs to be deleted; and when the statistical result is lower than the statistical threshold range, the service flow analyzer makes a decision to delete the cache content in the CDN.
In summary, the method for deciding the cache content in the CDN by the mobile network of the present invention includes:
1. counting the service flow and service quality of the content returned by the source station responding to the content request of the mobile terminal;
2. according to the statistical result, deciding whether the content needs to be cached;
3. when the content is determined to need to be cached, informing the CDN to obtain and cache the content from a source station;
4. after the content is cached, the cached content is returned according to a new content request of the mobile terminal forwarded by the mobile gateway.
Fig. 3 is a first schematic diagram illustrating an apparatus for a mobile network to decide content cached in a CDN according to an embodiment of the present invention, as shown in fig. 2, including: a statistic module 201, configured to count, by the mobile gateway, service traffic and service quality of content returned by the source station in response to the content request of the mobile terminal; a reporting module 202, configured to report the statistical result to a service traffic analyzer by the mobile gateway, so that the service traffic analyzer determines whether the content needs to be cached according to the statistical result; the obtaining and forwarding module 203 is configured to obtain and forward the cache content of the CDN from the CDN according to a new content request of the mobile terminal after the mobile gateway receives the cache response of the CDN.
Fig. 4 is a second schematic diagram illustrating an apparatus for a mobile network to decide content cached in a CDN according to an embodiment of the present invention, as shown in fig. 4, including: a decision module 401, configured to receive, by a service traffic analyzer, and decide whether the content needs to be cached according to a statistical result of service traffic and service quality of the content sent by a mobile gateway and returned by a source station in response to a content request of a mobile terminal; a notification cache module 402, configured to notify the CDN to obtain and cache the content from the source station when the service traffic analyzer determines that the content needs to be cached.
Fig. 5 is a schematic diagram of a system for a mobile network to decide content cached in a CDN according to an embodiment of the present invention, and as shown in fig. 5, the system includes: a statistic device 501, configured to perform statistics on service traffic and service quality of content returned by the source station in response to the content request of the mobile terminal; a cache decision device 502, configured to decide whether the content needs to be cached according to the statistical result; a content caching device 503, configured to notify the CDN to obtain and cache the content from the source station when it is determined that the content needs to be cached; a content cache acquiring device 504, configured to, after caching the content, return the cached content according to a new content request of the mobile terminal forwarded by the mobile gateway.
Wherein, the cache decision device 502 comprises: a comparing unit, configured to report a statistical result of service traffic and service quality to a service traffic analyzer by the mobile gateway, and compare the statistical result with a statistical threshold range by the service traffic analyzer, so as to determine whether the content needs to be cached; and the cache decision unit is used for deciding that the content needs to be cached by the service flow analyzer when the statistical result exceeds the statistical threshold range. The content caching apparatus 503 includes: a cache content sending request unit, configured to send a cache request including cache content url to the CDN when the traffic analyzer determines that the content needs to be cached; and the cache content unit is used for acquiring and caching the content from a source station by the CDN according to the cache content url in the cache request, and sending the cache content url to the mobile gateway. The means 504 for obtaining cache content includes: a receiving unit, configured to receive, by the mobile gateway, a new content request sent by the mobile terminal after the content is cached; a determining unit, configured to determine, by the mobile gateway, whether content requested by the new content of the mobile terminal is consistent with cache content in the CDN according to the url included in the new content request; and the cache content obtaining unit is used for forwarding the new content request of the mobile terminal to the CDN by the mobile gateway when the content of the new content request of the mobile terminal is determined to be consistent with the cache content in the CDN, and sending the cache content to the mobile terminal by the CDN.
The present invention further includes a unit for deleting cache content, which is used to delete cache content in the CDN, and includes: the counting unit is used for carrying out new statistics on the service flow and the service quality of the content returned by the CDN responding to the new content request of the mobile terminal after the mobile gateway forwards the cache content to the mobile terminal; a reporting unit, configured to report a new statistical result of the service traffic and the service quality to a service traffic analyzer by the mobile gateway; a decision unit, configured to compare the new statistical result with a statistical threshold range by the traffic analyzer, and decide whether the content needs to be deleted; and the deleting unit is used for deciding to delete the cache content in the CDN when the statistical result is lower than the statistical threshold range.
The following describes the implementation of the solution in further detail with reference to fig. 6 to 10:
in a mobile network, through closed-loop feedback of a mobile gateway, a service flow analyzer and a CDN (content delivery network), CDN cache content is dynamically decided more effectively. The three modules can be configured in a combined manner or in a separated manner.
Fig. 6 shows a closed-loop control diagram of a mobile gateway, a traffic analyzer and a CDN provided in a first embodiment of the present invention, and as shown in fig. 6, the mobile gateway, the traffic analyzer and the CDN are all independently configured, where the content analyzer may be integrated in a UBAS (User Behavior Analysis System). The interfaces between the elements are illustrated as follows: a data interface T101 between the mobile terminal and the mobile gateway, which is used for transmitting the user service data between the mobile terminal and the mobile gateway; a data interface T102 between the mobile gateway and the CDN, configured to deliver a user request sent by the mobile gateway to the CDN and cache data sent by the CDN to the mobile gateway; a data interface T103 between the content source (such as a website) and the mobile gateway, for transferring user service data between the content source and the mobile gateway; a data interface T104 between the content source (e.g. a website) and the CDN, configured to deliver service data obtained by the CDN from the content source; a signaling interface S101 between the mobile gateway and the traffic flow analyzer, configured to report, to the traffic flow analyzer, information (such as traffic flow, traffic split ratio, quality of service, and the like) that is concerned by the analyzer by the mobile gateway; a signaling interface S102 between the service traffic analyzer and the CDN, configured to send a cache/delete request to the CDN by the service traffic analyzer, and notify the service traffic analyzer of cache content by the CDN; and a signaling interface S103 between the CDN and the mobile gateway, configured to notify the mobile gateway of the cache content by the CDN.
Fig. 7 shows a closed-loop control diagram of a mobile gateway, a traffic analyzer and a CDN provided in a second embodiment of the present invention, as shown in fig. 7, the traffic analyzer is built in the mobile gateway, the mobile gateway makes a caching decision and requests the CDN to cache, and since the traffic analyzer and the mobile gateway are in the same component, an S101 interface between the traffic analyzer and the mobile gateway is actually an internal interface and is omitted in the drawing. The interfaces between the other elements are described as follows: a data interface T101 between the mobile terminal and the mobile gateway, which is used for transmitting the user service data between the mobile terminal and the mobile gateway; a data interface T102 between the mobile gateway and the CDN, configured to deliver a user request sent by the mobile gateway to the CDN and cache data sent by the CDN to the mobile gateway; a data interface T103 between the content source (such as a website) and the mobile gateway, for transferring user service data between the content source and the mobile gateway; a data interface T104 between the content source (e.g. a website) and the CDN, configured to deliver service data obtained by the CDN from the content source; a signaling interface S102 between the service traffic analyzer built in the mobile gateway and the CDN, configured to send a cache/delete request to the CDN by the service traffic analyzer, and notify the service traffic analyzer of cache content by the CDN; and a signaling interface S103 between the CDN and the mobile gateway, configured to notify the mobile gateway of the cache content by the CDN.
Fig. 8 shows a mobile gateway, a service traffic analyzer, and a CDN closed-loop control diagram provided in a third embodiment of the present invention, where as shown in fig. 8, the service traffic analyzer and the CDN are both built in the mobile gateway, and the closed-loop control is completed inside a network manager. Since the traffic analyzer and the CDN are both built in the mobile gateway, the interfaces S101, S102, S103, and T102 between them are actually internal interfaces, which are omitted in the drawing; t104 and T103 share a data channel between the mobile number gateway and the content source. The interfaces between the other elements are described as follows: a data interface T101 between the mobile terminal and the mobile gateway, which is used for transmitting the user service data between the mobile terminal and the mobile gateway; a data interface T103 between the content source (such as a website) and the mobile gateway, for transferring user service data between the content source and the mobile gateway; and a data interface T104 between the content source (such as a website) and the CDN built in the mobile gateway, configured to deliver the service data obtained by the CDN from the content source.
Fig. 9 is a flowchart illustrating a closed-loop control of a caching decision when a user accesses a website according to an embodiment of the present invention, where as shown in fig. 9, the closed-loop control includes the following steps:
In step 902, the mobile gateway forwards the content request in step 901 to the corresponding source station (also referred to as content source).
That is, the mobile gateway reports information including, but not limited to, traffic flow and quality of service to a traffic flow analyzer (e.g., UBAS); the service flow analyzer comprehensively sorts the access content of the mobile terminal according to conditions such as flow and the like, and selects the content needing to be cached or released; the service flow analyzer informs the determined cache content to the CDN through an interface (such as an icap protocol) between the service flow analyzer and the CDN, and informs a mobile gateway address needing CDN service; after finishing caching, the CDN informs the cached result to a mobile gateway and a service flow analyzer; when the mobile gateway processes a new user access request, the mobile gateway judges that the accessed content is cached, routes the mobile terminal request to the CDN server, reports a new statistical result to the service flow analyzer, and completes closed-loop control.
Need to explain: the CDN caches which contents, not only what is requested by the service traffic analyzer, but also according to a predefined configuration, and actively notifies the cache result to the associated mobile gateway and the service traffic analyzer.
Fig. 10 is a flowchart illustrating a closed-loop control for a deletion decision when a user accesses a website according to an embodiment of the present invention, as shown in fig. 10, including the following steps:
That is, taking http application as an example (although the scope of the invention is not limited to http application): 1. the mobile terminal accesses a certain website by inputting a domain name, an http request message sent by the mobile terminal is transmitted to the mobile gateway, and the mobile gateway identifies the url requested as the concerned url, analyzes the service type of the url, and performs statistics; 2. the mobile gateway receives the response requested in 1, analyzes the source (source station or CDN) and counts the access count corresponding to the service type, and forwards the message to the mobile terminal. 3. The mobile gateway reports the statistical result to the service flow analyzer in a timing/real-time manner; 4. the service flow analyzer decides the content to be cached/deleted, and sends a request caching/deleting request and a gateway address to the CDN; 5. after the CDN completes the action requested in the step 4, informing the execution result to the mobile gateway; 6. and accessing the url in the http request of the mobile terminal user/the new mobile terminal user, selectively forwarding the message to the source station or the CDN according to the cache result, and counting and reporting the message to the service flow analyzer. The traffic flow analyzer decides a new caching strategy (for example, the service quality is poor after caching is found and the caching can be deleted) according to the latest traffic flow/service quality information and the history record, and a round of closed-loop feedback is completed.
In summary, the present invention has the following technical effects:
the invention adds a feedback mechanism, can feed back the cached effect to the service flow analyzer, and the service flow analyzer unit carries out new decision by using the history and the latest feedback information to gradually approach the optimal caching strategy.
Although the present invention has been described in detail hereinabove, the present invention is not limited thereto, and various modifications can be made by those skilled in the art in light of the principle of the present invention. Thus, modifications made in accordance with the principles of the present invention should be understood to fall within the scope of the present invention.
Claims (10)
1. A method for a mobile network to decide content caching in a CDN is characterized by comprising the following steps executed by a mobile gateway:
the mobile gateway makes statistics on the service flow and the 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 to a service flow analyzer so that the service flow analyzer can decide whether the content needs to be cached according to the statistical result;
after the mobile gateway receives a cache response of the CDN, acquiring and forwarding cache content of the CDN from the CDN according to a new content request of a mobile terminal;
wherein, the CDN refers to a content delivery network.
2. The method of claim 1, wherein the obtaining and forwarding the cache content of the CDN according to the new content request of the mobile terminal after the mobile gateway receives the cache response of the CDN comprises:
after the mobile gateway receives the cache response of the CDN, the mobile gateway receives a new content request sent by a mobile terminal;
the mobile gateway determines whether the content of the new content request of the mobile terminal is consistent with the cache content in the CDN or not according to the url contained in the new content request;
and when the content requested by the new content of the mobile terminal is determined to be consistent with the cache content in the CDN, the mobile gateway acquires and forwards the cache content of the CDN.
3. A method for a mobile network to decide content caching in a CDN is characterized by comprising the following steps executed by a service flow analyzer:
the service flow analyzer receives and decides whether the content needs to be cached according to the statistical result of the service flow and the service quality of the content which is sent by the mobile gateway and returned by the source station responding to the content request of the mobile terminal;
and when the service flow analyzer decides that the content needs to be cached, the service flow analyzer informs the CDN to acquire and cache the content from a source station.
4. The method of claim 3, wherein the service traffic analyzer receives and decides whether the mobile gateway needs to cache the content returned by the source station in response to the content request from the mobile terminal according to the statistical result sent by the mobile gateway, comprises:
the service flow analyzer compares the statistical result with a statistical threshold range to decide whether the content needs to be cached or not;
and when the statistical result exceeds the statistical threshold range, the service flow analyzer decides that the content needs to be cached.
5. The method of claim 4, wherein the traffic analyzer, when deciding that the content needs to be cached, notifies the CDN to obtain and cache the content from the source station, comprising:
when the service flow analyzer decides that the content needs to be cached, sending a caching request containing caching content url to the CDN;
and the CDN acquires and caches the content from a source station according to the cache content url in the cache request, and sends the cache content url to the mobile gateway.
6. The method according to claim 5, further comprising deleting the cached content in the CDN, which specifically includes:
after the mobile gateway forwards the cache content to the mobile terminal, performing new statistics on the service flow and the service quality 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 flow and the service quality to a service flow analyzer;
the service flow analyzer compares the new statistical result with a statistical threshold range to decide whether the content needs to be deleted;
and when the statistical result is lower than the statistical threshold range, the service flow analyzer makes a decision to delete the cache content in the CDN.
7. An apparatus for a mobile network to decide content caching in a CDN, comprising:
the mobile gateway is used for counting the service flow and the service quality of the content returned by the source station responding to the content request of the mobile terminal;
a reporting module, configured to report the statistical result to a service traffic analyzer by the mobile gateway, 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 is used for obtaining and forwarding the cache content of the CDN from the CDN according to a new content request of the mobile terminal after the mobile gateway receives the cache response of the CDN.
8. An apparatus for a mobile network to decide content caching in a CDN, comprising:
a decision module, which is used for receiving and deciding whether the content needs to be cached according to the service flow and the service quality statistical result of the content which is sent by the mobile gateway and returned by the source station responding to the content request of the mobile terminal;
and the notification cache module is used for notifying the CDN to acquire and cache the content from a source station when the service traffic analyzer decides that the content needs to be cached.
9. A system for a mobile network to decide content caching in a CDN (content delivery network), comprising:
the statistical module is used for carrying out statistics on the service flow and the service quality of the content returned by the source station responding to the content request of the mobile terminal;
the cache decision module is used for deciding whether the content needs to be cached or not according to the statistical result;
the content caching module is used for notifying the CDN to obtain and cache the content from a source station when the content is determined to need caching;
and the cache content obtaining module is used for returning the cached content according to a new content request of the mobile terminal forwarded by the mobile gateway after caching the content.
10. The system of claim 9, further comprising a delete cache content unit for deleting cache content in the CDN, comprising:
the counting unit is used for carrying out new statistics on the service flow and the service quality of the content returned by the CDN responding to the new content request of the mobile terminal after the mobile gateway forwards the cache content to the mobile terminal;
a reporting unit, configured to report a new statistical result of the service traffic and the service quality to a service traffic analyzer by the mobile gateway;
a decision unit, configured to compare the new statistical result with a statistical threshold range by the traffic analyzer, and decide whether the content needs to be deleted;
and the deleting unit is used for deciding to delete the cache content in the CDN when the statistical result is lower than the statistical threshold range.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510594062.4A CN106549987B (en) | 2015-09-17 | 2015-09-17 | Method, device and system for deciding cache content in CDN (content delivery network) by mobile network |
PCT/CN2016/084325 WO2017045438A1 (en) | 2015-09-17 | 2016-06-01 | Content caching method, apparatus, and system in mobile network decision cdn |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510594062.4A CN106549987B (en) | 2015-09-17 | 2015-09-17 | Method, device and system for deciding cache content in CDN (content delivery network) by mobile network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106549987A CN106549987A (en) | 2017-03-29 |
CN106549987B true CN106549987B (en) | 2020-06-05 |
Family
ID=58288048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510594062.4A Active CN106549987B (en) | 2015-09-17 | 2015-09-17 | Method, device and system for deciding cache content in CDN (content delivery network) by mobile network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106549987B (en) |
WO (1) | WO2017045438A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995836B (en) | 2017-12-29 | 2021-12-03 | 华为技术有限公司 | Cache decision method and device |
CN114385663B (en) * | 2022-03-23 | 2022-06-28 | 北京国联政信科技有限公司 | Method and apparatus for data processing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845523A (en) * | 2005-04-07 | 2006-10-11 | 华为技术有限公司 | Method for Realizing Quality of Service Negotiation in Interworking Wireless Local Area Network |
CN102378160A (en) * | 2010-08-23 | 2012-03-14 | 中兴通讯股份有限公司 | Local access-based load bearing establishing method and system |
CN102891830A (en) * | 2011-07-18 | 2013-01-23 | 中兴通讯股份有限公司 | Method and system for guaranteeing service quality of streaming service |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070239376A1 (en) * | 2006-01-30 | 2007-10-11 | Bruce Reiner | Method and apparatus for generating a patient quality assurance scorecard |
CN101056249A (en) * | 2006-04-12 | 2007-10-17 | 华为技术有限公司 | A method and system for transmitting the multicast broadcast information |
CN102118323B (en) * | 2010-01-04 | 2016-01-20 | 中兴通讯股份有限公司 | Content delivery network service device and content download method |
US8799480B2 (en) * | 2010-07-19 | 2014-08-05 | Movik Networks | Content pre-fetching and CDN assist methods in a wireless mobile network |
CN101989986A (en) * | 2010-10-28 | 2011-03-23 | 北京瑞汛世纪科技有限公司 | Method for inquiring service node, server and system |
CN104768079B (en) * | 2014-01-03 | 2018-10-02 | 腾讯科技(深圳)有限公司 | Multimedia resource distribution method, apparatus and system |
-
2015
- 2015-09-17 CN CN201510594062.4A patent/CN106549987B/en active Active
-
2016
- 2016-06-01 WO PCT/CN2016/084325 patent/WO2017045438A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845523A (en) * | 2005-04-07 | 2006-10-11 | 华为技术有限公司 | Method for Realizing Quality of Service Negotiation in Interworking Wireless Local Area Network |
CN102378160A (en) * | 2010-08-23 | 2012-03-14 | 中兴通讯股份有限公司 | Local access-based load bearing establishing method and system |
CN102891830A (en) * | 2011-07-18 | 2013-01-23 | 中兴通讯股份有限公司 | Method and system for guaranteeing service quality of streaming service |
Also Published As
Publication number | Publication date |
---|---|
WO2017045438A1 (en) | 2017-03-23 |
CN106549987A (en) | 2017-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107251525B (en) | Distributed server architecture for supporting predictive content pre-fetching services for mobile device users | |
CN102473162B (en) | System, apparatus for content delivery for internet traffic and methods thereof | |
CA2785940C (en) | Device, system and method of media delivery optimization | |
EP2625625B1 (en) | Method and apparatus for dynamic traffic steering | |
US7756130B1 (en) | Content engine for mobile communications systems | |
US20120198020A1 (en) | Content distribution within a service provider network | |
US20120084460A1 (en) | Method and system for dynamic traffic steering | |
US20140222967A1 (en) | Transparent media delivery and proxy | |
CN103841045B (en) | A kind of internet method for caching and processing, content detection subsystem and Cache systems | |
US9602378B2 (en) | Route decision method, content delivery apparatus, and content delivery network interconnection system | |
US20110105130A1 (en) | Back-channeled packeted data | |
CN102142990B (en) | Service usage monitoring method and device | |
US20140369188A1 (en) | Selective activation of network management policies of mobile devices in a mobile network | |
KR101795121B1 (en) | Mobile content delivery | |
US11252651B2 (en) | Network slice selection | |
US20150215187A1 (en) | Data Services in a Computer System | |
CN106993014A (en) | Method, device and system for caching content adjustment | |
CN103095606A (en) | Cache method based on policy control and cache system | |
CN105227396B (en) | A kind of inferior commending contents dissemination system and its method towards mobile communications network | |
CN106549987B (en) | Method, device and system for deciding cache content in CDN (content delivery network) by mobile network | |
CN108616509B (en) | Content processing method and network side device | |
CN103685344A (en) | Synergetic method and system for multiple P2P (point-to-point) cache peers | |
US20150172469A1 (en) | Method and Apparatus for Pre-Fetched Content Charging | |
US10694237B2 (en) | Wireless delivery of broadcast data | |
KR101360772B1 (en) | Mobile contents delivery method using a hand-over and apparatus therefor |
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 |