[go: up one dir, main page]

CN107087013B - Mobile base station CDN system and service method thereof - Google Patents

Mobile base station CDN system and service method thereof Download PDF

Info

Publication number
CN107087013B
CN107087013B CN201610088156.9A CN201610088156A CN107087013B CN 107087013 B CN107087013 B CN 107087013B CN 201610088156 A CN201610088156 A CN 201610088156A CN 107087013 B CN107087013 B CN 107087013B
Authority
CN
China
Prior art keywords
base station
http request
remote terminal
cdn system
preset rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610088156.9A
Other languages
Chinese (zh)
Other versions
CN107087013A (en
Inventor
王西峰
卢邱生
姜炎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610088156.9A priority Critical patent/CN107087013B/en
Priority to PCT/CN2017/073673 priority patent/WO2017140247A1/en
Publication of CN107087013A publication Critical patent/CN107087013A/en
Application granted granted Critical
Publication of CN107087013B publication Critical patent/CN107087013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a service method of a CDN system of a mobile base station, which deploys the CDN system at the mobile base station, and the flow of the method comprises the following steps: receiving a remote user dial authentication RADIUS request and an HTTP request sent by a remote terminal; and according to the received RADIUS request and HTTP request sent by the remote terminal, providing a service corresponding to a preset rule for the remote terminal by the CDN system of the mobile base station. The invention also provides a CDN system of the mobile base station. The invention solves the technical problem that the existing CDN can not provide directional service according to the user access information of a certain specific base station.

Description

移动基站CDN系统及其服务方法Mobile base station CDN system and service method thereof

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种移动基站CDN系统及其服务方法。The present invention relates to the field of communication technologies, and in particular, to a mobile base station CDN system and a service method thereof.

背景技术Background technique

现有的CDN(Content Delivery Network,内容分发网络)一般是设置在互联网的入口侧,为用户提供加速服务,但是传统的CDN距离用户较远,用户请求经过层层传输,到达骨干网,最后到互联网,不仅缓存加速效果不理想,而且无法根据某一特定基站的用户访问信息提供定向服务,例如定向缓存加速、定向推送等定向服务。The existing CDN (Content Delivery Network, Content Delivery Network) is generally set up on the entrance side of the Internet to provide users with accelerated services, but the traditional CDN is far from the user, and user requests are transmitted through layers to reach the backbone network, and finally to In the Internet, not only the cache acceleration effect is not ideal, but also directional services cannot be provided based on the user access information of a specific base station, such as directional cache acceleration, directional push and other directional services.

发明内容SUMMARY OF THE INVENTION

本发明提供一种移动基站CDN系统及其服务方法,其主要目的在于解决现有CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。The present invention provides a mobile base station CDN system and a service method thereof, the main purpose of which is to solve the technical problem that the existing CDN cannot provide directional service according to user access information of a specific base station.

为实现上述目的,本发明提供一种移动基站CDN系统的服务方法,将CDN系统部署在移动基站,该移动基站CDN系统的服务方法包括:In order to achieve the above object, the present invention provides a service method for a CDN system of a mobile base station, where the CDN system is deployed in the mobile base station, and the service method for the CDN system of the mobile base station includes:

接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;Receive remote user dial-in authentication RADIUS requests and HTTP requests sent by remote terminals;

根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。According to the received RADIUS request and HTTP request sent by the remote terminal, the CDN system of the mobile base station provides the remote terminal with a service corresponding to the preset rule.

优选地,所述根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务的步骤包括:Preferably, according to the received RADIUS request and HTTP request sent by the remote terminal, the step of providing the remote terminal with the service corresponding to the preset rule by the mobile base station CDN system includes:

接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联;When receiving the remote user dial-in authentication RADIUS request sent by the remote terminal, parse the RADIUS request to obtain and associate the user ID and the base station ID;

接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;When receiving the HTTP request sent by the remote terminal, obtain the access information and the user ID corresponding to the HTTP request, and obtain the base station ID associated with the user ID;

根据所述访问信息更新获取的所述基站标识对应的访问统计信息,其中,所述访问信息包括访问地址;The access statistical information corresponding to the base station identifier is updated and obtained according to the access information, wherein the access information includes an access address;

当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务。When the access statistical information matches a preset rule, the mobile base station CDN system provides the remote terminal with a service corresponding to the preset rule.

优选地,所述当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务的步骤包括:Preferably, when the access statistical information matches a preset rule, the step of the mobile base station CDN system providing the remote terminal with a service corresponding to the preset rule includes:

当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容;When the access statistical information complies with 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请求对应的内容时,所述移动基站CDN系统响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。When the content corresponding to the HTTP request is acquired from the cache area, the mobile base station CDN system responds to the HTTP request and sends the content corresponding to the HTTP request in the cache area to the corresponding user ID remote terminal.

优选地,所述从缓存区获取所述HTTP请求对应的内容的步骤之后,所述移动基站CDN系统的服务方法还包括步骤:Preferably, after the step of acquiring the content corresponding to the HTTP request from the cache area, the service method of the CDN system of the mobile base station further includes the steps:

当从缓存区中获取不到所述HTTP请求对应的内容时,所述移动基站CDN系统从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;When the content corresponding to the HTTP request cannot be obtained from the cache area, the CDN system of the mobile base station downloads the content corresponding to the HTTP request from the source server corresponding to the HTTP request and responds to the remote terminal;

将所述HTTP请求对应的内容保存至所述缓存区。The content corresponding to the HTTP request is saved to the cache area.

优选地,所述当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务的步骤包括:Preferably, when the access statistical information matches a preset rule, the step of the mobile base station CDN system providing the remote terminal with a service corresponding to the preset rule includes:

当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,所述移动基站CDN系统向所述用户标识对应的远程终端推送配置的广告信息。When the access statistical information conforms to the configured preset rule and the service corresponding to the preset rule is advertisement push, the mobile base station CDN system pushes the configured advertisement information to the remote terminal corresponding to the user ID.

优选地,所述移动基站CDN系统的服务方法还包括步骤:Preferably, the service method of the mobile base station CDN system further comprises the steps of:

根据更新的所述访问统计信息更新所述预置规则。The preset rules are updated according to the updated access statistics.

此外,为实现上述目的,本发明还提供一种移动基站CDN系统,将CDN系统部署在移动基站,该移动基站CDN系统包括:In addition, in order to achieve the above object, the present invention also provides a mobile base station CDN system, where the CDN system is deployed in the mobile base station, and the mobile base station CDN system includes:

报文接收模块,用于接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;The message receiving module is used to receive the remote user dial-up authentication RADIUS request and HTTP request sent by the remote terminal;

服务控制模块,用于根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。The service control module is configured to, according to the received RADIUS request and HTTP request sent by the remote terminal, provide the remote terminal with the service corresponding to the preset rule by the CDN system of the mobile base station.

优选地,所述服务控制模块包括:Preferably, the service control module includes:

解析单元,用于接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联;a parsing unit, configured to parse the RADIUS request to obtain and associate the user ID and the base station ID when receiving the remote user dial-in authentication RADIUS request sent by the remote terminal;

获取单元,用于接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;an obtaining unit, configured to obtain access information and a user ID corresponding to the HTTP request when receiving the HTTP request sent by the remote terminal, and obtain the base station ID associated with the user ID;

更新单元,用于接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识;an update unit, configured to obtain access information and a user ID corresponding to the HTTP request when receiving the HTTP request sent by the remote terminal, and obtain the base station ID associated with the user ID;

执行单元,用于当所述访问统计信息与预置规则匹配时,为所述远程终端提供所述预置规则对应的服务。An execution unit, configured to provide the remote terminal with a service corresponding to the preset rule when the access statistical information matches a preset rule.

优选地,所述执行单元包括:Preferably, the execution unit includes:

缓存获取子单元,用于当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容;a cache obtaining subunit, configured to obtain the content corresponding to the HTTP request from the cache area when the access statistics conform to the configured preset rules and the service corresponding to the preset rules is cache acceleration;

缓存加速子单元,用于当从缓存区中获取到所述HTTP请求对应的内容时,响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。A cache acceleration subunit, configured to respond to the HTTP request and send the content corresponding to the HTTP request in the cache area to the corresponding user ID when the content corresponding to the HTTP request is obtained from the cache area remote terminal.

优选地,所述缓存获取子单元,还用于当从缓存区中获取不到所述HTTP请求对应的内容时,从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;以及将所述HTTP请求对应的内容保存至所述缓存区。Preferably, the cache obtaining subunit is further configured to download the content corresponding to the HTTP request from the source server corresponding to the HTTP request and respond to the content when the content corresponding to the HTTP request cannot be obtained from the cache area. the remote terminal; and save the content corresponding to the HTTP request to the cache area.

优选地,所述执行单元还包括:Preferably, the execution unit further includes:

定向推送子单元,用于当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,向所述用户标识对应的远程终端推送配置的广告信息。The targeted push subunit is configured to push the configured advertisement information to the remote terminal corresponding to the user ID when the access statistical information conforms to the configured preset rule and the service corresponding to the preset rule is advertisement push.

优选地,所述移动基站CDN系统还包括:Preferably, the mobile base station CDN system further includes:

配置模块,用于根据更新的所述访问统计信息更新所述预置规则。A configuration module, configured to update the preset rule according to the updated access statistics.

本发明提出的移动基站CDN系统及其服务方法,在基站处设置CDN服务器,并预先设置预置规则,在接收到远程终端发送的RADIUS请求时,解析该请求以获取用户标识和基站标识并关联,当远程终端发送HTTP请求访问网络时,获取HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识,并更新基站标识对应的访问统计信息,判断访问统计信息是否符合与预置规则匹配,若符合,则为该远程终端提供预置规则对应的服务,例如缓存加速,定向推送等,解决了现有CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。In the mobile base station CDN system and its service method proposed by the present invention, a CDN server is set at the base station, and preset rules are set in advance, and when a RADIUS request sent by a remote terminal is received, the request is parsed to obtain the user ID and the base station ID and associate them with , when the remote terminal sends an HTTP request to access the network, obtain the access information and user ID corresponding to the HTTP request, obtain the base station ID associated with the user ID, and update the access statistical information corresponding to the base station ID, and determine whether the access statistical information conforms to the The preset rules match. If they match, the remote terminal will be provided with services corresponding to the preset rules, such as cache acceleration, directional push, etc., which solves the technical problem that the existing CDN cannot provide directional services based on the user access information of a specific base station. .

附图说明Description of drawings

图1为本发明移动基站CDN系统的服务方法第一实施例的流程图;1 is a flowchart of a first embodiment of a service method for a mobile base station CDN system according to the present invention;

图2为本发明移动基站CDN系统的服务方法第一实施例中提供预置规则对应的服务的步骤的细化流程示意图;FIG. 2 is a detailed flowchart of steps of providing a service corresponding to a preset rule in a first embodiment of a service method for a CDN system of a mobile base station according to the present invention;

图3为本发明移动基站CDN系统的服务方法第二实施例中提供缓存加速服务的步骤的细化流程示意图;FIG. 3 is a detailed flowchart of the steps of providing a cache acceleration service in a second embodiment of a service method for a CDN system of a mobile base station according to the present invention;

图4为本发明移动基站CDN系统第一实施例的功能模块示意图;FIG. 4 is a schematic diagram of functional modules of the first embodiment of the mobile base station CDN system according to the present invention;

图5为本发明移动基站CDN系统第一实施例中服务控制模块的细化功能模块示意图;5 is a schematic diagram of a refined functional module of a service control module in the first embodiment of the mobile base station CDN system of the present invention;

图6为本发明移动基站CDN系统第二实施例中执行单元的细化功能模块示意图。FIG. 6 is a schematic diagram of a detailed functional module of an execution unit in a second embodiment of a mobile base station CDN system according to the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

本发明提供一种移动基站CDN系统的服务方法。The present invention provides a service method of 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 CDN system of a mobile base station 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 the remote user dial-up authentication RADIUS request sent by the remote terminal, and the HTTP request;

步骤S20,根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。Step S20, according to the received RADIUS request and HTTP request sent by the remote terminal, the CDN system of the mobile base station provides the remote terminal with a service corresponding to the preset rule.

基站是用户访问互联网的接入点,本实施例中,在基站的nodeB中部署CDN服务器,该CDN服务器可以直接获取到用户向该基站发送的RADIUS(Remote Authentication DialIn User Service,远程用户拨号认证服务)请求和HTTP(Hyper Text Transfer Protocol,超文本传输协议)请求,在多个基站CDN的基础上再设置一个总服务器,对获取到的请求进行解析并处理。The base station is the access point for the user to access the Internet. In this embodiment, a CDN server is deployed in the nodeB of the base station, and the CDN server can directly obtain the RADIUS (Remote Authentication DialIn User Service) sent by the user to the base station. ) requests and HTTP (Hyper Text Transfer Protocol, Hyper Text Transfer Protocol) requests, a general server is set up on the basis of multiple base station CDNs, and the obtained requests are parsed and processed.

参照图2所示,步骤S20可以包括以下细化步骤:Referring to Figure 2, step S20 may include the following refinement steps:

步骤S21,接收到远程终端发送的远程用户拨号认证RADIUS请求时,解析所述RADIUS请求以获取用户标识和基站标识并关联。Step S21, when receiving a remote user dial-up authentication RADIUS request sent by a remote terminal, parse the RADIUS request to obtain and associate the user ID and the base station ID.

当用户使用手机、平板电脑等终端通过移动流量上网时,用户在终端开启了基于运营商提供的移动流量上网服务时,终端会向基站发送远程用户拨号认证请求以接入网络,及上述RADIUS请求,该RADIUS请求中包含有用户标识和基站标识,将用户标识和基站标识关联,其中,用户标识可以包括手机号码、用户的IP地址、或者用户终端的标识信息等,基站标识可以是基站ID或者基站的具体位置等信息。在接收到远程终端发送的RADIUS请求时,对该RADIUS请求进行解析,获取到其中包含的用户标识和基站标识并关联,例如将获取到的手机号码、用户的IP地址或者用户终端的标识信息等用户标识信息与基站ID关联。When a user uses a terminal such as a mobile phone or a tablet to access the Internet through mobile traffic, and the user enables the mobile traffic-based Internet service provided by the operator on the terminal, the terminal will send a remote user dial-up authentication request to the base station to access the network, and the above RADIUS request , the RADIUS request contains the user ID and the base station ID, and associates the user ID with the base station ID, where the user ID can include the mobile phone number, the user's IP address, or the identification information of the user terminal, etc. The base station ID can be the base station ID or The specific location of the base station and other information. When receiving the RADIUS request sent by the remote terminal, the RADIUS request is parsed to obtain and associate the user ID and base station ID contained in the request, such as the obtained mobile phone number, user IP address or user terminal identification information, etc. The user identification information is associated with the base station ID.

步骤S22,接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识。Step S22, when receiving the HTTP request sent by the remote terminal, obtain the access information and the user ID corresponding to the HTTP request, and obtain the base station ID associated with the user ID.

步骤S23,根据所述访问信息更新获取的所述基站标识对应的访问统计信息,其中,所述访问信息包括访问地址。Step S23: Update the acquired access statistical information corresponding to the 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 dial-up authentication, the user accesses the website by sending an HTTP request. After receiving the HTTP request sent by the above-mentioned remote terminal, the HTTP request is intercepted, and the URL of the HTTP request accessed by the user is obtained from it (Uniform Resource Locator (Uniform Resource Locator), domain information of the URL accessed by the user, access information such as access time, and user ID, and obtain the base station ID associated with the user ID. Since the URLs accessed by each user may be duplicated, for example , there is a situation where multiple users access the same URL. Therefore, after obtaining the above access information, update the access statistics corresponding to the pre-established base station identifier, because the received HTTP request may be 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 has been accessed and the access time, etc. Therefore, each time an HTTP request is received, the number of accesses to the URL corresponding to the HTTP request is updated, and the access times Time and other information, the access popularity of a URL address can be obtained according to the information, for example, the number of times a URL address is accessed within a certain period of time.

步骤S24,当所述访问统计信息与预置规则匹配时,所述移动基站CDN系统为所述远程终端提供所述预置规则对应的服务。Step S24, when the access statistical information matches a preset rule, the mobile base station CDN system provides the remote terminal with a service corresponding to the preset rule.

可以预先设置预置规则,例如,设置VIP手机号码,或者当某一个URL的访问次数达到一定次数,或者针对某个特定基站的访问用户,并且为该预置规则配置对应的定向服务,例如定向加速、定向推送等等。当更新的访问统计信息中的符合配置的预置规则时,为发出上述RADIUS请求和HTTP请求的远程终端提供该预置规则对应的服务,例如缓存加速、广告推送、带宽控制、重定向等。Preset rules can be set in advance, for example, to set the VIP mobile phone number, or when the number of visits to a URL reaches a certain number of times, or for users who visit a specific base station, and configure the corresponding targeting services for the preset rules, such as targeting Acceleration, targeted push, etc. When the updated access statistics match the configured preset rules, provide services corresponding to the preset rules, such as cache acceleration, advertisement push, bandwidth control, redirection, etc., to the remote terminal that sends the above-mentioned RADIUS request and HTTP request.

上述访问统计信息体现了用户的访问热点,例如,如统计特定基站区域内热点视频、热门网站等,然后针对TOP100的网站资源进行针对性的加速,结合TOP100的网站访问和视频,通过大数据计算,可以针对某个基站的特定用户互联网访问推送相应的推荐信息,比如在商业街的基站,通过CDN采集相应的信息,可以推送该基站附近正在举行促销活动商家的链接,比如在学校宿舍的基站,可以通过采集最近一段时间学生热点观看的视频从而推送相关的广告信息。既可以优化用户体验,也可以充分掌握用户的行为特征,做到真正意义上的精细化流量经营。The above access statistics reflect the user's access hotspots, such as statistics of hotspot videos and popular websites in a specific base station area, and then targeted acceleration for TOP100 website resources, combined with TOP100 website visits and videos, through big data calculation , you can push the corresponding recommendation information for a specific user of a base station for Internet access, such as a base station in a commercial street, collect the corresponding information through CDN, and push the link of a business that is holding promotional activities near the base station, such as a base station in a school dormitory , you can push relevant advertising information by collecting videos that students have watched hotly in the recent period. It can not only optimize the user experience, but also fully grasp the behavioral characteristics of users, so as to achieve refined traffic management in the true sense.

本实施例提出的移动基站CDN系统的服务方法,在基站处设置CDN服务器,并预先设置预置规则,在接收到远程终端发送的RADIUS请求时,解析该请求以获取用户标识和基站标识并关联,当远程终端发送HTTP请求访问网络时,获取HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识,并更新基站标识对应的访问统计信息,判断访问统计信息是否符合与预置规则匹配,若符合,则为该远程终端提供预置规则对应的服务,例如缓存加速,定向推送等,解决了现有CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。In the service method of the mobile base station CDN system proposed in this embodiment, a CDN server is set up at the base station, and preset rules are set in advance, and when a RADIUS request sent by a remote terminal is received, the request is parsed to obtain and associate the user ID with the base station ID. , when the remote terminal sends an HTTP request to access the network, obtain the access information and user ID corresponding to the HTTP request, obtain the base station ID associated with the user ID, and update the access statistical information corresponding to the base station ID, and determine whether the access statistical information conforms to the The preset rules match. If they match, the remote terminal will be provided with services corresponding to the preset rules, such as cache acceleration, directional push, etc., which solves the technical problem that the existing CDN cannot provide directional services based on the user access information of a specific base station. .

参照图3所示,基于本发明移动基站CDN系统的服务方法的第一实施例提出本发明移动基站CDN系统的服务方法的第二实施例。在本实施例中,步骤S24包括以下细化步骤:Referring to FIG. 3 , based on the first embodiment of the service method of the mobile base station CDN system of the present invention, a second embodiment of the service method of the mobile base station CDN system of the present invention is proposed. In this embodiment, step S24 includes the following refinement steps:

步骤S241,当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容。Step S241, when the access statistical information conforms to the configured preset rule and the service corresponding to the preset rule is cache acceleration, acquire the content corresponding to the HTTP request from the cache area.

步骤S242,当从缓存区中获取到所述HTTP请求对应的内容时,响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。Step S242, when the content corresponding to the HTTP request is obtained from the cache area, respond to the HTTP request and send the content corresponding to the HTTP request in the cache area to the remote terminal corresponding to the user ID.

当预先配置的预置规则对应的服务为向发送上述RADIUS请求和HTTP请求且满足预置规则的远程终端提供缓存加速时,从缓存区中获取的HTTP请求对应的内容,并将其发送至远程终端。When the service corresponding to the preconfigured preset rule is to provide cache acceleration to the remote terminal that sends the above-mentioned RADIUS request and HTTP request and satisfies the preset rule, the content corresponding to the HTTP request obtained from the cache area is sent to the remote terminal terminal.

进一步地,在步骤S241之后,步骤S24还包括:Further, after step S241, step S24 further includes:

当从缓存区中获取不到所述HTTP请求对应的内容时,从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;将所述HTTP请求对应的内容保存至所述缓存区。When the content corresponding to the HTTP request cannot be 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 remote terminal; save the content corresponding to the HTTP request to the buffer area.

可以理解的是,当某一URL地址第一次被访问时,即使本次访问满足要求,但是缓存区中还没有缓存HTTP请求对应的内容,此时从HTTP请求对应的源服务器获取HTTP请求对应的内容并响应发送HTTP请求的远程终端,并且将获取到的内容保存至缓存区,当再次接收到符合预置规则的请求时,为其对应的远程终端提供缓存加速服务。It is understandable that when a URL address is accessed for the first time, even if the access meets the requirements, the content corresponding to the HTTP request has not been cached in the cache area. At this time, the corresponding HTTP request is obtained from the source server corresponding to the HTTP request. It responds to the remote terminal that sends the HTTP request, and saves the acquired content to the cache area. When a request that conforms to the preset rules is received again, the corresponding remote terminal is provided with a cache acceleration service.

进一步地,若用户标识和访问统计信息不符合配置的预置规则时,直接将HTTP请求透明代理到目的地址,不对请求做任何处理。Further, if the user ID and access statistics do not conform to 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 surfs the Internet near a certain base station is provided with a cache acceleration service. Suppose the preset rule configured is that the number of visits to the URL of video A of the Youku website reaches 100 times, and the corresponding service is cache acceleration. When the user accesses the Internet through the base station, first parse the RADIUS request sent by the user's terminal, and parse the request to obtain the user ID and base station ID, 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 visits to the address. If the number of visits reaches 100, the content corresponding to the HTTP request will be cached. The statistics of the number of visits can be the visit requests sent by different users. When the same HTTP request is subsequently received, it is an HTTP request. The corresponding remote terminal provides 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 origin server. The user brings a better online experience, and at the same time realizes the value-added traffic. The above is just a simple example. In practical applications, diversified preset rules can be created according to the needs of different operators to achieve a more refined service experience.

在其他的实施例中,也可以是其他的定向服务,例如定向推送等。当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,向发送符合所述预置规则的所述HTTP请求的远程终端推送配置的广告信息。In other embodiments, it may also be other targeted services, such as targeted push and so on. When the access statistical information conforms to the configured preset rule and the service corresponding to the preset rule is advertisement push, push the configured advertisement information to the remote terminal that sends the HTTP request that conforms to the preset rule.

进一步地,该方法还包括以下步骤:Further, the method also includes the following steps:

根据更新的所述访问统计信息更新所述预置规则。The preset rules are updated according to the updated access statistics.

根据访问统计信息更新预置规则,例如,当热门网址有变化,可根据变化后的信息更新预置规则;或者运营商可以根据自己的需要设置预置规则,例如为特定的VIP用户提供定向服务,或者为某一特定位置的用户提供定向服务,或者为访问某一URL的用户提供定向服务等。Update preset rules according to access statistics. For example, when popular URLs change, preset rules can be updated according to the changed information; or operators can set preset rules according to their own needs, such as providing targeted services for specific VIP users , or provide targeting services for users in a specific location, or provide targeting services for users who visit a certain URL.

本发明还提出一种移动基站CDN系统。The present invention also proposes a CDN system of a mobile base station.

参照图4所示,为本发明移动基站CDN系统第一实施例的功能模块示意图。Referring to FIG. 4 , it is a schematic diagram of functional modules of the first embodiment of the CDN system of the mobile base station according to the present invention.

在该实施例中,将CDN系统部署在移动基站,该移动基站CDN系统包括:In this embodiment, a CDN system is deployed on a mobile base station, and the mobile base station CDN system includes:

报文接收模块10,用于接收远程终端发送的远程用户拨号认证RADIUS请求,以及HTTP请求;The message receiving module 10 is used for receiving the remote user dial-up authentication RADIUS request and the HTTP request sent by the remote terminal;

服务控制模块20,用于根据接收到的所述远程终端发送的RADIUS请求和HTTP请求,由所述移动基站CDN系统为所述远程终端提供与预置规则对应的服务。The service control module 20 is configured to, according to the received RADIUS request and HTTP request sent by the remote terminal, provide the remote terminal with the service corresponding to the preset rule by the CDN system of the mobile base station.

基站是用户访问互联网的接入点,本实施例中,在基站的nodeB中部署CDN服务器,该CDN服务器可以直接获取到用户向该基站发送的RADIUS(Remote Authentication DialIn User Service,远程用户拨号认证服务)请求和HTTP(Hyper Text Transfer Protocol,超文本传输协议)请求,在多个基站CDN的基础上再设置一个总服务器,作为移动基站CDN系统,对获取到的请求进行解析并处理。The base station is the access point for the user to access the Internet. In this embodiment, a CDN server is deployed in the nodeB of the base station, and the CDN server can directly obtain the RADIUS (Remote Authentication DialIn User Service) sent by the user to the base station. ) request and HTTP (Hyper Text Transfer Protocol, Hyper Text Transfer Protocol) request, set up a general server on the basis of multiple base station CDNs, as a mobile base station CDN system, parse and process the obtained requests.

进一步地,参照图5所示,服务控制模块20可以包括以下单元:Further, as shown in 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 and associate the user ID and the base station ID when receiving the remote user dial-up authentication RADIUS request sent by the remote terminal.

当用户使用手机、平板电脑等终端通过移动流量上网时,用户在终端开启了基于运营商提供的移动流量上网服务时,终端会向基站发送远程用户拨号认证请求以接入网络,及上述RADIUS请求,该RADIUS请求中包含有用户标识和基站标识,将用户标识和基站标识关联,其中,用户标识可以包括手机号码、用户的IP地址、或者用户终端的标识信息等,基站标识可以是基站ID或者基站的具体位置等信息。在接收到远程终端发送的RADIUS请求时,解析单元21对该RADIUS请求进行解析,获取到其中包含的用户标识和基站标识并关联,例如将获取到的手机号码、用户的IP地址或者用户终端的标识信息等用户标识信息与基站ID关联。When a user uses a terminal such as a mobile phone or a tablet to access the Internet through mobile traffic, and the user enables the mobile traffic-based Internet service provided by the operator on the terminal, the terminal will send a remote user dial-up authentication request to the base station to access the network, and the above RADIUS request , the RADIUS request contains the user ID and the base station ID, and associates the user ID with the base station ID, where the user ID can include the mobile phone number, the user's IP address, or the identification information of the user terminal, etc. The base station ID can be the base station ID or The specific location of the base station and other information. When receiving the RADIUS request sent by the remote terminal, the parsing unit 21 parses the RADIUS request, and obtains and associates the user ID and base station ID contained therein, such as the obtained mobile phone number, the user's IP address, or the user terminal's ID. User identification information such as identification information is associated with the base station ID.

获取单元22,用于接收到所述远程终端发送的HTTP请求时,获取所述HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识。The obtaining unit 22 is configured to obtain access information and a user ID corresponding to the HTTP request when receiving the HTTP request sent by the remote terminal, and obtain the base station ID associated with the user ID.

更新单元23,用于根据所述访问信息更新获取的所述基站标识对应的访问统计信息,其中,所述访问信息包括访问地址。The updating unit 23 is configured to update the acquired access statistics information corresponding to the base station identifier according to the access information, wherein 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 dial-up authentication, the user accesses the website by sending an HTTP request, and after receiving the HTTP request sent by the above-mentioned remote terminal, the obtaining unit 22 intercepts the HTTP request, and obtains the information of the HTTP request accessed by the user. URL (Uniform Resource Locator, Uniform Resource Locator), the domain information of the URL accessed by the user, and access information such as access time, as well as the user ID, and obtain the base station ID associated with the user ID, since the URL accessed by each user may exist Repeat, for example, there is a situation where multiple users access the same URL. Therefore, after obtaining the above access information, update the access statistics corresponding to the pre-established base station identifier, because the received HTTP request may be 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 has been accessed, and the access time, etc. Therefore, each time an HTTP request is received, the obtaining unit 22 updates the URL corresponding to the HTTP request. Information such as the number of visits and the visit time can be used to obtain the visit popularity of a URL address, for example, the number of times a URL address is visited within a certain period of time.

执行单元24,用于当所述访问统计信息与预置规则匹配时,为所述远程终端提供所述预置规则对应的服务。The execution unit 24 is configured to provide the remote terminal with a service corresponding to the preset rule when the access statistical information matches a preset rule.

可以预先设置预置规则,例如,设置VIP手机号码,或者当某一个URL的访问次数达到一定次数,或者针对某个特定基站的访问用户,并且为该预置规则配置对应的定向服务,例如定向加速、定向推送等等。当获取到的用户标识和更新的访问统计信息中符合配置的预置规则时,执行单元24为发出上述RADIUS请求和HTTP请求的远程终端提供该预置规则对应的服务,例如缓存加速、广告推送、带宽控制、重定向等。Preset rules can be set in advance, for example, to set the VIP mobile phone number, or when the number of visits to a URL reaches a certain number of times, or for users who visit a specific base station, and configure the corresponding targeting services for the preset rules, such as targeting Acceleration, targeted push, etc. When the acquired user ID and the updated access statistics conform to the configured preset rules, the execution unit 24 provides services corresponding to the preset rules, such as cache acceleration, advertisement push, for the remote terminal that sends the above-mentioned RADIUS request and HTTP request , bandwidth control, redirection, etc.

上述访问统计信息体现了用户的访问热点,例如,如统计特定基站区域内热点视频、热门网站等,然后针对TOP100的网站资源进行针对性的加速,结合TOP100的网站访问和视频,通过大数据计算,针对某个基站的特定用户互联网访问推送相应的推荐信息,比如在商业街的基站,通过CDN采集相应的信息,执行单元24可以推送该基站附近正在举行促销活动商家的链接,比如在学校宿舍的基站,执行单元24可以通过采集最近一段时间学生热点观看的视频从而推送相关的广告信息。既可以优化用户体验,也可以充分掌握用户的行为特征,做到真正意义上的精细化流量经营。The above access statistics reflect the user's access hotspots, such as statistics of hotspot videos and popular websites in a specific base station area, and then targeted acceleration for TOP100 website resources, combined with TOP100 website visits and videos, through big data calculation , pushes corresponding recommendation information for a specific user of a base station for Internet access, such as a base station in a commercial street, collects corresponding information through CDN, and the execution unit 24 can push the link of a business that is holding promotional activities near the base station, such as in a school dormitory The base station, the execution unit 24 can push relevant advertisement information by collecting videos watched by students in a recent period of time. It can not only optimize the user experience, but also fully grasp the behavioral characteristics of users, so as to achieve refined traffic management in the true sense.

本实施例提出的移动基站CDN系统,在基站处设置CDN服务器,并预先设置预置规则,在接收到远程终端发送的RADIUS请求时,解析该请求以获取用户标识和基站标识并关联,当远程终端发送HTTP请求访问网络时,获取HTTP请求对应的访问信息以及用户标识,并获取所述用户标识关联的基站标识,并更新基站标识对应的访问统计信息,判断访问统计信息是否符合与预置规则匹配,若符合,则为该远程终端提供预置规则对应的服务,例如缓存加速,定向推送等,解决了现有CDN无法根据某一特定基站的用户访问信息提供定向服务的技术问题。In the mobile base station CDN system proposed in this embodiment, a CDN server is set at the base station, and preset rules are set in advance, and when a RADIUS request sent by a remote terminal is received, the request is parsed to obtain and associate the user ID with the base station ID. When the terminal sends an HTTP request to access the network, it obtains the access information and user ID corresponding to the HTTP request, obtains the base station ID associated with the user ID, and updates the access statistics corresponding to the base station ID, and determines whether the access statistics conform to the preset rules. If it matches, the remote terminal will be provided with services corresponding to the preset rules, such as cache acceleration, directional push, etc., which solves the technical problem that the existing CDN cannot provide directional services based on user access information of a specific base station.

参照图6所示,基于本发明移动基站CDN系统的第一实施例提出本发明移动基站CDN系统的第二实施例。在本实施例中,执行单元24包括以下子单元:Referring to FIG. 6 , based on the first embodiment of the mobile base station CDN system of the present invention, a second embodiment of the mobile base station CDN system of the present invention is proposed. In this embodiment, the execution unit 24 includes the following subunits:

缓存获取子单元241,用于当所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为缓存加速时,从缓存区获取所述HTTP请求对应的内容。The cache obtaining subunit 241 is configured to obtain the content corresponding to the HTTP request from the cache area when the access statistical information conforms to the configured preset rule and the service corresponding to the preset rule is cache acceleration.

缓存加速子单元242,用于当从缓存区中获取到所述HTTP请求对应的内容时,响应所述HTTP请求并将所述缓存区中的所述HTTP请求对应的内容发送至所述用户标识对应的远程终端。The cache acceleration subunit 242 is configured to respond to the HTTP request and send the content corresponding to the HTTP request in the cache area to the user ID when the content corresponding to the HTTP request is obtained from the cache area the corresponding remote terminal.

当预先配置的预置规则对应的服务为向发送上述RADIUS请求和HTTP请求且满足预置规则的远程终端提供缓存加速时,缓存获取子单元241从缓存区中获取的HTTP请求对应的内容,缓存加速子单元242将其发送至远程终端。When the service corresponding to the preconfigured preset rule is to provide cache acceleration to the remote terminal that sends the above-mentioned RADIUS request and HTTP request and satisfies the preset rule, the cache acquisition subunit 241 acquires the content corresponding to the HTTP request from the cache area, and caches the content corresponding to the HTTP request. The acceleration subunit 242 sends it to the remote terminal.

进一步地,缓存获取子单元241,还用于当从缓存区中获取不到所述HTTP请求对应的内容时,从所述HTTP请求对应的源服务器下载所述HTTP请求对应的内容并响应所述远程终端;以及将所述HTTP请求对应的内容保存至所述缓存区。Further, the cache acquisition subunit 241 is further configured to download the content corresponding to the HTTP request from the source server corresponding to the HTTP request and respond to the HTTP request when the content corresponding to the HTTP request cannot be obtained from the cache area. a remote terminal; and saving the content corresponding to the HTTP request to the cache area.

可以理解的是,当某一URL地址第一次被访问时,即使本次访问满足要求,但是缓存区中还没有缓存HTTP请求对应的内容,此时从HTTP请求对应的源服务器获取HTTP请求对应的内容并响应发送HTTP请求的远程终端,并且将获取到的内容保存至缓存区,当再次接收到符合预置规则的请求时,为其对应的远程终端提供缓存加速服务。It is understandable that when a URL address is accessed for the first time, even if the access meets the requirements, the content corresponding to the HTTP request has not been cached in the cache area. At this time, the corresponding HTTP request is obtained from the source server corresponding to the HTTP request. It responds to the remote terminal that sends the HTTP request, and saves the acquired content to the cache area. When a request that conforms to the preset rules is received again, the corresponding remote terminal is provided with a cache acceleration service.

进一步地,若用户标识和访问统计信息不符合配置的预置规则时,执行单元24直接将HTTP请求透明代理到目的地址,不对请求做任何处理。Further, if the user identification and the access statistical information do not conform to the configured preset rules, the execution unit 24 directly transparently proxies 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 surfs the Internet near a certain base station is provided with a cache acceleration service. Suppose the preset rule configured is that the number of visits to the URL of video A of the Youku website reaches 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 RADIUS request sent by the user's terminal, and parses the request to obtain the user ID and the base station ID, the user accesses the video A of the Youku website, and the obtaining unit 22 obtains the URL address of the video A and other accesses information, and update the number of visits of the URL address. If the number of visits reaches 100, the cache acquisition subunit 241 caches the content corresponding to the HTTP request. The statistics of the number of visits may be the visit requests sent by different users. When receiving the same HTTP request, the cache acceleration subunit 242 provides a cache acceleration service for the remote terminal corresponding to the HTTP request, 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 origin server. , for the remote terminal, it speeds up the response time of HTTP requests, brings users a better online experience, and realizes the value-added of traffic. The above is just a simple example. In practical applications, diversified preset rules can be created according to the needs of different operators to achieve a more refined service experience.

在其他的实施例中,也可以是其他的定向服务,例如定向推送等。执行单元24还可以包括定向推送子单元,用于当所述用户标识和所述访问统计信息符合配置的预置规则、且所述预置规则对应的服务为广告推送时,向发送符合所述预置规则的所述HTTP请求的远程终端推送配置的广告信息。In other embodiments, it may also be other targeted services, such as targeted push and so on. The execution unit 24 may further include a directional push sub-unit, configured to send a message that meets the preset rules of the configuration when the user identifier and the access statistical information conform to the preset rules, and the service corresponding to the preset rules is advertisement push. The remote terminal of the HTTP request of the preset rule pushes the configured advertisement information.

进一步地,该系统还包括配置模块,用于根据更新的所述访问统计信息更新所述预置规则。Further, the system further includes a configuration module for updating the preset rules according to the updated access statistics.

配置模块根据访问统计信息更新预置规则,例如,当热门网址有变化,可根据变化后的信息更新预置规则;或者运营商可以根据自己的需要设置预置规则,例如为特定的VIP用户提供定向服务,或者为某一特定位置的用户提供定向服务,或者为访问某一URL的用户提供定向服务等。The configuration module updates the preset rules according to the access statistics. For example, when the popular website changes, the preset rules can be updated according to the changed information; or the operator can set the preset rules according to their own needs, such as providing specific VIP users. Orientation services, or provide targeted services for users in a specific location, or provide targeted services for users who visit a certain URL.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.

Claims (10)

1. A service method of a CDN system of a mobile base station is characterized in that the CDN system is deployed in the mobile base station, and the service method of the CDN system of the mobile base station comprises the following steps:
receiving a remote user dial authentication RADIUS request and an HTTP request sent by a remote terminal;
according to the received RADIUS request and HTTP request sent by the remote terminal, the CDN system of the mobile base station provides a service corresponding to a preset rule for the remote terminal;
the step of providing, by the mobile base station CDN system, a service corresponding to a preset rule for the remote terminal according to the received RADIUS request and HTTP request sent by the remote terminal includes:
when a remote user dial authentication RADIUS request sent by a remote terminal is received, the RADIUS request is analyzed to obtain a user identifier and a base station identifier and to associate the user identifier and the base station identifier;
when an HTTP request sent by the remote terminal is received, acquiring access information and a user identifier corresponding to the HTTP request, and acquiring a base station identifier associated with the user identifier;
updating the access statistical information corresponding to the acquired base station identifier according to the access information, wherein the access information comprises an access address;
and when the access statistical information is matched with a preset rule, the CDN system of the mobile base station provides a service corresponding to the preset rule for the remote terminal.
2. The service method of the mobile base station CDN system of claim 1, wherein the step of providing, by the mobile base station CDN system, the service corresponding to a preset rule for the remote terminal when the access statistical information matches the preset rule includes:
when the access statistical information accords with a configured preset rule and the service corresponding to the preset rule is cache acceleration, acquiring the content corresponding to the HTTP request from a cache region;
when the content corresponding to the HTTP request is acquired from the cache region, the mobile base station CDN system responds to the HTTP request and sends the content corresponding to the HTTP request in the cache region to the remote terminal corresponding to the user identifier.
3. The serving method of the CDN system of claim 2, wherein after the step of obtaining the content corresponding to the HTTP request from the cache, the serving method of the CDN system further comprises the steps of:
when the content corresponding to the HTTP request is not obtained from the cache region, the CDN system of the mobile base station downloads the content corresponding to the HTTP request from the source server corresponding to the HTTP request and responds to the remote terminal;
and storing the content corresponding to the HTTP request to the cache region.
4. The service method of the mobile base station CDN system of claim 1, wherein the step of providing, by the mobile base station CDN system, the service corresponding to a preset rule for the remote terminal when the access statistical information matches the preset rule includes:
and when the access statistical information accords with a preset rule and the service corresponding to the preset rule is advertisement push, the CDN system of the mobile base station pushes the configured advertisement information to a remote terminal corresponding to the user identifier.
5. The method as claimed in claim 1, wherein the method further comprises:
and updating the preset rule according to the updated access statistical information.
6. A CDN system of a mobile base station is deployed at the mobile base station, and comprises:
the message receiving module is used for receiving a remote user dial authentication RADIUS request and an HTTP request sent by a remote terminal;
the service control module is used for providing a service corresponding to a preset rule for the remote terminal by the CDN system according to the received RADIUS request and HTTP request sent by the remote terminal;
wherein the service control module comprises:
the system comprises an analysis unit, a base station identification and a remote terminal, wherein the analysis unit is used for analyzing a remote user dial authentication RADIUS request sent by the remote terminal to obtain and associate a user identification and the base station identification;
the acquisition unit is used for acquiring access information and a user identifier corresponding to the HTTP request and acquiring a base station identifier associated with the user identifier when the HTTP request sent by the remote terminal is received;
the updating unit is used for updating the access statistical information corresponding to the acquired base station identifier according to the access information, wherein the access information comprises an access address;
and the execution unit is used for providing the service corresponding to the preset rule for the remote terminal when the access statistical information is matched with the preset rule.
7. The CDN system of claim 6 wherein the execution unit comprises:
the cache obtaining subunit is configured to obtain, when the access statistical information conforms to a configured preset rule and a service corresponding to the preset rule is cache acceleration, content corresponding to the HTTP request from a cache region;
and the cache acceleration subunit is configured to, when the content corresponding to the HTTP request is acquired from the cache region, respond to the HTTP request and send the content corresponding to the HTTP request in the cache region to the remote terminal corresponding to the user identifier.
8. The CDN system of claim 7, wherein the cache obtaining subunit is further configured to, when content corresponding to the HTTP request is not obtained from the cache, download the content corresponding to the HTTP request from an origin server corresponding to the HTTP request and respond to the remote terminal; and storing the content corresponding to the HTTP request to the cache region.
9. The CDN system of claim 6 wherein the execution unit further comprises:
and the directional pushing subunit is used for pushing the configured advertisement information to the remote terminal corresponding to the user identifier when the access statistical information conforms to the configured preset rule and the service corresponding to the preset rule is advertisement pushing.
10. The CDN system of claim 6 further comprising:
and the configuration module is used for updating the preset rule according to the updated access statistical information.
CN201610088156.9A 2016-02-16 2016-02-16 Mobile base station CDN system and service method thereof Active CN107087013B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN107087013A CN107087013A (en) 2017-08-22
CN107087013B true CN107087013B (en) 2020-07-07

Family

ID=59615179

Family Applications (1)

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

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 method and system for redirecting a CDN service node of a content distribution network
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

Family Cites Families (7)

* 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
CN103581248A (en) * 2012-07-31 2014-02-12 中兴通讯股份有限公司 Method and device for providing content distribution network CDN service
CN103547333B (en) * 2013-03-26 2016-07-06 华为技术有限公司 A kind of advertisement sending method, equipment and system
EP2903225B1 (en) * 2014-01-30 2016-09-28 Alcatel Lucent Bit-rate control for access to content stored in local delivery devices of a content-delivery network
CN105100174A (en) * 2014-05-22 2015-11-25 中国移动通信集团公司 Method, device and system for scheduling Internet resource
CN104486740B (en) * 2014-12-04 2018-07-03 中国联合网络通信集团有限公司 A kind of method, gateway and mobile management entity for handling data
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
WO2017140247A1 (en) 2017-08-24
CN107087013A (en) 2017-08-22

Similar Documents

Publication Publication Date Title
US9521659B2 (en) Methods and apparatuses for communicating content data to a communications terminal from a local data store
CN103581248A (en) Method and device for providing content distribution network CDN service
CN102843391A (en) Information transmitting method and gateway
KR101638315B1 (en) System and method for providing advertisement based on web using wifi network
CN107087013B (en) Mobile base station CDN system and service method thereof
CN104243506A (en) Browser redirection method and device
CN103618663A (en) Information sharing system and information sharing method thereof
US20130188599A1 (en) Wireless communication terminal to receive content data from an edge node
CN106686033A (en) A method, device and system for caching and serving content
WO2015184799A1 (en) Network access method, network device and management server
CN102014368A (en) Method, system and device for acquiring position information of user equipment
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN1968090B (en) Method and system for realizing data business service center obtaining user terminal authentication information
US20090248529A1 (en) System and method for providing value added services via wireless access points
JP2012175298A (en) Content distribution method, relay device and content distribution system
CN102244844A (en) Method for transmitting multimedia message, device and system
EP3300335B1 (en) Device and method for data packet processing
US20150288734A1 (en) Adaptive leveraging of network information
CN104731801B (en) A kind of method for realizing page adaptation, platform and system
CN103619005B (en) Method and system for obtaining cell phone number of 3G network user
JP5940931B2 (en) Server device, communication device, and program
US20160234685A1 (en) Methods and Devices for Processing Identification Information
KR101096334B1 (en) Customized web page transmission and reception system, mobile carrier server included in the system and control method thereof
CN107343014B (en) Service distribution method based on content distribution network and remote gateway
JP2015142227A (en) Communication control device, communication control method, and communication control program

Legal Events

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