WO2017140247A1 - Mobile base station cdn system and service method therefor - Google Patents

Mobile base station cdn system and service method therefor Download PDF

Info

Publication number
WO2017140247A1
WO2017140247A1 PCT/CN2017/073673 CN2017073673W WO2017140247A1 WO 2017140247 A1 WO2017140247 A1 WO 2017140247A1 CN 2017073673 W CN2017073673 W CN 2017073673W WO 2017140247 A1 WO2017140247 A1 WO 2017140247A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
http request
mobile base
remote terminal
cdn system
Prior art date
Application number
PCT/CN2017/073673
Other languages
French (fr)
Chinese (zh)
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 WO2017140247A1 publication Critical patent/WO2017140247A1/en

Links

Images

Classifications

    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/55Push-based network services
    • 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/5683Storage of data provided by user terminals, i.e. reverse caching

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a mobile base station CDN system and a service method thereof.
  • the CDN Content Delivery Network
  • the CDN is generally installed on the entrance side of the Internet to provide an accelerated service for the user, but the traditional CDN is far away from the user, and the user requests to transmit through the layer to reach the backbone network, and finally
  • To the Internet not only is the cache acceleration effect unsatisfactory, but it is also impossible to provide targeted services based on user access information of a particular base station, such as directed cache acceleration, directed push, and the like.
  • the present invention provides a mobile base station CDN system and a service method thereof, and the main purpose thereof is to solve the technical problem that the CDN cannot provide a directed service according to user access information of a specific base station in the related art.
  • the present invention provides a service method for a mobile base station CDN system, which deploys a CDN system to a mobile base station, and the service method of the mobile base station CDN system includes:
  • the mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule.
  • the step of providing the remote terminal with the service corresponding to the preset rule by the mobile base station CDN system according to the received RADIUS request and the HTTP request sent by the remote terminal includes:
  • the obtained access statistical information corresponding to the base station identifier Updating, according to the access information, the obtained access statistical information corresponding to the base station identifier, where the access information includes an access address;
  • the mobile base station CDN system When the access statistical information matches the preset rule, the mobile base station CDN system provides the remote terminal with the service corresponding to the preset rule.
  • the step of the mobile base station CDN system providing the remote terminal with the service corresponding to the preset rule, when the access statistics information is matched with the preset rule includes:
  • the content corresponding to the HTTP request is obtained from the buffer area;
  • the mobile base station CDN system When the content corresponding to the HTTP request is obtained from the buffer area, the mobile base station CDN system sends the content corresponding to the HTTP request in the buffer area to the user identifier corresponding to the HTTP request.
  • Remote terminal When the content corresponding to the HTTP request is obtained from the buffer area, the mobile base station CDN system sends the content corresponding to the HTTP request in the buffer area to the user identifier corresponding to the HTTP request. Remote terminal.
  • the service method of the mobile base station CDN system further includes the following steps:
  • the mobile base station CDN system downloads the content corresponding to the HTTP request from the source server corresponding to the HTTP request and responds to the remote terminal;
  • the step of the mobile base station CDN system providing the remote terminal with the service corresponding to the preset rule, when the access statistics information is matched with the preset rule includes:
  • the mobile base station CDN system pushes the configured advertisement information to the remote terminal corresponding to the user identifier.
  • the service method of the mobile base station CDN system further includes the following steps:
  • the present invention further provides a mobile base station CDN system, which deploys a CDN system in a mobile base station, where the mobile base station CDN system includes:
  • a message receiving module configured to receive a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
  • a service control module configured to receive a RADIUS request according to the received remote terminal And the HTTP request, the mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule.
  • the service control module comprises:
  • the parsing unit is configured to: when receiving the remote user dial-up authentication RADIUS request sent by the remote terminal, parse the RADIUS request to obtain the user identifier and the base station identifier and associate;
  • An obtaining unit configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received;
  • an update unit configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received;
  • an execution unit configured to provide the remote terminal with a service corresponding to the preset rule when the access statistics match with the preset rule.
  • the execution unit comprises:
  • the cache acquisition sub-unit is configured to: when the access statistics meet the configured preset rule, and the service corresponding to the preset rule is cache acceleration, obtain the content corresponding to the HTTP request from the cache area;
  • a cache acceleration subunit configured to: when the content corresponding to the HTTP request is obtained from the cache area, send the content corresponding to the HTTP request in the buffer area to the user identifier corresponding to the HTTP request Remote terminal.
  • the cache acquisition subunit is further configured to: when the content corresponding to the HTTP request is not obtained from the cache area, download the content corresponding to the HTTP request from the source server corresponding to the HTTP request, and respond to the Describe a remote terminal; and save content corresponding to the HTTP request to the buffer area.
  • the execution unit further includes:
  • the directional push sub-unit is configured to push the configured advertisement information to the remote terminal corresponding to the user identifier when the access statistics meet the configured preset rule and the service corresponding to the preset rule is an advertisement push.
  • the mobile base station CDN system further includes:
  • a configuration module configured to update the preset rule according to the updated access statistics.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium stores an execution instruction, where the execution instruction is used to perform one or a combination of the steps in the foregoing method embodiments.
  • the mobile base station CDN system and the service method thereof provided by the present invention set a CDN server at the base station, and preset a preset rule.
  • the remote terminal parsing the request to obtain the user identifier and the base station identifier and correlating
  • the remote terminal sends an HTTP request to access the network
  • the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained, and the access statistical information corresponding to the base station identifier is updated, and the access statistical information is determined to be consistent with
  • the preset rules are matched, and if yes, the remote terminal is provided with a service corresponding to the preset rule, such as cache acceleration, directional push, etc., which solves the technology that the CDN cannot provide the directed service according to the user access information of a specific base station in the related art. problem.
  • FIG. 1 is a flowchart of a first embodiment of a service method of a mobile base station CDN system according to the present invention
  • FIG. 2 is a schematic flowchart of a step of providing a service corresponding to a preset rule in a first embodiment of a service method of a mobile base station CDN system according to the present invention
  • FIG. 3 is a schematic flowchart of a step of providing a cache acceleration service in a second embodiment of a service method of a mobile base station CDN system according to the present invention
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a mobile base station CDN system according to the present invention.
  • FIG. 5 is a schematic diagram of a refinement function module of a service control module in a first embodiment of a mobile base station CDN system according to the present invention
  • FIG. 6 is a schematic diagram of a refinement function module of an execution unit in a second embodiment of a mobile base station CDN system according to the present invention.
  • the invention provides a service method for a mobile base station CDN system.
  • FIG. 1 it is a flowchart of a first embodiment of a service method for a mobile base station CDN system according to the present invention.
  • the service method of the mobile base station CDN system includes:
  • Step S10 receiving a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
  • Step S20 The mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule according to the received RADIUS request and the HTTP request sent by the remote terminal.
  • the base station is an access point for the user to access the Internet.
  • the CDN server is deployed in the nodeB of the base station, and the CDN server can directly obtain the RADIUS (Remote Authentication Dial In User Service) sent by the user to the base station.
  • RADIUS Remote Authentication Dial In User Service
  • a service request and an HTTP (Hyper Text Transfer Protocol) request and a total server is set up on the basis of a plurality of base station CDNs, and the obtained request is parsed and processed.
  • step S20 may include the following refinement steps:
  • Step S21 When receiving the remote user dial-up authentication RADIUS request sent by the remote terminal, parse the RADIUS request to obtain the user identifier and the base station identifier and associate.
  • the terminal When a user uses a mobile phone, a tablet, or the like to access the Internet through mobile traffic, when the user turns on the mobile traffic service provided by the operator, the terminal sends a remote user dialing authentication request to the base station to access the network, and the RADIUS request.
  • the RADIUS request includes a user identifier and a base station identifier, and the user identifier is associated with the base station identifier, where the user identifier may include a mobile phone number, an IP address of the user, or identifier information of the user terminal, where the base station identifier may be a base station ID or Information such as the specific location of the base station.
  • the RADIUS request Upon receiving the RADIUS request sent by the remote terminal, the RADIUS request is parsed, and the user identifier and the base station identifier included therein are obtained and associated, for example, the obtained mobile phone number, the user's IP address, or the identification information of the user terminal. User identification information is associated with the base station ID.
  • step S22 when receiving the HTTP request sent by the remote terminal, the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained.
  • Step S23 Update the obtained access statistical information corresponding to the acquired base station identifier according to the access information, where the access information includes an access address.
  • the user accesses the website by sending an HTTP request, and after receiving the HTTP request sent by the remote terminal, intercepts the HTTP request, and obtains the URL of the HTTP request accessed by the user (Uniform) Resource Locator, Uniform Resource Locator, domain information of the URL accessed by the user, and access information such as access time, and user identification, and obtain the base station identifier associated with the user identifier, since the URL accessed by each user may be duplicated, for example If there are multiple users accessing the same URL, after the access information is obtained, the access statistics corresponding to the pre-established base station identifier are updated, because the HTTP request is received for different base stations.
  • the access request of each base station needs to be separately counted, including the number of times the URL is accessed, and the access time. Therefore, each time an HTTP request is received, the number of accesses of the URL corresponding to the HTTP request is updated, and access is accessed. Information such as time, can be obtained based on this information Access heat a URL address, for example, the number of times a URL address to be accessed in a certain period of time.
  • Step S24 When the access statistical information matches the preset rule, the mobile base station CDN system provides the remote terminal with the service corresponding to the preset rule.
  • Preset rules can be set in advance, for example, setting a VIP mobile phone number, or when a certain number of URLs are accessed a certain number of times, or for an access user of a particular base station, and configuring a corresponding targeting service for the preset rule, such as orientation Accelerate, directional push, and more.
  • the remote terminal that sends the RADIUS request and the HTTP request is provided with services corresponding to the preset rule, such as cache acceleration, advertisement push, bandwidth control, and redirection.
  • the above-mentioned access statistics reflect the user's access hotspots, for example, such as counting hotspot videos in a specific base station area, popular websites, etc., and then targeted acceleration of the TOP100 website resources, combined with TOP100 website access and video, through big data calculation.
  • the corresponding recommendation information can be pushed for the specific user Internet access of a certain base station. For example, in the base station of the commercial street, the corresponding information can be collected through the CDN, and the link of the promotion business near the base station can be pushed, for example, the base station in the school dormitory. You can push relevant advertising information by collecting videos from student hotspots in the recent period. It can not only optimize the user experience, but also fully grasp the user's behavior characteristics, and achieve refined traffic management in the true sense.
  • the service method of the mobile base station CDN system proposed in this embodiment sets a CDN server at the base station, and presets a preset rule, and when receiving the RADIUS request sent by the remote terminal, the solution is The request is obtained to obtain the user identifier and the base station identifier and is associated with each other.
  • the remote terminal sends an HTTP request to access the network, the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained, and the base station identifier is updated.
  • Accessing the statistical information determining whether the access statistical information is consistent with the preset rule, and if yes, providing the remote terminal with a service corresponding to the preset rule, such as cache acceleration, directional push, etc., solving the related technology that the CDN cannot be based on a certain A technical problem of providing targeted services by user access information of a particular base station.
  • step S24 includes the following refinement steps:
  • Step S241 When the access statistical information meets the configured preset rule, and the service corresponding to the preset rule is cache acceleration, the content corresponding to the HTTP request is obtained from the buffer area.
  • step S242 when the content corresponding to the HTTP request is obtained from the buffer area, the content corresponding to the HTTP request in the buffer area is sent to the remote terminal corresponding to the user identifier.
  • the pre-configured preset rule corresponds to the service providing the cache acceleration to the remote terminal that sends the RADIUS request and the HTTP request and meets the preset rule
  • the content corresponding to the HTTP request obtained from the buffer is sent to the remote device. terminal.
  • step S24 further includes:
  • the content corresponding to the HTTP request is downloaded from the source server corresponding to the HTTP request and responds to the remote terminal; and the content corresponding to the HTTP request is saved. To the buffer area.
  • the content corresponding to the HTTP request is not cached in the cache area, and the HTTP server corresponding to the HTTP request corresponding to the HTTP request is obtained.
  • the content is in response to the remote terminal that sends the HTTP request, and saves the acquired content to the buffer area, and when receiving the request conforming to the preset rule again, provides a cache acceleration service for the corresponding remote terminal.
  • the HTTP request is directly transparently proxyed to the destination address, and no processing is performed on the request.
  • a user who is on the Internet near a certain base station provides a cache acceleration service, assuming that The preset rule is set to 100 times for the URL of the video A of Youku website, and the corresponding service is cache acceleration.
  • the user accesses the Internet through the base station, the user first parses the RADIUS request sent by the user's terminal, and parses the request to obtain the user identifier and the base station identifier.
  • the user accesses the video A of the Youku website, obtains the access information such as the URL address of the video A, and updates the URL.
  • the number of accesses of the address if the number of accesses reaches 100, the content corresponding to the HTTP request is cached, wherein the statistics of the number of accesses may be an access request sent by different users, and the HTTP request is received when the same HTTP request is subsequently received.
  • the corresponding remote terminal provides a cache acceleration service, that is, the content corresponding to the request in the cache can be directly sent to the remote terminal without having to request the corresponding content from the source server, and the response time of the HTTP request is accelerated for the remote terminal. Users bring a better online experience while achieving value-added traffic. The above is just a simple example. In actual applications, you can create a variety of preset rules according to the needs of different operators to achieve a more refined service experience.
  • other directed services such as directional push, etc.
  • the access statistical information meets the configured preset rule
  • the service corresponding to the preset rule is an advertisement push
  • the configured advertisement information is pushed to the remote terminal that sends the HTTP request that meets the preset rule.
  • the method further includes the following steps:
  • the preset rules can be updated according to the changed information; or the operator can set preset rules according to their own needs, for example, providing targeted services for specific VIP users. Or provide targeted services for users in a specific location, or provide targeted services for users accessing a URL.
  • the invention also proposes a mobile base station CDN system.
  • FIG. 4 it is a schematic diagram of functional modules of a first embodiment of a mobile base station CDN system according to the present invention.
  • the CDN system is deployed at a mobile base station, the mobile base station CDN system comprising:
  • the message receiving module 10 is configured to receive a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
  • the service control module 20 is configured to send the RADIUS according to the received remote terminal. Summing an HTTP request, the mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule.
  • the base station is an access point for the user to access the Internet.
  • the CDN server is deployed in the nodeB of the base station, and the CDN server can directly obtain the RADIUS (Remote Authentication Dial In User Service) sent by the user to the base station.
  • the service request and the HTTP (Hyper Text Transfer Protocol) request and a total server is set up on the basis of the plurality of base station CDNs, as the mobile base station CDN system, and the obtained request is parsed and processed.
  • the service control module 20 may include the following units:
  • the parsing unit 21 is configured to parse the RADIUS request to obtain the user identifier and the base station identifier and associate with the remote user dialing authentication RADIUS request sent by the remote terminal.
  • the terminal When a user uses a mobile phone, a tablet, or the like to access the Internet through mobile traffic, when the user turns on the mobile traffic service provided by the operator, the terminal sends a remote user dialing authentication request to the base station to access the network, and the RADIUS request.
  • the RADIUS request includes a user identifier and a base station identifier, and the user identifier is associated with the base station identifier, where the user identifier may include a mobile phone number, an IP address of the user, or identifier information of the user terminal, where the base station identifier may be a base station ID or Information such as the specific location of the base station.
  • the parsing unit 21 parses the RADIUS request, and obtains and associates the user identifier and the base station identifier contained therein, for example, the acquired mobile phone number, the user's IP address, or the user terminal.
  • User identification information such as identification information is associated with the base station ID.
  • the obtaining unit 22 is configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received.
  • the updating unit 23 is configured to update the obtained access statistical information corresponding to the acquired base station identifier according to the access information, where the access information includes an access address.
  • the user accesses the website by sending an HTTP request.
  • the obtaining unit 22 intercepts the HTTP request, and obtains the HTTP request accessed by the user.
  • URL Uniform Resource Locator
  • domain information of the URL accessed by the user and access information such as access time, and user identification, and acquire the base station identifier associated with the user identifier, because each user
  • the accessed URL may be duplicated. For example, if multiple users access the same URL, after the access information is obtained, the access statistics corresponding to the pre-established base station identifier are updated because an HTTP request may be received.
  • the acquisition unit 22 updates the HTTP every time an HTTP request is received.
  • the number of accesses of the corresponding URL and the access time may be obtained, and the access popularity of a certain URL address may be obtained according to the information, for example, the number of times a certain URL address is accessed within a certain period of time.
  • the executing unit 24 is configured to provide the remote terminal with the service corresponding to the preset rule when the access statistical information matches the preset rule.
  • Preset rules can be set in advance, for example, setting a VIP mobile phone number, or when a certain number of URLs are accessed a certain number of times, or for an access user of a particular base station, and configuring a corresponding targeting service for the preset rule, such as orientation Accelerate, directional push, and more.
  • the executing unit 24 provides the service corresponding to the preset rule, such as cache acceleration and advertisement push, for the remote terminal that sends the RADIUS request and the HTTP request. , bandwidth control, redirection, etc.
  • the above-mentioned access statistics reflect the user's access hotspots, for example, such as counting hotspot videos in a specific base station area, popular websites, etc., and then targeted acceleration of the TOP100 website resources, combined with TOP100 website access and video, through big data calculation.
  • the base station, the execution unit 24 can push the relevant advertisement information by collecting the video viewed by the student hotspot in the recent period of time. It can not only optimize the user experience, but also fully grasp the user's behavior characteristics, and achieve refined traffic management in the true sense.
  • the mobile base station CDN system in this embodiment sets a CDN server at the base station, and presets a preset rule.
  • the request is parsed to obtain the user identifier and the base station identifier and are associated with each other.
  • the terminal sends an HTTP request to access the network, the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained, and the access statistics corresponding to the base station identifier are updated, and the access statistics are determined to meet the preset rules.
  • Matching if yes, provide the remote terminal with a service corresponding to the preset rule, for example
  • a service corresponding to the preset rule for example, cache acceleration, directional push, and the like solve the technical problem that the CDN cannot provide a directed service according to user access information of a specific base station in the related art.
  • execution unit 24 includes the following subunits:
  • the cache acquisition sub-unit 241 is configured to acquire the content corresponding to the HTTP request from the cache area when the access statistics meet the configured preset rule and the service corresponding to the preset rule is cache acceleration.
  • the cache acceleration sub-unit 242 is configured to: when the content corresponding to the HTTP request is obtained from the buffer area, send the content corresponding to the HTTP request in the buffer area to the user identifier in response to the HTTP request Corresponding remote terminal.
  • the cache acquisition sub-unit 241 caches the content corresponding to the HTTP request, and caches the content.
  • the acceleration subunit 242 sends it to the remote terminal.
  • the cache obtaining sub-unit 241 is further configured to: when the content corresponding to the HTTP request is not obtained from the buffer, download the content corresponding to the HTTP request from the source server corresponding to the HTTP request, and respond to the Describe a remote terminal; and save content corresponding to the HTTP request to the buffer area.
  • the content corresponding to the HTTP request is not cached in the cache area, and the HTTP server corresponding to the HTTP request corresponding to the HTTP request is obtained.
  • the content is in response to the remote terminal that sends the HTTP request, and saves the acquired content to the buffer area, and when receiving the request conforming to the preset rule again, provides a cache acceleration service for the corresponding remote terminal.
  • the executing unit 24 directly transparently forwards the HTTP request to the destination address, and does not perform any processing on the request.
  • a user who accesses the Internet near a certain base station provides a cache acceleration service. It is assumed that the preset rule is configured to access the URL of the video A of the Youku website by 100 times, and the corresponding service is cache acceleration.
  • the parsing unit 21 first parses the user's terminal. The RADIUS request is sent, and the request is obtained to obtain the user identifier and the base station identifier.
  • the user accesses the video A of the Youku website, and the obtaining unit 22 obtains the access information such as the URL address of the video A, and updates the access times of the URL address.
  • the cache acquisition sub-unit 241 caches the content corresponding to the HTTP request, wherein the statistics of the number of access times may be an access request sent by different users, and when the same HTTP request is received subsequently, the cache acceleration sub-unit 242 is HTTP.
  • Requesting the corresponding remote terminal to provide the cache acceleration service that is, the content corresponding to the request in the cache can be directly sent to the remote terminal without having to request the corresponding content from the source server, and the response time of the HTTP request is accelerated for the remote terminal. Bring a better online experience to users and increase traffic.
  • the above is just a simple example. In actual applications, you can create a variety of preset rules according to the needs of different operators to achieve a more refined service experience.
  • the execution unit 24 may further include a directional push subunit, configured to send to the sending when the user identifier and the access statistical information meet the configured preset rule, and the service corresponding to the preset rule is an advertisement push The remote terminal of the HTTP request of the preset rule pushes the configured advertisement information.
  • system further includes a configuration module configured to update the preset rule according to the updated access statistics.
  • the configuration module updates the preset rules according to the access statistics. For example, when the hot URL changes, the preset rules can be updated according to the changed information; or the operator can set preset rules according to the needs of the user, for example, for a specific VIP user. Oriented services, or provide targeted services for users in a specific location, or provide targeted services for users accessing a URL.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium stores an execution instruction, where the execution instruction is used to perform one or a combination of the steps in the foregoing method embodiments.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the mobile base station CDN system and the service method thereof provided by the embodiments of the present invention have the following beneficial effects: the technical problem that the CDN cannot provide the directed service according to the user access information of a specific base station is solved.

Abstract

Disclosed is a service method of a mobile base station CDN system. The CDN system is deployed in a mobile base station. The method process comprises: receiving a Remote Authentication Dial in User Service (RADIUS) request, sent by a remote terminal, and an HTTP request; and according to the received RADIUS request sent by the remote terminal and the HTTP request, the mobile base station CDN system providing a service corresponding to a pre-set rule for the remote terminal. Also proposed is a mobile base station CDN system. The present invention solves the technical problem in the relevant art that a CDN cannot provide a directed service according to user access information about a certain base station.

Description

移动基站CDN系统及其服务方法Mobile base station CDN system and service method thereof 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种移动基站CDN系统及其服务方法。The present invention relates to the field of communications technologies, and in particular, to a mobile base station CDN system and a service method thereof.
背景技术Background technique
相关技术中的CDN(Content Delivery Network,内容分发网络)一般是设置在互联网的入口侧,为用户提供加速服务,但是传统的CDN距离用户较远,用户请求经过层层传输,到达骨干网,最后到互联网,不仅缓存加速效果不理想,而且无法根据某一特定基站的用户访问信息提供定向服务,例如定向缓存加速、定向推送等定向服务。The CDN (Content Delivery Network) in the related art is generally installed on the entrance side of the Internet to provide an accelerated service for the user, but the traditional CDN is far away from the user, and the user requests to transmit through the layer to reach the backbone network, and finally To the Internet, not only is the cache acceleration effect unsatisfactory, but it is also impossible to provide targeted services based on user access information of a particular base station, such as directed cache acceleration, directed push, and the like.
发明内容Summary of the invention
本发明提供一种移动基站CDN系统及其服务方法,其主要目的在于解决相关技术中CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。The present invention provides a mobile base station CDN system and a service method thereof, and the main purpose thereof is to solve the technical problem that the CDN cannot provide a directed service according to user access information of a specific base station in the related art.
为实现上述目的,本发明提供一种移动基站CDN系统的服务方法,将CDN系统部署在移动基站,该移动基站CDN系统的服务方法包括:To achieve the above objective, the present invention provides a service method for a mobile base station CDN system, which deploys a CDN system to a mobile base station, and the service method of the mobile base station CDN system includes:
接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;Receiving a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。And according to the received RADIUS request and the HTTP request sent by the remote terminal, the mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule.
优选地,所述根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务的步骤包括:Preferably, the step of providing the remote terminal with the service corresponding to the preset rule by the mobile base station CDN system according to the received RADIUS request and the HTTP request sent by the remote terminal includes:
接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联;Receiving the remote user dial-up authentication RADIUS request sent by the remote terminal, parsing the RADIUS request to obtain the user identifier and the base station identifier and correlating;
接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识; Receiving the HTTP request sent by the remote terminal, acquiring the access information and the user identifier corresponding to the HTTP request, and acquiring the base station identifier associated with the user identifier;
根据所述访问信息更新获取的所述基站标识对应的访问统计信息,其中,所述访问信息包括访问地址;Updating, according to the access information, the obtained access statistical information corresponding to the base station identifier, where the access information includes an access address;
当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务。When the access statistical information matches the preset rule, the mobile base station CDN system provides the remote terminal with the service corresponding to the preset rule.
优选地,所述当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务的步骤包括:Preferably, the step of the mobile base station CDN system providing the remote terminal with the service corresponding to the preset rule, when the access statistics information is matched with the preset rule, includes:
当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容;When the access statistics meet the configured preset rules, and the service corresponding to the preset rule is cache acceleration, the content corresponding to the HTTP request is obtained from the buffer area;
当从缓存区中获取到所述HTTP请求对应的内容时,所述移动基站CDN系统响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。When the content corresponding to the HTTP request is obtained from the buffer area, the mobile base station CDN system sends the content corresponding to the HTTP request in the buffer area to the user identifier corresponding to the HTTP request. Remote terminal.
优选地,所述从缓存区获取所述HTTP请求对应的内容的步骤之后,所述移动基站CDN系统的服务方法还包括步骤:Preferably, after the step of acquiring the content corresponding to the HTTP request from the buffer area, the service method of the mobile base station CDN system further includes the following steps:
当从缓存区中获取不到所述HTTP请求对应的内容时,所述移动基站CDN系统从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;When the content corresponding to the HTTP request is not obtained from the buffer area, the mobile base station CDN system downloads the content corresponding to the HTTP request from the source server corresponding to the HTTP request and responds to the remote terminal;
将所述HTTP请求对应的内容保存至所述缓存区。Saving content corresponding to the HTTP request to the cache area.
优选地,所述当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务的步骤包括:Preferably, the step of the mobile base station CDN system providing the remote terminal with the service corresponding to the preset rule, when the access statistics information is matched with the preset rule, includes:
当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,所述移动基站CDN系统向所述用户标识对应的远程终端推送配置的广告信息。When the access statistical information meets the configured preset rule, and the service corresponding to the preset rule is an advertisement push, the mobile base station CDN system pushes the configured advertisement information to the remote terminal corresponding to the user identifier.
优选地,所述移动基站CDN系统的服务方法还包括步骤:Preferably, the service method of the mobile base station CDN system further includes the following steps:
根据更新的所述访问统计信息更新所述预置规则。Updating the preset rule according to the updated access statistics.
此外,为实现上述目的,本发明还提供一种移动基站CDN系统,将CDN系统部署在移动基站,该移动基站CDN系统包括:In addition, to achieve the above object, the present invention further provides a mobile base station CDN system, which deploys a CDN system in a mobile base station, where the mobile base station CDN system includes:
报文接收模块,设置为接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;a message receiving module, configured to receive a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
服务控制模块,设置为根据接收到的所述远程终端发送的RADIUS请求 和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。a service control module, configured to receive a RADIUS request according to the received remote terminal And the HTTP request, the mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule.
优选地,所述服务控制模块包括:Preferably, the service control module comprises:
解析单元,设置为接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联;The parsing unit is configured to: when receiving the remote user dial-up authentication RADIUS request sent by the remote terminal, parse the RADIUS request to obtain the user identifier and the base station identifier and associate;
获取单元,设置为接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;An obtaining unit, configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received;
更新单元,设置为接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;And an update unit, configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received;
执行单元,设置为当所述访问统计信息与预置规则匹配时,为所述远程终端提供所述预置规则对应的服务。And an execution unit, configured to provide the remote terminal with a service corresponding to the preset rule when the access statistics match with the preset rule.
优选地,所述执行单元包括:Preferably, the execution unit comprises:
缓存获取子单元,设置为当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容;The cache acquisition sub-unit is configured to: when the access statistics meet the configured preset rule, and the service corresponding to the preset rule is cache acceleration, obtain the content corresponding to the HTTP request from the cache area;
缓存加速子单元,设置为当从缓存区中获取到所述HTTP请求对应的内容时,响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。a cache acceleration subunit, configured to: when the content corresponding to the HTTP request is obtained from the cache area, send the content corresponding to the HTTP request in the buffer area to the user identifier corresponding to the HTTP request Remote terminal.
优选地,所述缓存获取子单元,还设置为当从缓存区中获取不到所述HTTP请求对应的内容时,从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;以及将所述HTTP请求对应的内容保存至所述缓存区。Preferably, the cache acquisition subunit is further configured to: when the content corresponding to the HTTP request is not obtained from the cache area, download the content corresponding to the HTTP request from the source server corresponding to the HTTP request, and respond to the Describe a remote terminal; and save content corresponding to the HTTP request to the buffer area.
优选地,所述执行单元还包括:Preferably, the execution unit further includes:
定向推送子单元,设置为当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,向所述用户标识对应的远程终端推送配置的广告信息。The directional push sub-unit is configured to push the configured advertisement information to the remote terminal corresponding to the user identifier when the access statistics meet the configured preset rule and the service corresponding to the preset rule is an advertisement push.
优选地,所述移动基站CDN系统还包括:Preferably, the mobile base station CDN system further includes:
配置模块,设置为根据更新的所述访问统计信息更新所述预置规则。 And a configuration module, configured to update the preset rule according to the updated access statistics.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质中存储有执行指令,该执行指令用于执行上述方法实施例中的步骤之一或其组合。Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, the foregoing storage medium stores an execution instruction, where the execution instruction is used to perform one or a combination of the steps in the foregoing method embodiments.
本发明提出的移动基站CDN系统及其服务方法,在基站处设置CDN服务器,并预先设置预置规则,在接收到远程终端发送的RADIUS请求时,解析该请求以获取用户标识和基站标识并关联,当远程终端发送HTTP请求访问网络时,获取HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识,并更新基站标识对应的访问统计信息,判断访问统计信息是否符合与预置规则匹配,若符合,则为该远程终端提供预置规则对应的服务,例如缓存加速,定向推送等,解决了相关技术中CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。The mobile base station CDN system and the service method thereof provided by the present invention set a CDN server at the base station, and preset a preset rule. When receiving the RADIUS request sent by the remote terminal, parsing the request to obtain the user identifier and the base station identifier and correlating When the remote terminal sends an HTTP request to access the network, the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained, and the access statistical information corresponding to the base station identifier is updated, and the access statistical information is determined to be consistent with The preset rules are matched, and if yes, the remote terminal is provided with a service corresponding to the preset rule, such as cache acceleration, directional push, etc., which solves the technology that the CDN cannot provide the directed service according to the user access information of a specific base station in the related art. problem.
附图说明DRAWINGS
图1为本发明移动基站CDN系统的服务方法第一实施例的流程图;1 is a flowchart of a first embodiment of a service method of a mobile base station CDN system according to the present invention;
图2为本发明移动基站CDN系统的服务方法第一实施例中提供预置规则对应的服务的步骤的细化流程示意图;2 is a schematic flowchart of a step of providing a service corresponding to a preset rule in a first embodiment of a service method of a mobile base station CDN system according to the present invention;
图3为本发明移动基站CDN系统的服务方法第二实施例中提供缓存加速服务的步骤的细化流程示意图;3 is a schematic flowchart of a step of providing a cache acceleration service in a second embodiment of a service method of a mobile base station CDN system according to the present invention;
图4为本发明移动基站CDN系统第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of a mobile base station CDN system according to the present invention;
图5为本发明移动基站CDN系统第一实施例中服务控制模块的细化功能模块示意图;5 is a schematic diagram of a refinement function module of a service control module in a first embodiment of a mobile base station CDN system according to the present invention;
图6为本发明移动基站CDN系统第二实施例中执行单元的细化功能模块示意图。FIG. 6 is a schematic diagram of a refinement function module of an execution unit in a second embodiment of a mobile base station CDN system according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限 定本发明。It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to The invention is defined.
本发明提供一种移动基站CDN系统的服务方法。The invention provides a service method for a mobile base station CDN system.
参照图1所示,为本发明移动基站CDN系统的服务方法第一实施例的流程图。Referring to FIG. 1 , it is a flowchart of a first embodiment of a service method for a mobile base station CDN system according to the present invention.
在第一实施例中,该移动基站CDN系统的服务方法包括:In the first embodiment, the service method of the mobile base station CDN system includes:
步骤S10,接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;Step S10, receiving a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
步骤S20,根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。Step S20: The mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule according to the received RADIUS request and the HTTP request sent by the remote terminal.
基站是用户访问互联网的接入点,本实施例中,在基站的nodeB中部署CDN服务器,该CDN服务器可以直接获取到用户向该基站发送的RADIUS(Remote Authentication Dial In User Service,远程用户拨号认证服务)请求和HTTP(Hyper Text Transfer Protocol,超文本传输协议)请求,在多个基站CDN的基础上再设置一个总服务器,对获取到的请求进行解析并处理。The base station is an access point for the user to access the Internet. In this embodiment, the CDN server is deployed in the nodeB of the base station, and the CDN server can directly obtain the RADIUS (Remote Authentication Dial In User Service) sent by the user to the base station. A service request and an HTTP (Hyper Text Transfer Protocol) request, and a total server is set up on the basis of a plurality of base station CDNs, and the obtained request is parsed and processed.
参照图2所示,步骤S20可以包括以下细化步骤:Referring to FIG. 2, step S20 may include the following refinement steps:
步骤S21,接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联。Step S21: When receiving the remote user dial-up authentication RADIUS request sent by the remote terminal, parse the RADIUS request to obtain the user identifier and the base station identifier and associate.
当用户使用手机、平板电脑等终端通过移动流量上网时,用户在终端开启了基于运营商提供的移动流量上网服务时,终端会向基站发送远程用户拨号认证请求以接入网络,及上述RADIUS请求,该RADIUS请求中包含有用户标识和基站标识,将用户标识和基站标识关联,其中,用户标识可以包括手机号码、用户的IP地址、或者用户终端的标识信息等,基站标识可以是基站ID或者基站的具体位置等信息。在接收到远程终端发送的RADIUS请求时,对该RADIUS请求进行解析,获取到其中包含的用户标识和基站标识并关联,例如将获取到的手机号码、用户的IP地址或者用户终端的标识信息等用户标识信息与基站ID关联。When a user uses a mobile phone, a tablet, or the like to access the Internet through mobile traffic, when the user turns on the mobile traffic service provided by the operator, the terminal sends a remote user dialing authentication request to the base station to access the network, and the RADIUS request. The RADIUS request includes a user identifier and a base station identifier, and the user identifier is associated with the base station identifier, where the user identifier may include a mobile phone number, an IP address of the user, or identifier information of the user terminal, where the base station identifier may be a base station ID or Information such as the specific location of the base station. Upon receiving the RADIUS request sent by the remote terminal, the RADIUS request is parsed, and the user identifier and the base station identifier included therein are obtained and associated, for example, the obtained mobile phone number, the user's IP address, or the identification information of the user terminal. User identification information is associated with the base station ID.
步骤S22,接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识。In step S22, when receiving the HTTP request sent by the remote terminal, the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained.
步骤S23,根据所述访问信息更新获取的所述基站标识对应的访问统计信息,其中,所述访问信息包括访问地址。 Step S23: Update the obtained access statistical information corresponding to the acquired base station identifier according to the access information, where the access information includes an access address.
远程终端在成功实现远程拨号认证之后,用户通过发送HTTP请求访问网站,在接收到上述远程终端发送的HTTP请求之后,对该HTTP请求做拦截处理,从中获取到用户访问的HTTP请求的URL(Uniform Resource Locator,统一资源定位符)、用户访问的URL的域信息、以及访问时间等访问信息,以及用户标识,并获取与用户标识关联的基站标识,由于每个用户访问的URL可能存在重复,例如,存在多个用户访问同一个URL的情况,因此,在获取到上述访问信息后,对预先建立的基站标识对应的访问统计信息进行更新,,因为接收到HTTP请求可能是针对不同的基站,因此需要对每一个基站的访问请求进行分别统计,其中包括,URL被访问的次数,以及访问时间等,因此,每接收到一个HTTP请求,就更新一次该HTTP请求对应的URL的访问次数,以及访问时间等信息,可以根据这些信息获取某一URL地址的访问热度,例如,某一URL地址在一定时间段内被访问的次数。After the remote terminal successfully implements the remote dialing authentication, the user accesses the website by sending an HTTP request, and after receiving the HTTP request sent by the remote terminal, intercepts the HTTP request, and obtains the URL of the HTTP request accessed by the user (Uniform) Resource Locator, Uniform Resource Locator, domain information of the URL accessed by the user, and access information such as access time, and user identification, and obtain the base station identifier associated with the user identifier, since the URL accessed by each user may be duplicated, for example If there are multiple users accessing the same URL, after the access information is obtained, the access statistics corresponding to the pre-established base station identifier are updated, because the HTTP request is received for different base stations. The access request of each base station needs to be separately counted, including the number of times the URL is accessed, and the access time. Therefore, each time an HTTP request is received, the number of accesses of the URL corresponding to the HTTP request is updated, and access is accessed. Information such as time, can be obtained based on this information Access heat a URL address, for example, the number of times a URL address to be accessed in a certain period of time.
步骤S24,当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务。Step S24: When the access statistical information matches the preset rule, the mobile base station CDN system provides the remote terminal with the service corresponding to the preset rule.
可以预先设置预置规则,例如,设置VIP手机号码,或者当某一个URL的访问次数达到一定次数,或者针对某个特定基站的访问用户,并且为该预置规则配置对应的定向服务,例如定向加速、定向推送等等。当更新的访问统计信息中的符合配置的预置规则时,为发出上述RADIUS请求和HTTP请求的远程终端提供该预置规则对应的服务,例如缓存加速、广告推送、带宽控制、重定向等。Preset rules can be set in advance, for example, setting a VIP mobile phone number, or when a certain number of URLs are accessed a certain number of times, or for an access user of a particular base station, and configuring a corresponding targeting service for the preset rule, such as orientation Accelerate, directional push, and more. When the updated access statistics meet the configured preset rules, the remote terminal that sends the RADIUS request and the HTTP request is provided with services corresponding to the preset rule, such as cache acceleration, advertisement push, bandwidth control, and redirection.
上述访问统计信息体现了用户的访问热点,例如,如统计特定基站区域内热点视频、热门网站等,然后针对TOP100的网站资源进行针对性的加速,结合TOP100的网站访问和视频,通过大数据计算,可以针对某个基站的特定用户互联网访问推送相应的推荐信息,比如在商业街的基站,通过CDN采集相应的信息,可以推送该基站附近正在举行促销活动商家的链接,比如在学校宿舍的基站,可以通过采集最近一段时间学生热点观看的视频从而推送相关的广告信息。既可以优化用户体验,也可以充分掌握用户的行为特征,做到真正意义上的精细化流量经营。The above-mentioned access statistics reflect the user's access hotspots, for example, such as counting hotspot videos in a specific base station area, popular websites, etc., and then targeted acceleration of the TOP100 website resources, combined with TOP100 website access and video, through big data calculation. The corresponding recommendation information can be pushed for the specific user Internet access of a certain base station. For example, in the base station of the commercial street, the corresponding information can be collected through the CDN, and the link of the promotion business near the base station can be pushed, for example, the base station in the school dormitory. You can push relevant advertising information by collecting videos from student hotspots in the recent period. It can not only optimize the user experience, but also fully grasp the user's behavior characteristics, and achieve refined traffic management in the true sense.
本实施例提出的移动基站CDN系统的服务方法,在基站处设置CDN服务器,并预先设置预置规则,在接收到远程终端发送的RADIUS请求时,解 析该请求以获取用户标识和基站标识并关联,当远程终端发送HTTP请求访问网络时,获取HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识,并更新基站标识对应的访问统计信息,判断访问统计信息是否符合与预置规则匹配,若符合,则为该远程终端提供预置规则对应的服务,例如缓存加速,定向推送等,解决了相关技术中CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。The service method of the mobile base station CDN system proposed in this embodiment sets a CDN server at the base station, and presets a preset rule, and when receiving the RADIUS request sent by the remote terminal, the solution is The request is obtained to obtain the user identifier and the base station identifier and is associated with each other. When the remote terminal sends an HTTP request to access the network, the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained, and the base station identifier is updated. Accessing the statistical information, determining whether the access statistical information is consistent with the preset rule, and if yes, providing the remote terminal with a service corresponding to the preset rule, such as cache acceleration, directional push, etc., solving the related technology that the CDN cannot be based on a certain A technical problem of providing targeted services by user access information of a particular base station.
参照图3所示,基于本发明移动基站CDN系统的服务方法的第一实施例提出本发明移动基站CDN系统的服务方法的第二实施例。在本实施例中,步骤S24包括以下细化步骤:Referring to FIG. 3, a second embodiment of a service method of a mobile base station CDN system according to the present invention is proposed based on the first embodiment of the service method of the mobile base station CDN system of the present invention. In this embodiment, step S24 includes the following refinement steps:
步骤S241,当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容。Step S241: When the access statistical information meets the configured preset rule, and the service corresponding to the preset rule is cache acceleration, the content corresponding to the HTTP request is obtained from the buffer area.
步骤S242,当从缓存区中获取到所述HTTP请求对应的内容时,响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。In step S242, when the content corresponding to the HTTP request is obtained from the buffer area, the content corresponding to the HTTP request in the buffer area is sent to the remote terminal corresponding to the user identifier.
当预先配置的预置规则对应的服务为向发送上述RADIUS请求和HTTP请求且满足预置规则的远程终端提供缓存加速时,从缓存区中获取的HTTP请求对应的内容,并将其发送至远程终端。When the pre-configured preset rule corresponds to the service providing the cache acceleration to the remote terminal that sends the RADIUS request and the HTTP request and meets the preset rule, the content corresponding to the HTTP request obtained from the buffer is sent to the remote device. terminal.
可选地,在步骤S241之后,步骤S24还包括:Optionally, after step S241, step S24 further includes:
当从缓存区中获取不到所述HTTP请求对应的内容时,从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;将所述HTTP请求对应的内容保存至所述缓存区。When the content corresponding to the HTTP request is not obtained from the cache area, the content corresponding to the HTTP request is downloaded from the source server corresponding to the HTTP request and responds to the remote terminal; and the content corresponding to the HTTP request is saved. To the buffer area.
可以理解的是,当某一URL地址第一次被访问时,即使本次访问满足要求,但是缓存区中还没有缓存HTTP请求对应的内容,此时从HTTP请求对应的源服务器获取HTTP请求对应的内容并响应发送HTTP请求的远程终端,并且将获取到的内容保存至缓存区,当再次接收到符合预置规则的请求时,为其对应的远程终端提供缓存加速服务。It can be understood that when a certain URL address is accessed for the first time, even if the current access meets the requirement, the content corresponding to the HTTP request is not cached in the cache area, and the HTTP server corresponding to the HTTP request corresponding to the HTTP request is obtained. The content is in response to the remote terminal that sends the HTTP request, and saves the acquired content to the buffer area, and when receiving the request conforming to the preset rule again, provides a cache acceleration service for the corresponding remote terminal.
可选地,若用户标识和访问统计信息不符合配置的预置规则时,直接将HTTP请求透明代理到目的地址,不对请求做任何处理。Optionally, if the user identifier and the access statistics do not meet the configured preset rules, the HTTP request is directly transparently proxyed to the destination address, and no processing is performed on the request.
例如,在某一基站附近上网的用户,对其提供缓存加速的服务,假设配 置的预置规则为优酷网站的视频A的URL的访问次数达到100次,对应的服务为缓存加速。当用户通过基站上网时,首先解析用户的终端发送的RADIUS请求,并解析该请求获取用户标识和基站标识,用户访问优酷网站的视频A,获取视频A的URL地址等访问信息,并更新该URL地址的访问次数,若访问次数达到100次,则缓存该HTTP请求对应的内容,其中,访问次数的统计可以是不同用户发送的访问请求,当后续再接收到同样的HTTP请求时,为HTTP请求对应的远程终端提供缓存加速服务,即可以直接将缓存中请求对应的内容发送至远程终端,而不必再向源服务器请求对应的内容,对于远程终端来说,加快了HTTP请求的响应时间,为用户带来更好的上网体验,同时实现了流量增值。以上只是一个简单的举例说明,实际应用中,可以根据不同的运营商的需求,创建多样化的预置规则,达到更精细化的服务体验。For example, a user who is on the Internet near a certain base station provides a cache acceleration service, assuming that The preset rule is set to 100 times for the URL of the video A of Youku website, and the corresponding service is cache acceleration. When the user accesses the Internet through the base station, the user first parses the RADIUS request sent by the user's terminal, and parses the request to obtain the user identifier and the base station identifier. The user accesses the video A of the Youku website, obtains the access information such as the URL address of the video A, and updates the URL. The number of accesses of the address, if the number of accesses reaches 100, the content corresponding to the HTTP request is cached, wherein the statistics of the number of accesses may be an access request sent by different users, and the HTTP request is received when the same HTTP request is subsequently received. The corresponding remote terminal provides a cache acceleration service, that is, the content corresponding to the request in the cache can be directly sent to the remote terminal without having to request the corresponding content from the source server, and the response time of the HTTP request is accelerated for the remote terminal. Users bring a better online experience while achieving value-added traffic. The above is just a simple example. In actual applications, you can create a variety of preset rules according to the needs of different operators to achieve a more refined service experience.
在其他的实施例中,也可以是其他的定向服务,例如定向推送等。当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,向发送符合所述预置规则的所述HTTP请求的远程终端推送配置的广告信息。In other embodiments, other directed services, such as directional push, etc., may also be used. When the access statistical information meets the configured preset rule, and the service corresponding to the preset rule is an advertisement push, the configured advertisement information is pushed to the remote terminal that sends the HTTP request that meets the preset rule.
可选地,该方法还包括以下步骤:Optionally, the method further includes the following steps:
根据更新的所述访问统计信息更新所述预置规则。Updating the preset rule according to the updated access statistics.
根据访问统计信息更新预置规则,例如,当热门网址有变化,可根据变化后的信息更新预置规则;或者运营商可以根据自己的需要设置预置规则,例如为特定的VIP用户提供定向服务,或者为某一特定位置的用户提供定向服务,或者为访问某一URL的用户提供定向服务等。Update the preset rules according to the access statistics. For example, when the hot URL changes, the preset rules can be updated according to the changed information; or the operator can set preset rules according to their own needs, for example, providing targeted services for specific VIP users. Or provide targeted services for users in a specific location, or provide targeted services for users accessing a URL.
本发明还提出一种移动基站CDN系统。The invention also proposes a mobile base station CDN system.
参照图4所示,为本发明移动基站CDN系统第一实施例的功能模块示意图。Referring to FIG. 4, it is a schematic diagram of functional modules of a first embodiment of a mobile base station CDN system according to the present invention.
在该实施例中,将CDN系统部署在移动基站,该移动基站CDN系统包括:In this embodiment, the CDN system is deployed at a mobile base station, the mobile base station CDN system comprising:
报文接收模块10,设置为接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;The message receiving module 10 is configured to receive a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
服务控制模块20,设置为根据接收到的所述远程终端发送的RADIUS请 求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。The service control module 20 is configured to send the RADIUS according to the received remote terminal. Summing an HTTP request, the mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule.
基站是用户访问互联网的接入点,本实施例中,在基站的nodeB中部署CDN服务器,该CDN服务器可以直接获取到用户向该基站发送的RADIUS(Remote Authentication Dial In User Service,远程用户拨号认证服务)请求和HTTP(Hyper Text Transfer Protocol,超文本传输协议)请求,在多个基站CDN的基础上再设置一个总服务器,作为移动基站CDN系统,对获取到的请求进行解析并处理。The base station is an access point for the user to access the Internet. In this embodiment, the CDN server is deployed in the nodeB of the base station, and the CDN server can directly obtain the RADIUS (Remote Authentication Dial In User Service) sent by the user to the base station. The service request and the HTTP (Hyper Text Transfer Protocol) request, and a total server is set up on the basis of the plurality of base station CDNs, as the mobile base station CDN system, and the obtained request is parsed and processed.
可选地,参照图5所示,服务控制模块20可以包括以下单元:Optionally, referring to FIG. 5, the service control module 20 may include the following units:
解析单元21,设置为接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联。The parsing unit 21 is configured to parse the RADIUS request to obtain the user identifier and the base station identifier and associate with the remote user dialing authentication RADIUS request sent by the remote terminal.
当用户使用手机、平板电脑等终端通过移动流量上网时,用户在终端开启了基于运营商提供的移动流量上网服务时,终端会向基站发送远程用户拨号认证请求以接入网络,及上述RADIUS请求,该RADIUS请求中包含有用户标识和基站标识,将用户标识和基站标识关联,其中,用户标识可以包括手机号码、用户的IP地址、或者用户终端的标识信息等,基站标识可以是基站ID或者基站的具体位置等信息。在接收到远程终端发送的RADIUS请求时,解析单元21对该RADIUS请求进行解析,获取到其中包含的用户标识和基站标识并关联,例如将获取到的手机号码、用户的IP地址或者用户终端的标识信息等用户标识信息与基站ID关联。When a user uses a mobile phone, a tablet, or the like to access the Internet through mobile traffic, when the user turns on the mobile traffic service provided by the operator, the terminal sends a remote user dialing authentication request to the base station to access the network, and the RADIUS request. The RADIUS request includes a user identifier and a base station identifier, and the user identifier is associated with the base station identifier, where the user identifier may include a mobile phone number, an IP address of the user, or identifier information of the user terminal, where the base station identifier may be a base station ID or Information such as the specific location of the base station. Upon receiving the RADIUS request sent by the remote terminal, the parsing unit 21 parses the RADIUS request, and obtains and associates the user identifier and the base station identifier contained therein, for example, the acquired mobile phone number, the user's IP address, or the user terminal. User identification information such as identification information is associated with the base station ID.
获取单元22,设置为接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识。The obtaining unit 22 is configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received.
更新单元23,设置为根据所述访问信息更新获取的所述基站标识对应的访问统计信息,其中,所述访问信息包括访问地址。The updating unit 23 is configured to update the obtained access statistical information corresponding to the acquired base station identifier according to the access information, where the access information includes an access address.
远程终端在成功实现远程拨号认证之后,用户通过发送HTTP请求访问网站,在接收到上述远程终端发送的HTTP请求之后,获取单元22对该HTTP请求做拦截处理,从中获取到用户访问的HTTP请求的URL(Uniform Resource Locator,统一资源定位符)、用户访问的URL的域信息、以及访问时间等访问信息,以及用户标识,并获取与用户标识关联的基站标识,由于每个用户 访问的URL可能存在重复,例如,存在多个用户访问同一个URL的情况,因此,在获取到上述访问信息后,对预先建立的基站标识对应的访问统计信息进行更新,因为接收到HTTP请求可能是针对不同的基站,因此需要对每一个基站的访问请求进行分别统计,其中包括,URL被访问的次数,以及访问时间等,因此,每接收到一个HTTP请求,获取单元22就更新一次该HTTP请求对应的URL的访问次数,以及访问时间等信息,可以根据这些信息获取某一URL地址的访问热度,例如,某一URL地址在一定时间段内被访问的次数。After the remote terminal successfully implements the remote dialing authentication, the user accesses the website by sending an HTTP request. After receiving the HTTP request sent by the remote terminal, the obtaining unit 22 intercepts the HTTP request, and obtains the HTTP request accessed by the user. URL (Uniform Resource Locator), domain information of the URL accessed by the user, and access information such as access time, and user identification, and acquire the base station identifier associated with the user identifier, because each user The accessed URL may be duplicated. For example, if multiple users access the same URL, after the access information is obtained, the access statistics corresponding to the pre-established base station identifier are updated because an HTTP request may be received. It is for different base stations, so it is necessary to separately count the access requests of each base station, including the number of times the URL is accessed, and the access time, etc. Therefore, the acquisition unit 22 updates the HTTP every time an HTTP request is received. The number of accesses of the corresponding URL and the access time may be obtained, and the access popularity of a certain URL address may be obtained according to the information, for example, the number of times a certain URL address is accessed within a certain period of time.
执行单元24,设置为当所述访问统计信息与预置规则匹配时,为所述远程终端提供所述预置规则对应的服务。The executing unit 24 is configured to provide the remote terminal with the service corresponding to the preset rule when the access statistical information matches the preset rule.
可以预先设置预置规则,例如,设置VIP手机号码,或者当某一个URL的访问次数达到一定次数,或者针对某个特定基站的访问用户,并且为该预置规则配置对应的定向服务,例如定向加速、定向推送等等。当获取到的用户标识和更新的访问统计信息中符合配置的预置规则时,执行单元24为发出上述RADIUS请求和HTTP请求的远程终端提供该预置规则对应的服务,例如缓存加速、广告推送、带宽控制、重定向等。Preset rules can be set in advance, for example, setting a VIP mobile phone number, or when a certain number of URLs are accessed a certain number of times, or for an access user of a particular base station, and configuring a corresponding targeting service for the preset rule, such as orientation Accelerate, directional push, and more. When the obtained user identifier and the updated access statistics meet the configured preset rule, the executing unit 24 provides the service corresponding to the preset rule, such as cache acceleration and advertisement push, for the remote terminal that sends the RADIUS request and the HTTP request. , bandwidth control, redirection, etc.
上述访问统计信息体现了用户的访问热点,例如,如统计特定基站区域内热点视频、热门网站等,然后针对TOP100的网站资源进行针对性的加速,结合TOP100的网站访问和视频,通过大数据计算,针对某个基站的特定用户互联网访问推送相应的推荐信息,比如在商业街的基站,通过CDN采集相应的信息,执行单元24可以推送该基站附近正在举行促销活动商家的链接,比如在学校宿舍的基站,执行单元24可以通过采集最近一段时间学生热点观看的视频从而推送相关的广告信息。既可以优化用户体验,也可以充分掌握用户的行为特征,做到真正意义上的精细化流量经营。The above-mentioned access statistics reflect the user's access hotspots, for example, such as counting hotspot videos in a specific base station area, popular websites, etc., and then targeted acceleration of the TOP100 website resources, combined with TOP100 website access and video, through big data calculation. Pushing corresponding recommendation information for a specific user's Internet access of a certain base station, for example, at a base station of a commercial street, collecting corresponding information through the CDN, and the execution unit 24 may push a link of the promotion business near the base station, such as in a school dormitory. The base station, the execution unit 24 can push the relevant advertisement information by collecting the video viewed by the student hotspot in the recent period of time. It can not only optimize the user experience, but also fully grasp the user's behavior characteristics, and achieve refined traffic management in the true sense.
本实施例提出的移动基站CDN系统,在基站处设置CDN服务器,并预先设置预置规则,在接收到远程终端发送的RADIUS请求时,解析该请求以获取用户标识和基站标识并关联,当远程终端发送HTTP请求访问网络时,获取HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识,并更新基站标识对应的访问统计信息,判断访问统计信息是否符合与预置规则匹配,若符合,则为该远程终端提供预置规则对应的服务,例 如缓存加速,定向推送等,解决了相关技术中CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。The mobile base station CDN system in this embodiment sets a CDN server at the base station, and presets a preset rule. When receiving the RADIUS request sent by the remote terminal, the request is parsed to obtain the user identifier and the base station identifier and are associated with each other. When the terminal sends an HTTP request to access the network, the access information and the user identifier corresponding to the HTTP request are obtained, and the base station identifier associated with the user identifier is obtained, and the access statistics corresponding to the base station identifier are updated, and the access statistics are determined to meet the preset rules. Matching, if yes, provide the remote terminal with a service corresponding to the preset rule, for example For example, cache acceleration, directional push, and the like solve the technical problem that the CDN cannot provide a directed service according to user access information of a specific base station in the related art.
参照图6所示,基于本发明移动基站CDN系统的第一实施例提出本发明移动基站CDN系统的第二实施例。在本实施例中,执行单元24包括以下子单元:Referring to Figure 6, a second embodiment of a mobile base station CDN system of the present invention is presented based on a first embodiment of the mobile base station CDN system of the present invention. In this embodiment, execution unit 24 includes the following subunits:
缓存获取子单元241,设置为当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容。The cache acquisition sub-unit 241 is configured to acquire the content corresponding to the HTTP request from the cache area when the access statistics meet the configured preset rule and the service corresponding to the preset rule is cache acceleration.
缓存加速子单元242,设置为当从缓存区中获取到所述HTTP请求对应的内容时,响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。The cache acceleration sub-unit 242 is configured to: when the content corresponding to the HTTP request is obtained from the buffer area, send the content corresponding to the HTTP request in the buffer area to the user identifier in response to the HTTP request Corresponding remote terminal.
当预先配置的预置规则对应的服务为向发送上述RADIUS请求和HTTP请求且满足预置规则的远程终端提供缓存加速时,缓存获取子单元241从缓存区中获取的HTTP请求对应的内容,缓存加速子单元242将其发送至远程终端。When the service corresponding to the pre-configured preset rule is to provide the cache acceleration to the remote terminal that sends the RADIUS request and the HTTP request and meets the preset rule, the cache acquisition sub-unit 241 caches the content corresponding to the HTTP request, and caches the content. The acceleration subunit 242 sends it to the remote terminal.
可选地,缓存获取子单元241,还设置为当从缓存区中获取不到所述HTTP请求对应的内容时,从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;以及将所述HTTP请求对应的内容保存至所述缓存区。Optionally, the cache obtaining sub-unit 241 is further configured to: when the content corresponding to the HTTP request is not obtained from the buffer, download the content corresponding to the HTTP request from the source server corresponding to the HTTP request, and respond to the Describe a remote terminal; and save content corresponding to the HTTP request to the buffer area.
可以理解的是,当某一URL地址第一次被访问时,即使本次访问满足要求,但是缓存区中还没有缓存HTTP请求对应的内容,此时从HTTP请求对应的源服务器获取HTTP请求对应的内容并响应发送HTTP请求的远程终端,并且将获取到的内容保存至缓存区,当再次接收到符合预置规则的请求时,为其对应的远程终端提供缓存加速服务。It can be understood that when a certain URL address is accessed for the first time, even if the current access meets the requirement, the content corresponding to the HTTP request is not cached in the cache area, and the HTTP server corresponding to the HTTP request corresponding to the HTTP request is obtained. The content is in response to the remote terminal that sends the HTTP request, and saves the acquired content to the buffer area, and when receiving the request conforming to the preset rule again, provides a cache acceleration service for the corresponding remote terminal.
可选地,若用户标识和访问统计信息不符合配置的预置规则时,执行单元24直接将HTTP请求透明代理到目的地址,不对请求做任何处理。Optionally, if the user identifier and the access statistics do not meet the configured preset rules, the executing unit 24 directly transparently forwards the HTTP request to the destination address, and does not perform any processing on the request.
例如,在某一基站附近上网的用户,对其提供缓存加速的服务,假设配置的预置规则为优酷网站的视频A的URL的访问次数达到100次,对应的服务为缓存加速。当用户通过基站上网时,解析单元21首先解析用户的终端发 送的RADIUS请求,并解析该请求获取用户标识和基站标识,用户访问优酷网站的视频A,获取单元22获取视频A的URL地址等访问信息,并更新该URL地址的访问次数,若访问次数达到100次,则缓存获取子单元241缓存该HTTP请求对应的内容,其中,访问次数的统计可以是不同用户发送的访问请求,当后续再接收到同样的HTTP请求时,缓存加速子单元242为HTTP请求对应的远程终端提供缓存加速服务,即可以直接将缓存中请求对应的内容发送至远程终端,而不必再向源服务器请求对应的内容,对于远程终端来说,加快了HTTP请求的响应时间,为用户带来更好的上网体验,同时实现了流量增值。以上只是一个简单的举例说明,实际应用中,可以根据不同的运营商的需求,创建多样化的预置规则,达到更精细化的服务体验。For example, a user who accesses the Internet near a certain base station provides a cache acceleration service. It is assumed that the preset rule is configured to access the URL of the video A of the Youku website by 100 times, and the corresponding service is cache acceleration. When the user accesses the Internet through the base station, the parsing unit 21 first parses the user's terminal. The RADIUS request is sent, and the request is obtained to obtain the user identifier and the base station identifier. The user accesses the video A of the Youku website, and the obtaining unit 22 obtains the access information such as the URL address of the video A, and updates the access times of the URL address. 100 times, the cache acquisition sub-unit 241 caches the content corresponding to the HTTP request, wherein the statistics of the number of access times may be an access request sent by different users, and when the same HTTP request is received subsequently, the cache acceleration sub-unit 242 is HTTP. Requesting the corresponding remote terminal to provide the cache acceleration service, that is, the content corresponding to the request in the cache can be directly sent to the remote terminal without having to request the corresponding content from the source server, and the response time of the HTTP request is accelerated for the remote terminal. Bring a better online experience to users and increase traffic. The above is just a simple example. In actual applications, you can create a variety of preset rules according to the needs of different operators to achieve a more refined service experience.
在其他的实施例中,也可以是其他的定向服务,例如定向推送等。执行单元24还可以包括定向推送子单元,设置为当所述用户标识和所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,向发送符合所述预置规则的所述HTTP请求的远程终端推送配置的广告信息。In other embodiments, other directed services, such as directional push, etc., may also be used. The execution unit 24 may further include a directional push subunit, configured to send to the sending when the user identifier and the access statistical information meet the configured preset rule, and the service corresponding to the preset rule is an advertisement push The remote terminal of the HTTP request of the preset rule pushes the configured advertisement information.
可选地,该系统还包括配置模块,设置为根据更新的所述访问统计信息更新所述预置规则。Optionally, the system further includes a configuration module configured to update the preset rule according to the updated access statistics.
配置模块根据访问统计信息更新预置规则,例如,当热门网址有变化,可根据变化后的信息更新预置规则;或者运营商可以根据自己的需要设置预置规则,例如为特定的VIP用户提供定向服务,或者为某一特定位置的用户提供定向服务,或者为访问某一URL的用户提供定向服务等。The configuration module updates the preset rules according to the access statistics. For example, when the hot URL changes, the preset rules can be updated according to the changed information; or the operator can set preset rules according to the needs of the user, for example, for a specific VIP user. Oriented services, or provide targeted services for users in a specific location, or provide targeted services for users accessing a URL.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质中存储有执行指令,该执行指令用于执行上述方法实施例中的步骤之一或其组合。Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, the foregoing storage medium stores an execution instruction, where the execution instruction is used to perform one or a combination of the steps in the foregoing method embodiments.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种移动基站CDN系统及其服务方法具有以下有益效果:解决了相关技术中CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。 As described above, the mobile base station CDN system and the service method thereof provided by the embodiments of the present invention have the following beneficial effects: the technical problem that the CDN cannot provide the directed service according to the user access information of a specific base station is solved.

Claims (12)

  1. 一种移动基站CDN系统的服务方法,将CDN系统部署在移动基站,所述移动基站CDN系统的服务方法包括:A service method for a mobile base station CDN system, the CDN system is deployed in a mobile base station, and the service method of the mobile base station CDN system includes:
    接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;Receiving a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
    根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。And according to the received RADIUS request and the HTTP request sent by the remote terminal, the mobile terminal base station CDN system provides the remote terminal with a service corresponding to the preset rule.
  2. 根据权利要求1所述的移动基站CDN系统的服务方法,其中,所述根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务的步骤包括:The service method of a mobile base station CDN system according to claim 1, wherein said remote base station provides and pre-determines said remote terminal by said mobile base station CDN system according to said received RADIUS request and HTTP request sent by said remote terminal The steps of setting the service corresponding to the rule include:
    接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联;Receiving the remote user dial-up authentication RADIUS request sent by the remote terminal, parsing the RADIUS request to obtain the user identifier and the base station identifier and correlating;
    接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;Receiving the HTTP request sent by the remote terminal, acquiring the access information and the user identifier corresponding to the HTTP request, and acquiring the base station identifier associated with the user identifier;
    根据所述访问信息更新获取的所述基站标识对应的访问统计信息,其中,所述访问信息包括访问地址;Updating, according to the access information, the obtained access statistical information corresponding to the base station identifier, where the access information includes an access address;
    当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务。When the access statistical information matches the preset rule, the mobile base station CDN system provides the remote terminal with the service corresponding to the preset rule.
  3. 根据权利要求2所述的移动基站CDN系统的服务方法,其中,所述当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务的步骤包括:The service method of the mobile base station CDN system according to claim 2, wherein the mobile base station CDN system provides the remote terminal with the preset rule corresponding when the access statistical information matches a preset rule. The steps of the service include:
    当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容;When the access statistics meet the configured preset rules, and the service corresponding to the preset rule is cache acceleration, the content corresponding to the HTTP request is obtained from the buffer area;
    当从缓存区中获取到所述HTTP请求对应的内容时,所述移动基站CDN系统响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。When the content corresponding to the HTTP request is obtained from the buffer area, the mobile base station CDN system sends the content corresponding to the HTTP request in the buffer area to the user identifier corresponding to the HTTP request. Remote terminal.
  4. 根据权利要求3所述的移动基站CDN系统的服务方法,其中,所述 从缓存区获取所述HTTP请求对应的内容的步骤之后,所述移动基站CDN系统的服务方法还包括步骤:A service method of a mobile base station CDN system according to claim 3, wherein said After the step of acquiring the content corresponding to the HTTP request from the buffer area, the service method of the mobile base station CDN system further includes the following steps:
    当从缓存区中获取不到所述HTTP请求对应的内容时,所述移动基站CDN系统从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;When the content corresponding to the HTTP request is not obtained from the buffer area, the mobile base station CDN system downloads the content corresponding to the HTTP request from the source server corresponding to the HTTP request and responds to the remote terminal;
    将所述HTTP请求对应的内容保存至所述缓存区。Saving content corresponding to the HTTP request to the cache area.
  5. 根据权利要求2所述的移动基站CDN系统的服务方法,其中,所述当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务的步骤包括:The service method of the mobile base station CDN system according to claim 2, wherein the mobile base station CDN system provides the remote terminal with the preset rule corresponding when the access statistical information matches a preset rule. The steps of the service include:
    当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,所述移动基站CDN系统向所述用户标识对应的远程终端推送配置的广告信息。When the access statistical information meets the configured preset rule, and the service corresponding to the preset rule is an advertisement push, the mobile base station CDN system pushes the configured advertisement information to the remote terminal corresponding to the user identifier.
  6. 根据权利要求2所述的移动基站CDN系统的服务方法,其中,所述移动基站CDN系统的服务方法还包括步骤:The service method of the mobile base station CDN system according to claim 2, wherein the service method of the mobile base station CDN system further comprises the steps of:
    根据更新的所述访问统计信息更新所述预置规则。Updating the preset rule according to the updated access statistics.
  7. 一种移动基站CDN系统,将CDN系统部署在移动基站,所述移动基站CDN系统包括:A mobile base station CDN system, which deploys a CDN system in a mobile base station, the mobile base station CDN system comprising:
    报文接收模块,设置为接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;a message receiving module, configured to receive a remote user dial-up authentication RADIUS request sent by the remote terminal, and an HTTP request;
    服务控制模块,设置为根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。The service control module is configured to provide, by the mobile base station CDN system, the remote terminal with a service corresponding to the preset rule according to the received RADIUS request and the HTTP request sent by the remote terminal.
  8. 根据权利要求7所述的移动基站CDN系统,其中,所述服务控制模块包括:The mobile base station CDN system according to claim 7, wherein the service control module comprises:
    解析单元,设置为接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联; The parsing unit is configured to: when receiving the remote user dial-up authentication RADIUS request sent by the remote terminal, parse the RADIUS request to obtain the user identifier and the base station identifier and associate;
    获取单元,设置为接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;An obtaining unit, configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received;
    更新单元,设置为接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;And an update unit, configured to acquire the access information corresponding to the HTTP request and the user identifier, and obtain the base station identifier associated with the user identifier, when the HTTP request sent by the remote terminal is received;
    执行单元,设置为当所述访问统计信息与预置规则匹配时,为所述远程终端提供所述预置规则对应的服务。And an execution unit, configured to provide the remote terminal with a service corresponding to the preset rule when the access statistics match with the preset rule.
  9. 根据权利要求8所述的移动基站CDN系统,其中,所述执行单元包括:The mobile base station CDN system of claim 8, wherein the execution unit comprises:
    缓存获取子单元,设置为当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容;The cache acquisition sub-unit is configured to: when the access statistics meet the configured preset rule, and the service corresponding to the preset rule is cache acceleration, obtain the content corresponding to the HTTP request from the cache area;
    缓存加速子单元,设置为当从缓存区中获取到所述HTTP请求对应的内容时,响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。a cache acceleration subunit, configured to: when the content corresponding to the HTTP request is obtained from the cache area, send the content corresponding to the HTTP request in the buffer area to the user identifier corresponding to the HTTP request Remote terminal.
  10. 根据权利要求9所述的移动基站CDN系统,其中,所述缓存获取子单元,还设置为当从缓存区中获取不到所述HTTP请求对应的内容时,从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;以及将所述HTTP请求对应的内容保存至所述缓存区。The mobile base station CDN system according to claim 9, wherein the cache acquisition subunit is further configured to: when the content corresponding to the HTTP request is not obtained from the buffer area, the source server corresponding to the HTTP request Downloading content corresponding to the HTTP request and responding to the remote terminal; and saving content corresponding to the HTTP request to the buffer area.
  11. 根据权利要求8所述的移动基站CDN系统,其中,所述执行单元还包括:The mobile base station CDN system according to claim 8, wherein the execution unit further comprises:
    定向推送子单元,设置为当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,向所述用户标识对应的远程终端推送配置的广告信息。The directional push sub-unit is configured to push the configured advertisement information to the remote terminal corresponding to the user identifier when the access statistics meet the configured preset rule and the service corresponding to the preset rule is an advertisement push.
  12. 根据权利要求8所述的移动基站CDN系统,其中,所述移动基站 CDN系统还包括:The mobile base station CDN system according to claim 8, wherein said mobile base station The CDN system also includes:
    配置模块,设置为根据更新的所述访问统计信息更新所述预置规则。 And a configuration module, configured to update the preset rule according to the updated access statistics.
PCT/CN2017/073673 2016-02-16 2017-02-15 Mobile base station cdn system and service method therefor WO2017140247A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610088156.9 2016-02-16
CN201610088156.9A CN107087013B (en) 2016-02-16 2016-02-16 CDN system of mobile base station and service method thereof

Publications (1)

Publication Number Publication Date
WO2017140247A1 true WO2017140247A1 (en) 2017-08-24

Family

ID=59615179

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073673 WO2017140247A1 (en) 2016-02-16 2017-02-15 Mobile base station cdn system and service method therefor

Country Status (2)

Country Link
CN (1) CN107087013B (en)
WO (1) WO2017140247A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109962961A (en) * 2017-12-26 2019-07-02 中国移动通信集团广西有限公司 A kind of reorientation method and system of content distribution network CDN service node
CN109246238A (en) * 2018-10-15 2019-01-18 中国联合网络通信集团有限公司 Content caching accelerated method and the network equipment
CN109640345A (en) * 2018-12-28 2019-04-16 广东中兴新支点技术有限公司 Network dialing method, device and electronic equipment
CN112788133A (en) * 2020-12-31 2021-05-11 上海卓悠网络科技有限公司 Information interaction method and equipment based on advertisement

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581248A (en) * 2012-07-31 2014-02-12 中兴通讯股份有限公司 Method and device for providing content distribution network CDN service
CN104486740A (en) * 2014-12-04 2015-04-01 中国联合网络通信集团有限公司 Data processing method, service gateway and mobile management entity
EP2903225A1 (en) * 2014-01-30 2015-08-05 Alcatel Lucent Bit-rate control for access to content stored in local delivery devices of a content-delivery network
CN104902006A (en) * 2015-04-16 2015-09-09 华为技术有限公司 Content access method, content distribution network base station of wireless access network and core content distribution network device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8908507B2 (en) * 2011-07-21 2014-12-09 Movik Networks RAN analytics, control and tuning via multi-protocol, multi-domain, and multi-RAT analysis
CN103547333B (en) * 2013-03-26 2016-07-06 华为技术有限公司 A kind of advertisement sending method, equipment and system
CN105100174A (en) * 2014-05-22 2015-11-25 中国移动通信集团公司 Method, device and system for scheduling Internet resource

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581248A (en) * 2012-07-31 2014-02-12 中兴通讯股份有限公司 Method and device for providing content distribution network CDN service
EP2903225A1 (en) * 2014-01-30 2015-08-05 Alcatel Lucent Bit-rate control for access to content stored in local delivery devices of a content-delivery network
CN104486740A (en) * 2014-12-04 2015-04-01 中国联合网络通信集团有限公司 Data processing method, service gateway and mobile management entity
CN104902006A (en) * 2015-04-16 2015-09-09 华为技术有限公司 Content access method, content distribution network base station of wireless access network and core content distribution network device

Also Published As

Publication number Publication date
CN107087013B (en) 2020-07-07
CN107087013A (en) 2017-08-22

Similar Documents

Publication Publication Date Title
US10958634B2 (en) System and method for providing a content delivery network via a motor vehicle
US8527987B2 (en) Method and device for installing applications on NFC-enabled devices
CN102388632B (en) Application message method for pushing, system and network element
WO2017140247A1 (en) Mobile base station cdn system and service method therefor
CN109997334A (en) Session management with the relaying being indirectly connected with and charge applied for Internet of Things in 3GPP network
CN101483672B (en) Processing method, system, gateway server and mobile terminal for service information access
US20110197261A1 (en) Service activation method, service providing method, terminal device, and server
CN102118323B (en) Content delivery network service device and content download method
CN101399724B (en) Disposal authentication method for network access and service application oriented to user
KR101638315B1 (en) System and method for providing advertisement based on web using wifi network
CN103581248A (en) Method and device for providing content distribution network CDN service
WO2017080459A1 (en) Method, device and system for caching and providing service contents and storage medium
CN102843391A (en) Information transmitting method and gateway
CN103618663A (en) Information sharing system and information sharing method thereof
JP2015528666A (en) Service content distribution method and service management platform in heterogeneous network
CN102404616B (en) Method and system for pushing data cloud based on digital television network
US20140189034A1 (en) Adapative, Personal Localized Cache Control Server
CN101217567A (en) A webpage push method, system and device
CN106856456B (en) Processing method and system for cache cluster service
US10880729B2 (en) Method and system for identifying a user over an internet protocol connection
KR20140136477A (en) Optimizing backhaul and wireless link capacity in mobile telecommunication systems
CN106790176B (en) Method and system for accessing network
US20150288734A1 (en) Adaptive leveraging of network information
CN107343014B (en) Service distribution method based on content distribution network and remote gateway
CN104731801A (en) Page adaptation method, platform and system

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: 17752679

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: 17752679

Country of ref document: EP

Kind code of ref document: A1