[go: up one dir, main page]

CN103703747A - Internet content storage method and device - Google Patents

Internet content storage method and device Download PDF

Info

Publication number
CN103703747A
CN103703747A CN201380001860.0A CN201380001860A CN103703747A CN 103703747 A CN103703747 A CN 103703747A CN 201380001860 A CN201380001860 A CN 201380001860A CN 103703747 A CN103703747 A CN 103703747A
Authority
CN
China
Prior art keywords
base station
internet content
access
stored
request message
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.)
Pending
Application number
CN201380001860.0A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103703747A publication Critical patent/CN103703747A/en
Pending legal-status Critical Current

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/2866Architectures; Arrangements
    • H04L67/289Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network
    • 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

Landscapes

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

Abstract

An embodiment of the invention provides an internet content storage method and apparatus. In the method, a first base station, when Internet content that first user equipment requests for access is stored at a second base station, transmits a first access request message to the second base station; and the first base station receives the Internet content, transmitted by the second base station based on the first access request message, that the first user equipment requests for access. According to the embodiment of the invention, the first base station, when the Internet content that the first user equipment requests for access is stored at the second base station, obtains the Internet content that the first user equipment requests for access from the second base station and transmits to the first user equipment, so that multiple base stations can share stored Internet content thereby. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of the stored Internet content by the base stations can be increased, the storage utilization rate is improved, and therefore the transmission cost is effectively saved and the delay time is reduced.

Description

互联网内容存储方法和设备Internet content storage method and device

技术领域technical field

本发明实施例涉及通信技术领域,并且更具体地,涉及互联网内容存储方法和设备。The embodiments of the present invention relate to the technical field of communications, and more specifically, to a method and device for storing Internet content.

背景技术Background technique

随着3G(The3rd Generation Partnership Project,第三代合作伙伴计划)与4G(The4rd Generation Partnership Project,第四代合作伙伴计划)等移动通信蜂窝网络的部署和移动智能终端的普及,移动互联网的各种应用也蓬勃发展,例如移动网页浏览、社交网络、文件分享和下载、移动视频等。这些移动互联网应用给移动通信蜂窝网络带来大量的下行流量,使得移动通信蜂窝网络的网络设备的工作负荷大大增加。传输链路将会导致拥塞,并且数据流从互联网(Internet)到移动终端的端到端的链路路径较长,使得传输延迟时间较长,从而影响终端用户的体验。With the deployment of mobile communication cellular networks such as 3G (The3rd Generation Partnership Project, Third Generation Partnership Project) and 4G (The4rd Generation Partnership Project, Fourth Generation Partnership Project) and the popularization of mobile smart terminals, various mobile Internet Applications are also booming, such as mobile web browsing, social networking, file sharing and downloading, mobile video, and more. These mobile Internet applications bring a large amount of downlink traffic to the mobile communication cellular network, which greatly increases the workload of the network equipment of the mobile communication cellular network. The transmission link will cause congestion, and the end-to-end link path of the data flow from the Internet (Internet) to the mobile terminal is long, which makes the transmission delay time long, thereby affecting the experience of the end user.

为了减轻下行数据流量对传输网络的压力,当前可以使用的方法是在互联网网络中部署可以进行互联网内容存储的节点,例如CDN(Content DeliveryNetwork,内容分发网络)。In order to reduce the pressure of downlink data traffic on the transmission network, the currently available method is to deploy nodes in the Internet network that can store Internet content, such as CDN (Content Delivery Network, content distribution network).

在现有的一种内容存储技术中,将互联网内容存储的节点部署到各个基站,这样,UE(User Equipment,用户设备)可以就近获取移动互联网内容,可以节省从基站到核心网,以及核心网到互联网的回传,缩短终端的等待延迟时间。但是,在该现有的技术方案中,本发明的发明人发现:这种现有的内容存储方式,基站存储的互联网内容的访问命中率较低,存储的利用率也较低。In an existing content storage technology, Internet content storage nodes are deployed to each base station, so that UE (User Equipment, user equipment) can obtain mobile Internet content nearby, which can save time from the base station to the core network, and the core network. The backhaul to the Internet shortens the waiting delay time of the terminal. However, in this existing technical solution, the inventors of the present invention found that: in this existing content storage method, the access hit rate of the Internet content stored in the base station is low, and the storage utilization rate is also low.

发明内容Contents of the invention

本发明实施例提供一种互联网内容存储方法和设备,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。Embodiments of the present invention provide a method and device for storing Internet content, which can increase the access hit rate of Internet content stored in a base station and improve storage utilization, thereby effectively saving transmission overhead and reducing delay time.

第一方面,提供了一种互联网内容存储方法,该方法包括:第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下,向所述第二基站发送第一访问请求消息,所述第一访问请求消息用于请求所述第二基站发送所述第一用户设备请求访问的互联网内容,其中所述第一基站与所述第二基站不同;所述第一基站接收所述第二基站根据所述第一访问请求消息发送的所述第一用户设备请求访问的互联网内容。In a first aspect, a method for storing Internet content is provided, the method comprising: when the Internet content requested by the first user equipment is stored in the second base station, the first base station sends a first access request to the second base station message, the first access request message is used to request the second base station to send the Internet content that the first user equipment requests to access, wherein the first base station is different from the second base station; the first base station receives The Internet content requested by the first user equipment to be accessed is sent by the second base station according to the first access request message.

结合第一方面,在第一种可能的实现方式中,在所述向所述第二基站发送第一访问请求消息之前,所述方法还包括:根据所述第一基站存储的内容目录表确定第一用户设备请求访问的互联网内容存储在所述第二基站中。With reference to the first aspect, in a first possible implementation manner, before sending the first access request message to the second base station, the method further includes: determining according to the content directory table stored in the first base station The Internet content requested by the first user equipment to be accessed is stored in the second base station.

结合第一方面及其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,在所述根据所述第一基站的内容目录表确定第一用户设备请求访问的互联网内容存储在所述第二基站中之前,所述方法还包括:所述第一基站接收所述第二基站发送的所述第一用户设备请求访问的互联网内容的标识和存储地址;所述第一基站将所述第一用户设备请求访问的互联网内容的标识和存储地址记录在所述内容目录表中。With reference to the first aspect and any one of the above-mentioned implementation manners, in another implementation manner of the first aspect, in the determining according to the content directory table of the first base station that the first user equipment requests to access Before the Internet content is stored in the second base station, the method further includes: the first base station receiving the identification and storage address of the Internet content requested by the first user equipment to be accessed sent by the second base station; The first base station records the identifier and storage address of the Internet content requested by the first user equipment in the content directory table.

结合第一方面及其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,在所述向所述第二基站发送第一访问请求消息之前,所述方法还包括:所述第一基站向控制服务器发送查询请求消息,所述查询请求消息用于请求控制服务器从所述控制服务器存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址;所述第一基站接收所述控制服务器发送的查询响应消息,所述查询响应消息携带所述控制服务器查询到的所述第一用户设备请求访问的互联网内容存储在所述第二基站的信息;所述第一基站根据所述查询响应消息确定所述第一用户设备请求访问的互联网内容存储在所述第二基站中;其中,所述内容目录表包括所述第二基站存储的互联网内容的标识和存储地址。With reference to the first aspect and any of the above-mentioned implementation manners, in another implementation manner of the first aspect, before sending the first access request message to the second base station, the method further Including: the first base station sends a query request message to the control server, the query request message is used to request the control server to query the storage of the Internet content requested by the first user equipment from the content directory table stored in the control server Address; the first base station receives the query response message sent by the control server, and the query response message carries the Internet content requested by the first user equipment queried by the control server and stored in the second base station information; the first base station determines according to the query response message that the Internet content requested by the first user equipment is stored in the second base station; wherein the content directory table includes the Internet content stored in the second base station The identification and storage address of the content.

结合第一方面及其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,所述第一基站存储所述第一用户设备请求访问的互联网内容。With reference to the first aspect and any one of the foregoing implementation manners thereof, in another implementation manner of the first aspect, the first base station stores the Internet content that the first user equipment requests to access.

结合第一方面及其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,在所述第一基站存储所述第一用户设备请求访问的互联网内容之前,所述方法还包括:所述第一基站接收所述第二基站发送的迁移请求消息,所述迁移请求消息用于指示所述第一基站存储所述第一用户设备请求访问的互联网内容;或者所述第一基站接收所述控制服务器发送的迁入请求消息,所述迁入请求消息用于指示所述第一基站存储所述第一用户设备请求访问的互联网内容。With reference to the first aspect and any one of the above-mentioned implementation manners, in another implementation manner of the first aspect, before the first base station stores the Internet content requested by the first user equipment to access, the The method further includes: the first base station receiving a relocation request message sent by the second base station, where the relocation request message is used to instruct the first base station to store the Internet content that the first user equipment requests to access; or the The first base station receives a move-in request message sent by the control server, where the move-in request message is used to instruct the first base station to store the Internet content that the first user equipment requests to access.

结合第一方面及其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,所述第一基站接收第二基站发送的第二访问请求消息,所述第二访问请求消息用于请求所述第一基站发送第二用户设备请求访问的互联网内容;所述第一基站根据所述第二访问请求消息将所述第二用户设备请求访问的互联网内容发送给所述第二基站。With reference to the first aspect and any of the above-mentioned implementation manners, in another implementation manner of the first aspect, the first base station receives the second access request message sent by the second base station, and the second The access request message is used to request the first base station to send the Internet content requested by the second user equipment to be accessed; the first base station sends the Internet content requested by the second user equipment to be accessed according to the second access request message. the second base station.

结合第一方面及其上述实现方式中的任一种实现方式,在第一方面的另一种实现方式中,第一基站在第一用户设备请求访问的互联网内容存储在所述第一基站情况下,从所述第一基站获取所述第一用户设备请求访问的互联网内容发送给所述第一用户设备;或者第一基站在第一用户设备请求访问的互联网内容未存储在至少两个基站的任一基站中的情况下,则从互联网网络中获取所述第一用户设备请求访问的互联网内容发送给所述第一用户设备,所述至少两个基站包括所述第一基站和所述第二基站,所述至少两个基站中任两个基站通过交换机或路由器连接。With reference to the first aspect and any of the above-mentioned implementation manners, in another implementation manner of the first aspect, the first base station stores the Internet content requested by the first user equipment in the first base station In this case, the first base station obtains the Internet content requested by the first user equipment from the first base station and sends it to the first user equipment; or the first base station does not store the Internet content requested by the first user equipment in at least two base stations In the case of any of the base stations, the Internet content requested by the first user equipment is obtained from the Internet network and sent to the first user equipment, and the at least two base stations include the first base station and the For the second base station, any two base stations in the at least two base stations are connected through a switch or a router.

第二方面,提供了另一种互联网内容存储方法,该方法包括:第二基站接收第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下发送的第一访问请求消息,所述第一访问请求消息用于请求所述第二基站发送所述第一用户设备请求访问的互联网内容,其中所述第一基站与所述第二基站不同;所述第二基站根据所述第一访问请求消息获取所述第一用户设备请求访问的互联网内容发送给所述第一基站。In a second aspect, another method for storing Internet content is provided, the method includes: the second base station receives the first access request message sent by the first base station when the Internet content requested by the first user equipment is stored in the second base station , the first access request message is used to request the second base station to send the Internet content that the first user equipment requests to access, where the first base station is different from the second base station; the second base station according to the The first access request message acquires the Internet content requested by the first user equipment and sends it to the first base station.

结合第二方面,在第一种可能的实现方式中,在所述第二基站接收第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下发送的第一访问请求消息之前,所述方法还包括:所述第二基站向所述第一基站或控制服务器发送所述第一用户设备请求访问的互联网内容的标识和存储地址。With reference to the second aspect, in a first possible implementation manner, the second base station receives the first access request message sent by the first base station when the Internet content requested by the first user equipment is stored in the second base station Previously, the method further includes: the second base station sending to the first base station or the control server the identifier and storage address of the Internet content that the first user equipment requests to access.

结合第二方面及其上述实现方式中的任一种实现方式,在第二方面的另一种实现方式中,所述第二基站删除所述第二基站存储的所述第一用户设备请求访问的互联网内容。With reference to the second aspect and any of the above-mentioned implementation manners, in another implementation manner of the second aspect, the second base station deletes the first user equipment requesting access stored by the second base station. Internet content.

结合第二方面及其上述实现方式中的任一种实现方式,在所述第二基站删除所述第二基站存储的所述第一用户设备请求访问的互联网内容之前,所述方法还包括:当在统计周期内,第二基站检测到统计的第一基站发送所述第一访问请求消息的次数大于数目阈值时,所述第二基站向所述第一基站发送迁移请求消息,所述迁移请求消息用于指示所述第一基站存储所述第一用户设备请求访问的互联网内容;或者所述第二基站接收所述控制服务器发送的迁出请求消息,所述迁出请求消息用于指示所述第二基站删除所述第二基站存储的所述第一用户设备请求访问的互联网内容。With reference to the second aspect and any one of the above implementation manners, before the second base station deletes the Internet content stored by the second base station that the first user equipment requests to access, the method further includes: When within the statistics period, when the second base station detects that the counted number of times the first base station sends the first access request message is greater than the number threshold, the second base station sends a relocation request message to the first base station, and the relocation The request message is used to instruct the first base station to store the Internet content requested by the first user equipment; or the second base station receives a move-out request message sent by the control server, and the move-out request message is used to indicate The second base station deletes the Internet content stored by the second base station that is requested to be accessed by the first user equipment.

第三方面,提供了再一种互联网内容存储方法,该方法包括:控制服务器接收第一基站发送的查询请求消息,所述查询请求消息用于请求所述控制服务器从所述控制服务器存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址;所述控制服务器根据所述查询请求消息从所述控制服务器存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址;所述控制服务器向所述第一基站发送查询响应消息,所述查询响应消息携带所述控制服务器查询到的所述第一用户设备请求访问的互联网内容存储在第二基站的信息,以便所述第一基站根据所述查询响应消息确定所述第一用户设备请求访问的互联网内容存储在所述第二基站中,其中所述第一基站与所述第二基站不同。In a third aspect, there is provided another Internet content storage method, the method includes: the control server receives a query request message sent by the first base station, and the query request message is used to request the control server from the content stored by the control server Query the storage address of the Internet content that the first user equipment requests to access in the directory table; the control server queries the content directory table stored in the control server according to the query request message. The storage address of the Internet content; the control server sends a query response message to the first base station, and the query response message carries the Internet content requested by the first user equipment queried by the control server and stored in the second base station information, so that the first base station determines according to the query response message that the Internet content requested by the first user equipment is stored in the second base station, where the first base station is different from the second base station.

结合第三方面,在第一种可能的实现方式中,在所述控制服务器接收第一基站发送的查询请求消息之前,所述方法还包括:所述控制服务器接收所述第二基站发送的所述第一用户设备请求访问的互联网内容的标识;所述控制服务器将所述第一用户设备请求访问的的互联网内容的标识和存储地址记录在所述内容目录表中。With reference to the third aspect, in a first possible implementation manner, before the control server receives the query request message sent by the first base station, the method further includes: the control server receives the query request message sent by the second base station. The identification of the Internet content that the first user equipment requests to access; the control server records the identification and storage address of the Internet content that the first user equipment requests to access in the content directory table.

结合第三方面及其上述实现方式中的任一种实现方式,在第三方面的另一种实现方式中,当统计周期内,控制服务器检测到统计的第一基站发送所述查询请求消息的次数大于数目阈值时,所述控制服务器向所述第一基站发送迁入请求消息并向所述第二基站发送迁出请求消息,且所述控制服务器对所述控制服务器存储的内容目录表进行更新;其中,所述迁入请求消息用于指示所述第一基站存储所述第一用户设备请求访问的互联网内容,以及所述迁出请求消息用于指示所述第二基站删除所述第二基站存储的所述第一用户设备请求访问的互联网内容。In combination with the third aspect and any of the above-mentioned implementation manners, in another implementation manner of the third aspect, when within the statistics period, the control server detects that the statistics of the first base station sending the query request message When the number of times is greater than the number threshold, the control server sends a move-in request message to the first base station and sends a move-out request message to the second base station, and the control server performs Update; where the move-in request message is used to instruct the first base station to store the Internet content that the first user equipment requests to access, and the move-out request message is used to instruct the second base station to delete the first The second base station stores the Internet content requested to be accessed by the first user equipment.

第四方面,提供了一种第一基站,该第一基站包括:发送单元,用于在第一用户设备请求访问的互联网内容存储在第二基站的情况下,向所述第二基站发送第一访问请求消息,所述第一访问请求消息用于请求所述第二基站发送所述第一用户设备请求访问的互联网内容,所述第一基站与所述第二基站不同;接收单元,用于接收所述第二基站根据发送的所述第一用户设备请求访问的互联网内容,所述第一用户设备请求访问的互联网内容是所述第二基站根据所述发送单元发送的所述第一访问请求消息获取的。In a fourth aspect, a first base station is provided, and the first base station includes: a sending unit, configured to send a second An access request message, the first access request message is used to request the second base station to send the Internet content that the first user equipment requests to access, the first base station is different from the second base station; the receiving unit uses For receiving the Internet content requested by the first user equipment sent by the second base station, the Internet content requested by the first user equipment is the first user equipment sent by the second base station according to the first Obtained by an access request message.

结合第四方面,在第一种可能的实现方式中,所述基站还包括第一确定单元和第一存储单元,所述第一存储单元,用于存储内容目录表;所述第一确定单元,用于根据所述第一存储单元存储的内容目录表确定所述第一用户设备请求访问的互联网内容存储在所述第二基站中。With reference to the fourth aspect, in a first possible implementation manner, the base station further includes a first determination unit and a first storage unit, the first storage unit is configured to store a content directory table; the first determination unit The method is configured to determine, according to the content directory table stored in the first storage unit, that the Internet content requested to be accessed by the first user equipment is stored in the second base station.

结合第四方面及其上述实现方式中的任一种实现方式,在第四方面的另一种实现方式中,所述接收单元还用于:接收所述第二基站发送的所述第一用户设备请求访问的互联网内容的标识和存储地址;所述第一确定单元还用于:将所述接收单元接收的所述第一用户设备请求访问的互联网内容的标识和存储地址记录在所述内容目录表中。With reference to the fourth aspect and any one of the above-mentioned implementation manners, in another implementation manner of the fourth aspect, the receiving unit is further configured to: receive the first user information sent by the second base station The identification and storage address of the Internet content requested by the device to be accessed; the first determining unit is further configured to: record the identification and storage address of the Internet content requested by the first user equipment received by the receiving unit in the content in the table of contents.

结合第四方面及其上述实现方式中的任一种实现方式,在第四方面的另一种实现方式中,所述发送单元还用于:向控制服务器发送查询请求消息,所述查询请求用于控制服务器从所述控制服务器存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址;所述接收单元还用于:接收所述控制服务器发送的查询响应消息,所述查询响应消息携带所述控制服务器查询到的所述第一用户设备请求访问的互联网内容存储在所述第二基站的信息;所述基站还包括第二确定单元,所述第二确定单元,用于根据所述接收单元接收的所述查询响应消息确定所述第一用户设备请求访问的互联网内容存储在所述第二基站中;其中,所述内容目录表包括所述第二基站存储的互联网内容的标识和存储地址。In combination with the fourth aspect and any of the above-mentioned implementation manners, in another implementation manner of the fourth aspect, the sending unit is further configured to: send a query request message to the control server, and the query request uses The control server queries the storage address of the Internet content requested by the first user equipment from the content directory table stored in the control server; the receiving unit is further configured to: receive a query response message sent by the control server, the The query response message carries the information queried by the control server that the Internet content requested by the first user equipment is stored in the second base station; the base station further includes a second determination unit, the second determination unit, Determined according to the query response message received by the receiving unit that the Internet content requested by the first user equipment is stored in the second base station; wherein the content directory table includes the Internet content stored in the second base station The identification and storage address of Internet content.

结合第四方面及其上述实现方式中的任一种实现方式,在第四方面的另一种实现方式中,所述基站还包括第二存储单元,所述第二存储单元用于:存储所述第一用户设备请求访问的互联网内容。With reference to the fourth aspect and any one of the above-mentioned implementation manners, in another implementation manner of the fourth aspect, the base station further includes a second storage unit, and the second storage unit is configured to: store the Internet content that the first user equipment requests to access.

结合第四方面及其上述实现方式中的任一种实现方式,在第四方面的另一种实现方式中,所述接收单元还用于:接收所述第二基站发送的迁移请求消息,所述迁移请求消息用于指示所述第二存储单元存储所述第一用户设备请求访问的互联网内容;或者所述接收单元还用于:接收所述控制服务器发送的迁入请求消息,所述迁入请求消息用于指示所述第二存储单元存储所述第一用户设备请求访问的互联网内容。With reference to the fourth aspect and any one of the above-mentioned implementation manners, in another implementation manner of the fourth aspect, the receiving unit is further configured to: receive the relocation request message sent by the second base station, the The migration request message is used to instruct the second storage unit to store the Internet content requested by the first user equipment; or the receiving unit is further configured to: receive the migration request message sent by the control server, the migration The input request message is used to instruct the second storage unit to store the Internet content requested to be accessed by the first user equipment.

结合第四方面及其上述实现方式中的任一种实现方式,在第四方面的另一种实现方式中,所述接收单元还用于:接收第二基站发送的第二访问请求消息,所述第二访问请求消息用于请求所述第一基站发送第二用户设备请求访问的互联网内容;所述发送单元还用于:根据所述第二访问请求消息将所述第二用户设备请求访问的互联网内容发送给所述第二基站。With reference to the fourth aspect and any of the above-mentioned implementation manners, in another implementation manner of the fourth aspect, the receiving unit is further configured to: receive a second access request message sent by the second base station, the The second access request message is used to request the first base station to send the Internet content that the second user equipment requests to access; the sending unit is further configured to: according to the second access request message, send the second user equipment to request access The Internet content is sent to the second base station.

结合第四方面及其上述实现方式中的任一种实现方式,在第四方面的另一种实现方式中,所述发送单元还用于:在第一用户设备请求访问的互联网内容存储在所述第一基站情况下,从所述第一基站获取所述第一用户设备请求访问的互联网内容发送给所述第一用户设备;或者所述发送单元还用于:在第一用户设备请求访问的互联网内容未存储在至少两个基站的任一基站中的情况下,则从互联网网络中获取所述第一用户设备请求访问的互联网内容发送给所述第一用户设备,所述至少两个基站包括所述第一基站和所述第二基站,所述至少两个基站中任两个基站通过交换机或路由器连接。With reference to the fourth aspect and any of the above-mentioned implementation manners, in another implementation manner of the fourth aspect, the sending unit is further configured to: the Internet content requested by the first user equipment is stored in the In the case of the first base station, the Internet content requested by the first user equipment to be accessed is obtained from the first base station and sent to the first user equipment; or the sending unit is further configured to: when the first user equipment requests access If the Internet content of the at least two base stations is not stored in any base station of the at least two base stations, the Internet content requested by the first user equipment to be accessed is obtained from the Internet network and sent to the first user equipment, and the at least two The base station includes the first base station and the second base station, and any two base stations in the at least two base stations are connected through a switch or a router.

第五方面,提供了一种第二基站,该第二基站包括:接收单元、获取单元、存储单元和发送单元,所述接收单元,用于接收第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下发送的第一访问请求消息,其中所述第一访问请求消息用于请求所述第二基站发送所述第一用户设备请求访问的互联网内容,所述第一基站与所述第二基站不同;所述获取单元,用于根据所述接收单元接收的所述第一访问请求消息获取所述存储单元存储的所述第一用户设备请求访问的互联网内容;所述发送单元,用于将所述获取单元获取的所述第一用户设备请求访问的互联网内容给所述第一基站。According to a fifth aspect, a second base station is provided, and the second base station includes: a receiving unit, an acquiring unit, a storage unit, and a sending unit, the receiving unit is configured to receive the Internet access requested by the first base station from the first user equipment. A first access request message sent when the content is stored in the second base station, wherein the first access request message is used to request the second base station to send the Internet content that the first user equipment requests to access, and the first The base station is different from the second base station; the obtaining unit is configured to obtain, according to the first access request message received by the receiving unit, the Internet content stored in the storage unit that is requested to be accessed by the first user equipment; The sending unit is configured to send, to the first base station, the Internet content requested to be accessed by the first user equipment obtained by the obtaining unit.

结合第五方面,在第一种可能的实现方式中,所述发送单元还用于:向所述第一基站或控制服务器发送所述第一用户设备请求访问的互联网内容的标识。With reference to the fifth aspect, in a first possible implementation manner, the sending unit is further configured to: send, to the first base station or the control server, an identifier of the Internet content that the first user equipment requests to access.

结合第五方面及其上述实现方式中的任一种实现方式,在第五方面的另一种实现方式中,所述基站还包括:删除单元,用于删除所述存储单元存储的所述第一用户设备请求访问的互联网内容。With reference to the fifth aspect and any one of the above-mentioned implementation manners thereof, in another implementation manner of the fifth aspect, the base station further includes: a deleting unit configured to delete the first stored in the storage unit Internet content that a user device requests to access.

结合第五方面及其上述实现方式中的任一种实现方式,在第五方面的另一种实现方式中,所述删除单元具体用于:当在统计周期内,所述第二基站检测到统计的第一基站发送所述第一访问请求消息的次数大于数目阈值时,删除所述存储单元存储的所述第一用户设备请求访问的互联网内容;所述发送单元还用于:向所述第一基站发送迁移请求消息,所述迁移请求消息用于指示所述第一基站存储所述第一用户设备请求访问的互联网内容;或者所述接收单元还用于:接收所述控制服务器发送的迁出请求消息,所述迁出请求消息用于指示所述删除单元删除所述存储单元存储的所述第一用户设备请求访问的互联网内容。With reference to the fifth aspect and any of the above-mentioned implementation manners, in another implementation manner of the fifth aspect, the deleting unit is specifically configured to: when within the statistical period, the second base station detects When the counted number of times the first base station sends the first access request message is greater than a number threshold, delete the Internet content that the first user equipment requests to access stored in the storage unit; the sending unit is further configured to: send the The first base station sends a migration request message, where the migration request message is used to instruct the first base station to store the Internet content that the first user equipment requests to access; or the receiving unit is further configured to: receive the information sent by the control server A move-out request message, where the move-out request message is used to instruct the deleting unit to delete the Internet content stored in the storage unit that is requested to be accessed by the first user equipment.

第六方面,提供了一种控制服务器,该控制服务器包括:接收单元、查询单元、存储单元和发送单元,所述接收单元,用于接收第一基站发送的查询请求消息,所述查询请求消息用于请求所述控制服务器从所述控制服务器存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址;所述查询单元,用于根据所述接收单元接收的所述查询请求从所述存储单元存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址;所述发送单元,用于向所述第一基站发送查询响应消息,所述查询响应消息携带所述查询单元查询到的所述第一用户设备请求访问的互联网内容存储在第二基站的信息,以便所述第一基站根据所述查询响应消息确定所述第一用户设备请求访问的互联网内容存储在所述第二基站中,所述第一基站与所述第二基站不同。In a sixth aspect, a control server is provided, and the control server includes: a receiving unit, a query unit, a storage unit, and a sending unit, the receiving unit is configured to receive a query request message sent by a first base station, and the query request message It is used to request the control server to query the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server; the query unit is configured to, according to the The query request queries the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the storage unit; the sending unit is configured to send a query response message to the first base station, and the query The response message carries the information queried by the query unit that the Internet content requested to be accessed by the first user equipment is stored in the second base station, so that the first base station determines according to the query response message that the first user equipment requests to access The Internet content of is stored in the second base station, and the first base station is different from the second base station.

结合第六方面,在第一种可能的实现方式中,所述接收单元还用于:接收所述第二基站发送的所述第一用户设备请求访问的互联网内容的标识和存储地址;所述控制服务器还包括记录单元,所述记录单元,用于将所述接收单元接收的所述第一用户设备请求访问的互联网内容的标识和存储地址记录在所述内容目录表中。With reference to the sixth aspect, in a first possible implementation manner, the receiving unit is further configured to: receive an identifier and a storage address of the Internet content requested to be accessed by the first user equipment sent by the second base station; The control server further includes a recording unit configured to record the identification and storage address of the Internet content requested by the first user equipment received by the receiving unit in the content directory table.

结合第六方面及其上述实现方式中的任一种实现方式,在第六方面的另一种实现方式中,所述控制服务器还包括:更新单元,用于当统计周期内,控制服务器检测到统计的第一基站发送所述查询请求消息的次数大于数目阈值时,对所述控制服务器存储的内容目录表进行更新;所述发送单元还用于:向所述第一基站发送迁入请求消息并向所述第二基站发送迁出请求消息;其中,所述迁入请求消息用于指示所述第一基站存储所述第一用户设备请求访问的互联网内容,以及所述迁出请求消息用于指示所述第二基站删除所述第二基站存储的所述第一用户设备请求访问的互联网内容。With reference to the sixth aspect and any one of the above-mentioned implementation manners, in another implementation manner of the sixth aspect, the control server further includes: an update unit, configured to detect that the control server detects When the counted number of times the query request message is sent by the first base station is greater than the number threshold, update the content directory table stored in the control server; the sending unit is also used to: send a move-in request message to the first base station and send a move-out request message to the second base station; wherein the move-in request message is used to instruct the first base station to store the Internet content that the first user equipment requests to access, and the move-out request message uses Instructing the second base station to delete the Internet content that the first user equipment requests to access and stores in the second base station.

本发明实施例第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下,从该第二基站获取第一用户设备请求访问的互联网内容发送给用户设备,第一基站与第二基站不同,实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In the embodiment of the present invention, when the Internet content requested by the first user equipment is stored in the second base station, the first base station obtains the Internet content requested by the first user equipment from the second base station and sends it to the user equipment. The second base station is different, realizing that multiple base stations share the Internet content stored separately. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是可应用于本发明实施例的移动网络系统的示意图。Fig. 1 is a schematic diagram of a mobile network system applicable to an embodiment of the present invention.

图2是本发明一个实施例的互联网内容存储方法的流程图。Fig. 2 is a flow chart of an Internet content storage method according to an embodiment of the present invention.

图3是本发明另一个实施例的互联网内容存储方法的流程图。Fig. 3 is a flowchart of a method for storing Internet content according to another embodiment of the present invention.

图4是本发明再一个实施例的互联网内容存储方法的流程图。Fig. 4 is a flowchart of a method for storing Internet content according to another embodiment of the present invention.

图5是本发明一个实施例的基站集合的示意结构图。Fig. 5 is a schematic structural diagram of a set of base stations according to an embodiment of the present invention.

图6是本发明一个实施例的互联网内容存储方法的示意结构图。Fig. 6 is a schematic structural diagram of a method for storing Internet content according to an embodiment of the present invention.

图7是本发明一个实施例的基站更新存储的互联网内容的示意结构图。Fig. 7 is a schematic structural diagram of Internet content updated and stored by a base station according to an embodiment of the present invention.

图8是本发明一个实施例的第一基站的结构框图。Fig. 8 is a structural block diagram of a first base station according to an embodiment of the present invention.

图9是本发明一个实施例的第二基站的结构框图。Fig. 9 is a structural block diagram of a second base station according to an embodiment of the present invention.

图10是本发明一个实施例的控制服务器的结构框图。Fig. 10 is a structural block diagram of a control server according to an embodiment of the present invention.

图11是本发明一个实施例的设备的示意框图。Figure 11 is a schematic block diagram of an apparatus according to one embodiment of the present invention.

图12是本发明一个实施例的第一基站的结构框图。Fig. 12 is a structural block diagram of a first base station according to an embodiment of the present invention.

图13是本发明一个实施例的第二基站的结构框图。Fig. 13 is a structural block diagram of a second base station according to an embodiment of the present invention.

图14是本发明一个实施例的控制服务器的结构框图。Fig. 14 is a structural block diagram of a control server according to an embodiment of the present invention.

具体实施方式Detailed ways

本发明的技术方案,可以应用于各种通信系统,例如:GSM(GlobalSystem of Mobile communication,全球移动通信系统),CDMA(Code DivisionMultiple Access,码分多址)系统,WCDMA(Wideband Code Division MultipleAccess Wireless,宽带码分多址),UMTS(Universal Mobile TelecommunicationsSystem,通用移动通信系统),GPRS(General Packet Radio Service,通用分组无线业务),LTE(Long Term Evolution,长期演进)等。The technical scheme of the present invention can be applied to various communication systems, such as: GSM (GlobalSystem of Mobile communication, Global System for Mobile Communications), CDMA (Code Division Multiple Access, Code Division Multiple Access) system, WCDMA (Wideband Code Division Multiple Access Wireless, Broadband Code Division Multiple Access), UMTS (Universal Mobile Telecommunications System, Universal Mobile Communications System), GPRS (General Packet Radio Service, General Packet Radio Service), LTE (Long Term Evolution, long-term evolution), etc.

UE,也可称之为移动终端(Mobile Terminal)、移动用户设备等,可以经空口通过无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信,用户设备可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。UE, also called mobile terminal (Mobile Terminal), mobile user equipment, etc., can communicate with one or more core networks through the radio access network (for example, RAN, Radio Access Network) through the air interface, and the user equipment can be Mobile terminals, such as mobile telephones (or "cellular" telephones) and computers with mobile terminals, such as portable, pocket, hand-held, built-in computer, or vehicle-mounted mobile devices, that communicate with the radio access network language and/or data.

基站,为上述无线接入网的一个网元,可以是GSM或CDMA中的BTS(Base Transceiver Station,基站),也可以是WCDMA中的基站(NodeB),还可以是LTE中的演进型基站(eNB或e-NodeB,evolved Node B),等等,本发明并不限定。A base station is a network element of the above wireless access network, which can be a BTS (Base Transceiver Station, base station) in GSM or CDMA, or a base station (NodeB) in WCDMA, or an evolved base station ( eNB or e-NodeB, evolved Node B), etc., the present invention is not limited.

图1是可应用于本发明实施例的移动网络系统的示意图。图1的移动网络系统的示意图包括接入网和核心网,其中接入网包括基站和控制器。Fig. 1 is a schematic diagram of a mobile network system applicable to an embodiment of the present invention. The schematic diagram of the mobile network system in FIG. 1 includes an access network and a core network, wherein the access network includes a base station and a controller.

应理解,在本发明实施例中,虽然图1中描述了3个基站,分别是基站101、基站102和基站103;1个控制器104和核心网105,但仅仅是为了描述方便。图1中各个网络设备的数目可以是1个或多个,本发明实施例对此并不限定。It should be understood that in the embodiment of the present invention, although three base stations are described in FIG. 1 , namely base station 101, base station 102 and base station 103; one controller 104 and core network 105, this is only for convenience of description. The number of each network device in FIG. 1 may be one or more, which is not limited in this embodiment of the present invention.

在现有技术中,为了减轻下行数据流量对传输网络的压力,将内容存储节点部署到各个基站,例如,在图1的场景示意图中,基站101、基站102或基站103可以存储移动互联网内容,这样,UE可以就近获取移动互联网内容,可以节省从基站到核心网,以及核心网到互联网的回传,缩短终端的等待延迟时间。In the prior art, in order to reduce the pressure of downlink data traffic on the transmission network, content storage nodes are deployed to each base station. For example, in the schematic diagram of the scene in Figure 1, base station 101, base station 102 or base station 103 can store mobile Internet content, In this way, the UE can obtain mobile Internet content nearby, which can save the backhaul from the base station to the core network, and from the core network to the Internet, and shorten the waiting delay time of the terminal.

但是,单个基站的内容存储容量有限且维护代价比较大,不能够在每个基站部署大量的存储单元,如在图1的场景示意框图,由于基站101的存储容量较小,基站101下的UE请求访问的互联网内容存储在基站101中的概率小,并且请求访问的互联网内容具有多样性,这将导致单个基站的内容存储的访问命中率较低,因此,基站仍需经控制器、核心网到互联网网络中获取UE请求访问的互联网内容给UE,并不能有效地节省从基站到核心网,以及核心网到互联网的回传,缩短终端的等待延迟时间。However, the content storage capacity of a single base station is limited and the maintenance cost is relatively high, so it is not possible to deploy a large number of storage units in each base station. The probability that the Internet content requested to be accessed is stored in the base station 101 is small, and the Internet content requested to be accessed has diversity, which will lead to a low hit rate of access to the content stored in a single base station. Therefore, the base station still needs to pass through the controller, core network Going to the Internet network to obtain the Internet content requested by the UE to the UE does not effectively save the backhaul from the base station to the core network, and from the core network to the Internet, and shorten the waiting delay time of the terminal.

为了解决上述问题,本发明实施例提供一种互联网内容存储方法和设备,实现多个基站能够共享各自的存储的互联网内容,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In order to solve the above problems, an embodiment of the present invention provides a method and device for storing Internet content, which enables multiple base stations to share their respective stored Internet content, increases the access hit rate of the Internet content stored by the base station, and improves storage utilization. Thereby effectively saving transmission overhead and reducing delay time.

图2是本发明一个实施例的互联网内容存储方法的流程图。图2的方法由第一基站执行。Fig. 2 is a flow chart of an Internet content storage method according to an embodiment of the present invention. The method in FIG. 2 is executed by the first base station.

201,第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下,向第二基站发送第一访问请求消息,第一访问请求消息用于请求第二基站发送第一用户设备请求访问的互联网内容,第一基站与第二基站不同。201. The first base station sends a first access request message to the second base station when the Internet content requested by the first user equipment to be accessed is stored in the second base station, and the first access request message is used to request the second base station to send the first user equipment The Internet content that the device requests to access is different between the first base station and the second base station.

202,第一基站接收第二基站根据第一访问请求消息发送的第一用户设备请求访问的互联网内容。202. The first base station receives Internet content that is requested to be accessed by the first user equipment and sent by the second base station according to the first access request message.

其中,该第一用户设备的服务小区所归属的基站为第一基站,服务该第一用户设备向第一基站发送互联网内容的访问请求消息,第一用户设备请求访问的互联网内容是由第一基站发送给该第一用户设备的。其中,该第一用户设备的服务小区所归属的基站可以称为该第一用户设备的服务基站。某个用户设备的服务基站是指负责该用户设备和网络侧之间的无线资源控制(RRC,Radio Resource Control)连接的基站。而在该服务基站下,至少有一个小区。该用户设备所被该服务基站覆盖的小区称为服务小区。互联网内容是表示第二基站从互联网中获取的文件,可选地,互联网内容包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Wherein, the base station to which the serving cell of the first user equipment belongs is the first base station, and the first base station serving the first user equipment sends an Internet content access request message to the first base station, and the Internet content requested by the first user equipment is provided by the first sent by the base station to the first user equipment. Wherein, the base station to which the serving cell of the first user equipment belongs may be referred to as the serving base station of the first user equipment. The serving base station of a certain user equipment refers to the base station responsible for the radio resource control (RRC, Radio Resource Control) connection between the user equipment and the network side. Under the serving base station, there is at least one cell. The cell covered by the serving base station for the user equipment is called a serving cell. Internet content refers to files obtained by the second base station from the Internet. Optionally, Internet content includes but not limited to video, audio, webpage multimedia or text files, which is not limited in this embodiment of the present invention.

本发明实施例第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下,从该第二基站获取第一用户设备请求访问的互联网内容发送给第一用户设备,,第一基站与第二基站不同,实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In the embodiment of the present invention, when the Internet content requested by the first user equipment is stored in the second base station, the first base station obtains the Internet content requested by the first user equipment from the second base station and sends it to the first user equipment. The first base station is different from the second base station in that multiple base stations share the Internet content stored separately. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

可选地,作为一个实施例,在步骤201之前,第一基站可以确定第一用户设备请求访问的互联网内容是否存储在基站集合的某个基站中,该基站集合包括至少两个基站,包括了第一基站和第二基站,该第二基站指的是基站集合中除第一基站外的其它某个基站,基站集合中任两个基站可以通过路由器或交换机相连接。可选地,两个基站之间的路由器或交换机的功能可以由第三个基站来实现。Optionally, as an embodiment, before step 201, the first base station may determine whether the Internet content requested by the first user equipment is stored in a base station in a set of base stations, the set of base stations includes at least two base stations, including The first base station and the second base station. The second base station refers to a base station other than the first base station in the base station set. Any two base stations in the base station set can be connected through a router or a switch. Optionally, the function of a router or switch between two base stations can be implemented by a third base station.

应理解,本发明实施例对于基站间采用何种方式相连接并不限定,还应理解,交互的两个基站并不限于在邻接的地理位置,同一个基站可以包括在不同的基站集合中。It should be understood that the embodiment of the present invention does not limit the connection method between the base stations, and it should also be understood that the two interacting base stations are not limited to adjacent geographical locations, and the same base station may be included in different base station sets.

需要指出的是,基站与基站之间的通信可以采用IP(Internet Protocol,因特网协议)协议。基站集合可以组成网状(mesh)网络,具体包括:基站集合中的任两个基站之间可以相互交互,基站集合中的各个基站的存储互联网内容的功能是等同的。应当理解的是,本发明实施例对于基站之间或者基站与用户设备之间交互的消息格式以及基站之间交互消息时采用的接口形式并不限定。It should be pointed out that the communication between the base stations may adopt an IP (Internet Protocol, Internet Protocol) protocol. A set of base stations can form a mesh network, specifically including: any two base stations in the set of base stations can interact with each other, and each base station in the set of base stations has the same function of storing Internet content. It should be understood that, the embodiment of the present invention does not limit the format of the message exchanged between the base stations or between the base station and the user equipment, and the interface form adopted when exchanging messages between the base stations.

可选地,在一种实现方式下,第一基站存储了内容目录表,内容目录表记录了第二基站存储的互联网内容(包括第一用户设备请求访问的互联网内容)的标识(如互联网内容的名称)和存储地址。其中,内容目录表由基站用于定位用户设备请求访问的互联网内容的存储位置,包括用于查询第一用户设备请求访问的互联网内容是否存储在基站集合的某个基站中以及存储在哪个基站中。互联网内容的标识用于唯一识别互联网内容。具体地,内容目录表中的存储地址用于确定第一用户设备请求访问的互联网内容存储在哪个基站中,存储地址可以包括第二基站的标识和第二基站的IP(InternetProtocol,因特网协议)地址等中的至少一个。Optionally, in an implementation manner, the first base station stores a content directory table, and the content directory table records the identifiers of Internet content (including the Internet content requested by the first user equipment) stored by the second base station (such as Internet content name) and storage address. Wherein, the content directory table is used by the base station to locate the storage location of the Internet content requested by the user equipment, including for querying whether the Internet content requested by the first user equipment is stored in a certain base station of the base station set and in which base station. . Internet content identifiers are used to uniquely identify Internet content. Specifically, the storage address in the content directory table is used to determine in which base station the Internet content requested by the first user equipment is stored, and the storage address may include the identifier of the second base station and the IP (Internet Protocol, Internet Protocol) address of the second base station at least one of the others.

还需要说明的是,通常互联网中的资源(互联网内容)可以用URL(UniformResource Locator,统一资源定位符)来描述,为了在基站中存储和查找的方便,可以将URL通过哈希函数来映射为一维的序列ID来作为缓存资源的标识。因此,内容目录表可以由多个表项组成,每个表项可以由互联网内容标识(如缓存资源的序列ID)以及存储互联网内容实际存放的地址(如基站的IP地址)组成。基站在得到用户设备请求的资源时(URL),根据哈希算法映射到序列ID,也就找到了内容目录表中的表项位置,从而得知具体的存储位置。It should also be noted that usually the resources (Internet content) in the Internet can be described by URL (UniformResource Locator, Uniform Resource Locator). For the convenience of storage and search in the base station, the URL can be mapped to The one-dimensional sequence ID is used as the identifier of the cache resource. Therefore, the content directory table may consist of multiple entries, and each entry may consist of an Internet content identifier (such as a serial ID of a cache resource) and an address actually storing Internet content (such as an IP address of a base station). When the base station obtains the resource (URL) requested by the user equipment, it maps to the sequence ID according to the hash algorithm, and then finds the location of the entry in the content directory table, so as to know the specific storage location.

例如,第二基站将第二基站存储的互联网内容的标识发送给第一基站,优选地,第二基站可以将第二基站存储的互联网内容的标识广播给基站集合中的其它基站,其它基站将第二基站存储的互联网内容的标识和存储地址记录在各自的内容目录表中并存储。第一基站可以通过内容目录表来确定第一用户设备请求访问的互联网内容存储在哪一个基站中。例如,第一基站可以通过标识(或者称为内容目录表的索引功能)定位第一用户设备请求访问的互联网内容存储在第二基站中。可选地,第一基站存储的内容目录表还记录了第一基站存储的互联网内容的标识和存储地址。For example, the second base station sends the identifier of the Internet content stored by the second base station to the first base station. Preferably, the second base station may broadcast the identifier of the Internet content stored by the second base station to other base stations in the base station set, and the other base stations will The identifiers and storage addresses of the Internet content stored by the second base station are recorded and stored in respective content directory tables. The first base station may use the content directory table to determine in which base station the Internet content requested by the first user equipment is stored. For example, the first base station may locate the Internet content requested by the first user equipment to be stored in the second base station through an identification (or an index function referred to as a content table of contents). Optionally, the content directory table stored by the first base station also records the identifier and storage address of the Internet content stored by the first base station.

优选地,第一基站在接收到第一用户设备发送的请求访问互联网内容的消息,第一基站根据存储的内容目录表确定第一用户设备请求访问的互联网内容的存储地址,先确定是否有存储在本地基站(第一基站)中,如果未存储在本地基站时,则确定是否存储在基站集合的其它基站(如第二基站)中。在根据内容目录表确定第一用户设备请求访问的互联网内容存储在第二基站的情况下,从第二基站中获取第一用户设备请求访问的互联网内容发送给第一用户设备。Preferably, after the first base station receives the message requesting to access Internet content sent by the first user equipment, the first base station determines the storage address of the Internet content requested by the first user equipment according to the stored content directory table, and first determines whether there is a storage address of the Internet content requested by the first user equipment. In the local base station (first base station), if it is not stored in the local base station, it is determined whether to store in other base stations (such as the second base station) of the base station set. When it is determined according to the content directory table that the Internet content requested by the first user equipment is stored in the second base station, the Internet content requested by the first user equipment is obtained from the second base station and sent to the first user equipment.

需要说明的是,第一基站存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括第二基站)存储的互联网内容的标识与相应的存储地址;第一基站存储的内容目录表也可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,内容目录表用于基站定位用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the first base station may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations (including the second base station) in the base station set; The content directory table may also be a global content directory table, which records the identification and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention, and the content directory table is used by the base station to locate the storage location of the Internet content that the user equipment requests to access.

可选地,在另一种实现方式下,第一基站可以向控制服务器发送查询请求消息,查询请求用于控制服务器从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址。在本发明实施例中,控制服务器可以是逻辑上的,控制服务器的功能可以由某个基站来实现,也可以是部署在除基站外的其它设备中,当然,控制服务器还可以是独立的设备,本发明实施例对此并不限定。Optionally, in another implementation manner, the first base station may send a query request message to the control server, where the query request is used for the control server to query the Internet content that the first user equipment requests to access from the content directory table stored in the control server. storage address. In the embodiment of the present invention, the control server can be logical, and the function of the control server can be implemented by a certain base station, or it can be deployed in other devices except the base station. Of course, the control server can also be an independent device , which is not limited in this embodiment of the present invention.

例如,第一基站在本地基站未存储第一用户设备请求访问的互联网内容的情况下,向控制服务器发送该查询请求。控制服务器在接收到第一基站发送的查询请求消息时,可以通过查询请求消息中的第一用户设备请求访问的互联网内容的信息(如标识)根据控制服务器存储的内容目录表定位第一用户设备请求访问的互联网内容的存储位置。控制服务器在从内容目录表中查询到的第一用户设备请求访问的互联网内容存储在第二基站时,向第一基站发送查询响应消息,该查询响应消息携带了查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息。第一基站接收到查询响应消息可以确定第一用户设备请求访问的互联网内容存储在第二基站中。其中,控制服务器存储的内容目录表包括第二基站存储的互联网内容的标识和存储地址。For example, the first base station sends the query request to the control server when the local base station does not store the Internet content that the first user equipment requests to access. When the control server receives the query request message sent by the first base station, it can locate the first user device according to the content directory table stored in the control server through the information (such as the identifier) of the Internet content requested by the first user device in the query request message The storage location of the Internet content requested to be accessed. When the Internet content requested by the first user equipment queried from the content directory table is stored in the second base station, the control server sends a query response message to the first base station, and the query response message carries the queried first user equipment request. Information on accessed Internet content is stored in the second base station. After receiving the query response message, the first base station may determine that the Internet content requested by the first user equipment is stored in the second base station. Wherein, the content directory table stored by the control server includes identifiers and storage addresses of Internet content stored by the second base station.

需要说明的是,控制服务器存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括基站集合中的第二基站)存储的互联网内容的标识与相应的存储地址。控制服务器可以由基站集合中的多个基站共享,也就是说,基站集合中的其它基站也可以执行第一基站的实施方式,相应地,控制服务器存储的内容目录表可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,控制服务器存储的内容目录表由控制服务器用于根据基站发送的查询请求消息定位用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the control server may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations in the base station set (including the second base station in the base station set). The control server may be shared by multiple base stations in the base station set, that is to say, other base stations in the base station set may also execute the embodiment of the first base station, and accordingly, the content directory table stored by the control server may be a global content directory table , which records the identifier and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention. The content directory table stored by the control server is used by the control server to locate the storage location of the Internet content requested by the user equipment according to the query request message sent by the base station.

可选地,控制服务器在从内容目录表中未查询到的第一用户设备请求访问的互联网内容存储在基站集合的任一个基站中时,可以向第一基站发送未查询到的查询响应消息或者不动作。Optionally, the control server may send an unqueried query response message to the first base station or no action.

通过上述方案,服务小区的基站为第一基站的第一用户设备请求访问互联网内容时,在请求访问的互联网内容存储在基站集合的其它基站时,第一基站可以定位请求访问的互联网内容的存储位置,从而可以利用其它基站的存储空间,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的第一用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above scheme, when the base station of the serving cell requests for the first user equipment of the first base station to access Internet content, when the requested Internet content is stored in other base stations in the base station set, the first base station can locate the storage of the requested Internet content location, so that the storage space of other base stations can be utilized, the utilization rate of storage can be improved, and the access hit rate of the Internet content stored in the base station can be increased, and there is no need to obtain from the Internet network the first user equipment that is not stored in the local base station to request access to the Internet content. Thereby effectively saving transmission overhead and reducing delay time.

可选地,作为另一个实施例,第一基站可以更新本地基站存储的互联网内容,可以存储本地基站下的第一用户设备请求访问次数较多(访问的次数大于一定数目阈值,可以由第一基站进行统计,也可以由第二基站进行统计)的互联网内容(也称为“热点内容”),这里,第一用户设备请求访问的互联网内容被请求访问的次数可以是该互联网内容被第一基站提供服务的所有用户设备请求该互联网内容的次数的总和。Optionally, as another embodiment, the first base station may update the Internet content stored in the local base station, and may store that the first user equipment under the local base station requests a large number of visits (the number of visits is greater than a certain number threshold, which may be determined by the first The base station makes statistics, and the second base station can also make statistics) Internet content (also referred to as "hot content"), here, the number of times the Internet content requested by the first user equipment to be accessed may be the number of times the Internet content is accessed by the first user equipment The total number of times that all user equipments served by the base station request the Internet content.

具体的,当在统计周期内,某个互联网内容(如互联网内容W)被访问的次数大于一定阈值时,互联网内容W可以从第二基站迁移到第一基站中,即,从第二基站中删除并存储到第一基站中,这时,相应的互联网内容W的存储信息可以更新。具体的迁移流程可以有多种,比如:可选地,在存储第一用户设备请求访问的互联网内容之前,第一基站接收第二基站发送的迁移请求消息时,迁移请求消息用于指示第一基站存储第一用户设备请求访问的互联网内容;或者,第一基站接收控制服务器发送的迁入请求消息,迁入请求消息用于指示第一基站存储第一用户设备请求访问的互联网内容。Specifically, when a certain Internet content (such as Internet content W) is accessed more than a certain threshold within a statistical period, the Internet content W can be migrated from the second base station to the first base station, that is, from the second base station Delete and store in the first base station, at this time, the storage information of the corresponding Internet content W can be updated. There are various specific migration procedures. For example: Optionally, before storing the Internet content requested by the first user equipment, when the first base station receives a migration request message sent by the second base station, the migration request message is used to indicate that the first The base station stores the Internet content requested by the first user equipment; or, the first base station receives a move-in request message sent by the control server, where the move-in request message is used to instruct the first base station to store the Internet content requested by the first user equipment.

例如,在统计周期内,第二基站统计第一基站发起访问互联网内容W的请求次数,当在该统计周期内,第二基站检测到统计的第一基站发起访问互联网内容W的请求次数(即第一基站发送访问互联网内容W的访问请求消息的次数)大于一定数目阈值时,第二基站可以向第一基站发送迁移请求消息,第一基站接收到第二基站发送的迁移请求消息后,将互联网内容W存储在本地基站中,而第二基站可以删除存储的互联网内容W。For example, within the statistical period, the second base station counts the number of requests initiated by the first base station to access the Internet content W, and when within the statistical period, the second base station detects the counted number of requests initiated by the first base station to access the Internet content W (i.e. When the number of access request messages sent by the first base station to access Internet content W) is greater than a certain number threshold, the second base station may send a relocation request message to the first base station, and after receiving the relocation request message sent by the second base station, the first base station will The Internet content W is stored in the local base station, and the second base station can delete the stored Internet content W.

当然,也可以由第一基站统计第一基站下的用户设备发起访问互联网内容W的请求次数,当在该统计周期内,第一基站检测到统计的第一基站下的用户设备发起访问互联网内容W的请求次数大于一定数目阈值时,第一基站可以向第二基站发送迁移请求消息,将互联网内容W存储在本地基站中。而第二基站接收到第一基站发送的迁移请求消息后,删除存储的互联网内容W。Of course, the first base station may also count the number of requests for accessing Internet content W initiated by user equipment under the first base station. When the number of requests for W is greater than a certain number threshold, the first base station may send a relocation request message to the second base station, and store the Internet content W in the local base station. After receiving the relocation request message sent by the first base station, the second base station deletes the stored Internet content W.

又例如,在统计周期内,控制服务器统计第一基站发送查询互联网内容W的存储地址的查询请求消息的次数,当统计周期内,控制服务器检测到统计的第一基站发送查询互联网内容W的存储地址的查询请求消息的次数大于一定数目阈值时,控制服务器可以向第二基站发送互联网内容W的迁出请求消息并向第一基站发送互联网内容W的迁入请求消息。相应地,控制服务器将互联网内容W的存储地址从“第一基站的标识”更改为“第二基站的标识”。当第一基站接收到控制服务器发送的互联网内容W的迁入请求消息时,第一基站存储互联网内容W。当第二基站接收到控制服务器发送的互联网内容W的迁出请求消息时,第二基站删除存储的互联网内容W。For another example, within the statistical period, the control server counts the number of query request messages sent by the first base station to query the storage address of the Internet content W; When the number of address query request messages is greater than a certain threshold, the control server may send an Internet content W move-out request message to the second base station and send an Internet content W move-in request message to the first base station. Correspondingly, the control server changes the storage address of the Internet content W from "identification of the first base station" to "identification of the second base station". When the first base station receives the migration request message of the Internet content W sent by the control server, the first base station stores the Internet content W. When the second base station receives the move-out request message of the Internet content W sent by the control server, the second base station deletes the stored Internet content W.

再例如,第一基站可以将第一用户设备请求访问次数大于数目阈值且未存储在基站集合的其它基站中的互联网内容进行存储。进一步地,第一基站对本地基站存储的互联内容进行更新后可以以广播的形式通知基站集合中的其它基站。可选地,在控制服务器存储内容目录表的情况下,第一基站对本地基站存储的互联网内容进行更新后,可以通知控制服务器,具体地,第一基站可以将更新后的本地存储的互联网内容的标识和存储地址(如第一基站的标识或第一基站的IP地址)发送给控制服务器,以便控制服务器更新内容目录表。For another example, the first base station may store the Internet content that is requested by the first user equipment for access times greater than the number threshold and that is not stored in other base stations in the base station set. Further, after the first base station updates the interconnection content stored in the local base station, it may broadcast to other base stations in the base station set. Optionally, in the case where the control server stores the content directory table, after the first base station updates the Internet content stored in the local base station, it may notify the control server, specifically, the first base station may update the locally stored Internet content The identification and storage address of the first base station (such as the identification of the first base station or the IP address of the first base station) are sent to the control server, so that the control server updates the content directory table.

需要说明的是,基站集合中某个基站对本地基站存储的互联内容进行更新后可以以广播的形式通知基站集合中的其它基站。可选地,在控制服务器存储内容目录表的情况下,基站集合中某个基站对本地基站存储的互联内容进行更新后,可以通知控制服务器,以便控制服务器更新内容目录表。It should be noted that after a certain base station in the base station set updates the interconnection content stored in the local base station, it may notify other base stations in the base station set in the form of broadcast. Optionally, when the control server stores the content directory table, after a certain base station in the base station set updates the interconnection content stored in the local base station, it can notify the control server, so that the control server can update the content directory table.

因此,通过基站对存储的互联内容进行更新,能够提高存储的灵活性,基站存储的互联网内容为该基站下的用户设备请求访问次数较多的,有效地减少基站间的访问开销,减少时延。Therefore, updating the stored Internet content through the base station can improve the flexibility of storage. The Internet content stored by the base station is requested by the user equipment under the base station for a large number of visits, effectively reducing the access overhead between base stations and reducing the delay. .

应理解,上述例子仅仅是示例性的,无论基于何种原因基站更新存储的互联网内容都应落入本发明的范围。It should be understood that the above examples are only illustrative, and no matter what the reason is, the update of the stored Internet content by the base station should fall within the scope of the present invention.

可选地,作为另一个实施例,第一基站也可以作为第二基站的角色,具体地,第一基站可以接收第二基站发送的第二访问请求消息,第二访问请求消息用于请求第一基站发送第二用户设备请求访问的互联网内容,第一基站根据第二访问请求消息将第二用户设备请求访问的互联网内容发送给第二基站。其中第二用户设备请求访问的互联网内容存储在第一基站中,第二用户设备的服务小区所归属的基站为第二基站。第二基站将接收到的第一基站发送的第二用户设备请求访问的互联网内容发送给第二用户设备。Optionally, as another embodiment, the first base station may also play the role of the second base station. Specifically, the first base station may receive a second access request message sent by the second base station, and the second access request message is used to request the second access request message. A base station sends the Internet content requested to be accessed by the second user equipment, and the first base station sends the Internet content requested to be accessed by the second user equipment to the second base station according to the second access request message. The Internet content requested to be accessed by the second user equipment is stored in the first base station, and the base station to which the serving cell of the second user equipment belongs is the second base station. The second base station sends the received Internet content requested to be accessed by the second user equipment sent by the first base station to the second user equipment.

另外,第一基站在第一用户设备请求访问的互联网内容存储在第一基站情况下,从第一基站获取第一用户设备请求访问的互联网内容发送给第一用户设备。具体地,可以通过第一基站存储的内容目录表来确定第一用户设备请求访问的互联网内容是否存储在第一基站,例如,当第一基站存储的内容目录表中记录了第一用户设备请求访问的互联网内容的标识和相应的存储地址包括第一基站的标识时,确定第一用户设备请求访问的互联网内容存储在第一基站。In addition, when the Internet content requested by the first user equipment is stored in the first base station, the first base station obtains the Internet content requested by the first user equipment from the first base station and sends it to the first user equipment. Specifically, it may be determined whether the Internet content requested by the first user equipment to be accessed is stored in the first base station through the content directory table stored in the first base station. For example, when the content directory table stored in the first base station records When the identifier of the accessed Internet content and the corresponding storage address include the identifier of the first base station, it is determined that the Internet content requested by the first user equipment to be accessed is stored in the first base station.

或者,第一基站在第一用户设备请求访问的互联网内容未存储在至少两个基站(即基站集合)的任一基站中的情况下,从原始的互联网网络中(即经核心网和控制器)获取第一用户设备请求访问的互联网内容发送给第一用户设备。具体地,可以通过第一基站存储的内容目录表来确定基站集合中的任一基站是否存储有第一用户设备请求访问的互联网内容,例如,当第一基站存储的全局的内容目录表中未记录第一用户设备请求访问的互联网内容的标识时,可以确定第一用户设备请求访问的互联网内容未存储在基站集合的任一基站中。Or, in the case that the Internet content requested by the first user equipment is not stored in any base station of the at least two base stations (i.e., a set of base stations), the first base station retrieves the content from the original Internet network (i.e., via the core network and the controller) ) acquiring the Internet content requested by the first user equipment and sending it to the first user equipment. Specifically, it may be determined through the content directory table stored by the first base station whether any base station in the base station set stores the Internet content that the first user equipment requests to access, for example, when the global content directory table stored by the first base station does not contain When recording the identifier of the Internet content that the first user equipment requests to access, it may be determined that the Internet content that the first user equipment requests to access is not stored in any base station in the base station set.

优选地,第一基站在接收到第一用户设备发送的请求访问互联网内容的消息,先确定请求访问互联网内容是否存储在本地基站中。如果存储在本地基站时,则直接获取第一用户设备请求访问的互联网内容发送给第一用户设备;如果未存储在本地基站时,则确定是否存储在基站集合的其它基站(如第二基站)中。如果确定存储在第二基站时,则从第二基站中获取第一用户设备请求访问的互联网内容发送给第一用户设备;如果未存储在基站集合的任一基站中的情况下,则从原始的互联网网络中获取第一用户设备请求访问的互联网内容发送给第一用户设备。如何定位第一用户设备请求访问的互联网内容的存储地址的方式如上所述,此处不再赘述。Preferably, the first base station first determines whether the Internet content requested to be accessed is stored in the local base station after receiving the message requesting to access the Internet content sent by the first user equipment. If it is stored in the local base station, directly obtain the Internet content requested by the first user equipment and send it to the first user equipment; if it is not stored in the local base station, then determine whether it is stored in other base stations of the base station set (such as the second base station) middle. If it is determined to be stored in the second base station, obtain the Internet content requested by the first user equipment from the second base station and send it to the first user equipment; if it is not stored in any base station of the base station set, then from the original The Internet content requested to be accessed by the first user equipment is acquired in the Internet network and sent to the first user equipment. The manner of how to locate the storage address of the Internet content requested to be accessed by the first user equipment is as described above, and will not be repeated here.

图3是本发明另一个实施例的互联网内容存储方法的流程图。图3的方法由第二基站执行,并且与图2的方法相对应,因此将适当省略与图2的实施例重复的描述。Fig. 3 is a flowchart of a method for storing Internet content according to another embodiment of the present invention. The method in FIG. 3 is executed by the second base station, and corresponds to the method in FIG. 2 , so descriptions repeated with the embodiment in FIG. 2 will be appropriately omitted.

301,第二基站接收第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下发送的第一访问请求消息,第一访问请求消息用于请求第二基站发送第一用户设备请求访问的互联网内容,第一基站与第二基站不同。301. The second base station receives a first access request message sent by the first base station when the Internet content requested by the first user equipment is stored in the second base station, and the first access request message is used to request the second base station to send the first user equipment The Internet content that the device requests to access is different between the first base station and the second base station.

302,第二基站根据第一访问请求消息获取第一用户设备请求访问的互联网内容发送给第一基站。302. The second base station obtains the Internet content requested to be accessed by the first user equipment according to the first access request message and sends it to the first base station.

可选地,互联网内容是表示第二基站从互联网中获取的文件,包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content refers to files obtained by the second base station from the Internet, including but not limited to files such as video, audio, webpage multimedia, or text, which is not limited in this embodiment of the present invention.

本发明实施例第二基站接收到第一基站发送的访问请求消息,获取第二基站存储的第一用户设备请求访问的互联网内容发送给第一基站,第一基站与第二基站不同,使得第一基站可以利用第二基站的存储空间,实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In the embodiment of the present invention, the second base station receives the access request message sent by the first base station, obtains the Internet content requested by the first user equipment stored in the second base station, and sends it to the first base station. The first base station is different from the second base station, so that the second base station A base station can use the storage space of the second base station to realize that multiple base stations share the Internet content stored separately. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

可选地,作为一个实施例,在步骤301之前,第二基站可以向第一基站发送第二基站存储的互联网内容的标识。优选地,第二基站可以将第二基站存储的互联网内容的标识广播给基站集合中的其它基站(包括上述第一基站),其它基站将第二基站存储的互联网内容的标识和存储地址记录在各自的内容目录表中并存储。由于第一基站存储的内容目录表记录了第二基站存储的互联网内容的标识和存储地址,第一基站可以通过标识(或者称为内容目录表的索引功能)定位第一用户设备请求访问的互联网内容存储在第二基站中。Optionally, as an embodiment, before step 301, the second base station may send the identifier of the Internet content stored by the second base station to the first base station. Preferably, the second base station can broadcast the identifier of the Internet content stored by the second base station to other base stations in the base station set (including the above-mentioned first base station), and other base stations record the identifier and storage address of the Internet content stored by the second base station in the and stored in their respective content directory tables. Since the content directory table stored by the first base station records the identifier and storage address of the Internet content stored by the second base station, the first base station can use the identifier (or the index function called the content directory table) to locate the Internet that the first user equipment requests to access The content is stored in the second base station.

可选地,作为另一个实施例,在步骤301之前,第二基站可以向控制服务器发送第二基站存储的互联网内容的标识。控制服务器将第二基站存储的互联网内容的标识和存储地址记录在内容目录表中并存储。当第一基站向控制服务器发送查询请求消息时,控制服务器可以从内容目录表中查询到的第一用户设备请求访问的互联网内容存储在第二基站,将查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息发送给第一基站。Optionally, as another embodiment, before step 301, the second base station may send the identifier of the Internet content stored by the second base station to the control server. The control server records and stores the identifier and storage address of the Internet content stored by the second base station in the content directory table. When the first base station sends a query request message to the control server, the control server can store the Internet content requested to be accessed by the first user equipment queried from the content directory table in the second base station, and store the Internet content requested to be accessed by the queried first user equipment The information of Internet content stored in the second base station is sent to the first base station.

需要说明的是,控制服务器存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括基站集合中的第二基站)存储的互联网内容的标识与相应的存储地址。控制服务器可以由基站集合中的多个基站共享,也就是说,基站集合中的其它基站也可以执行第二基站的实施方式,相应地,控制服务器存储的内容目录表可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,内容目录表用于控制服务器根据基站发送的查询请求消息定位第一用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the control server may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations in the base station set (including the second base station in the base station set). The control server may be shared by multiple base stations in the base station set, that is to say, other base stations in the base station set may also execute the implementation of the second base station, and accordingly, the content directory table stored by the control server may be a global content directory table , which records the identifier and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention. The content directory table is used to control the server to locate the storage location of the Internet content requested by the first user equipment according to the query request message sent by the base station.

通过上述方案,第二基站将第二基站存储的互联网内容的标识发送给第一基站或控制服务器,服务小区的基站为第一基站的第一用户设备请求访问互联网内容时,在请求访问的互联网内容存储在第二基站时,第一基站可以定位请求访问的互联网内容的存储位置,从而可以利用第二基站的存储空间,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的第一用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above solution, the second base station sends the identifier of the Internet content stored by the second base station to the first base station or the control server, and when the base station of the serving cell requests access to the Internet content for the first user equipment of the first base station, the requested Internet When the content is stored in the second base station, the first base station can locate the storage location of the Internet content requested to be accessed, so that the storage space of the second base station can be utilized to improve storage utilization and increase the access hit rate of the Internet content stored in the base station without requiring The first user equipment requesting access to Internet content that is not stored in the local base station is obtained from the Internet network, thereby effectively saving transmission costs and reducing delay time.

可选地,作为另一个实施例,第二基站可以更新本地基站存储的互联网内容,可以存储本地基站下的第一用户设备请求访问次数较多(访问次数大于一定数目阈值)的互联网内容(也称为“热点内容”),也可以“迁出”其它基站(如第一基站)请求访问次数较多的互联网内容,即第二基站删除其它基站请求访问次数较多的互联网内容,由其它基站来存储。这里,第一用户设备请求访问的互联网内容被请求访问的次数可以是该互联网内容被第一基站提供服务的所有用户设备请求该互联网内容的次数的总和。Optionally, as another embodiment, the second base station may update the Internet content stored in the local base station, and may store the Internet content (also known as Internet content) that the first user equipment under the local base station requests to access more times (the number of visits is greater than a certain threshold). It is called "hot content"), and can also "move out" Internet content requested by other base stations (such as the first base station) to access more times, that is, the second base station deletes Internet content requested by other base stations to access more times, and other base stations to store. Here, the number of times the Internet content requested to be accessed by the first user equipment may be the sum of the number of times the Internet content is requested by all user equipments served by the first base station.

例如,当在统计周期内,某个互联网内容(如互联网内容W)被访问的次数大于一定阈值时,互联网内容W可以从第二基站迁移到第一基站中,即,从第二基站中删除并存储到第一基站中,这时,相应的互联网内容W的存储信息可以更新。具体的迁移流程可以有多种,比如:在统计的周期内,第二基站统计第一基站发起访问互联网内容W的请求次数,当在该统计周期内,第二基站检测到统计的第一基站发起访问互联网内容W的请求次数(即第一基站发送访问互联网内容W的访问请求消息的次数)大于一定数目阈值时,第二基站可以向第一基站发送迁移请求消息,第一基站接收到第二基站发送的迁移请求消息后,将互联网内容W存储在本地基站中,而第二基站可以删除存储的互联网内容W。For example, when a certain Internet content (such as Internet content W) is accessed more than a certain threshold within a statistical period, the Internet content W can be migrated from the second base station to the first base station, that is, deleted from the second base station And stored in the first base station, at this time, the stored information of the corresponding Internet content W can be updated. There may be various specific migration processes. For example: within the statistical period, the second base station counts the number of requests for accessing Internet content W initiated by the first base station. When the number of requests for initiating access to Internet content W (that is, the number of times the first base station sends an access request message to access Internet content W) is greater than a certain number threshold, the second base station can send a relocation request message to the first base station, and the first base station receives the first base station. After the migration request message sent by the second base station, the Internet content W is stored in the local base station, and the second base station can delete the stored Internet content W.

进一步地,第二基站对本地基站存储的互联内容进行更新后可以以广播的形式通知基站集合中的其它基站。可选地,在控制服务器存储内容目录表的情况下,第二基站对本地基站存储的互联网内容进行更新后,可以通知控制服务器,具体地,第二基站可以将更新后的本地存储的互联网内容的标识和存储地址(如第二基站的标识或第二基站的IP地址)发送给控制服务器,或者,第二基站可以向控制服务器发送互联网内容W存储地址从第二基站变更为第一基站的指示消息,以便控制服务器更新内容目录表。Further, after the second base station updates the interconnection content stored in the local base station, it may broadcast to other base stations in the base station set. Optionally, in the case where the control server stores the content directory table, after the second base station updates the Internet content stored in the local base station, it may notify the control server, specifically, the second base station may update the locally stored Internet content The identification and storage address of the second base station (such as the identification of the second base station or the IP address of the second base station) are sent to the control server, or the second base station can send Internet content to the control server to change the storage address from the second base station to that of the first base station Indicates a message for the control server to update the content directory table.

可选地,在第二基站删除向第一基站请求的第一用户设备请求访问的互联网内容之前,第二基站接收控制服务器发送的迁出请求消息,迁出请求消息用于指示第二基站删除第二基站存储的第一用户设备请求访问的互联网内容。具体的可以参考图2的实施例,此处不再赘述。Optionally, before the second base station deletes the Internet content that the first user equipment requests to access from the first base station, the second base station receives a move-out request message sent by the control server, where the move-out request message is used to instruct the second base station to delete Internet content requested by the first user equipment to be stored by the second base station. For details, reference may be made to the embodiment in FIG. 2 , which will not be repeated here.

需要说明的是,基站集合中某个基站对本地基站存储的互联内容进行更新后可以以广播的形式通知基站集合中的其它基站。可选地,在控制服务器存储内容目录表的情况下,基站集合中某个基站对本地基站存储的互联内容进行更新后,可以通知控制服务器,以便控制服务器更新内容目录表。It should be noted that after a certain base station in the base station set updates the interconnection content stored in the local base station, it may notify other base stations in the base station set in the form of broadcast. Optionally, when the control server stores the content directory table, after a certain base station in the base station set updates the interconnection content stored in the local base station, it can notify the control server, so that the control server can update the content directory table.

因此,通过基站对存储的互联内容进行更新,能够提高存储的灵活性,基站存储的互联网内容为该基站下的用户设备请求访问次数较多的,有效地减少基站间的访问开销,减少时延。Therefore, updating the stored Internet content through the base station can improve the flexibility of storage. The Internet content stored by the base station is requested by the user equipment under the base station for a large number of visits, effectively reducing the access overhead between base stations and reducing the delay. .

当然,第二基站也可以作为第一基站的角色,具体的实施方式可参考上述实施例,此处不再赘述。Of course, the second base station may also play the role of the first base station. For specific implementation manners, reference may be made to the foregoing embodiments, and details are not repeated here.

图4是本发明再一个实施例的互联网内容存储方法的流程图。图4的方法由控制服务器执行,并且与图2和图3的方法相对应,因此将适当省略与图2和图3的实施例重复的描述。Fig. 4 is a flowchart of a method for storing Internet content according to another embodiment of the present invention. The method in FIG. 4 is executed by the control server and corresponds to the methods in FIG. 2 and FIG. 3 , so descriptions repeated with the embodiments in FIG. 2 and FIG. 3 will be appropriately omitted.

401,控制服务器接收第一基站发送的查询请求消息,查询请求消息用于请求控制服务器从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址。401. The control server receives a query request message sent by the first base station, where the query request message is used to request the control server to query the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server.

402,控制服务器根据查询请求消息从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址。402. The control server queries the storage address of the Internet content requested to be accessed by the first user equipment from the content directory table stored in the control server according to the query request message.

403,控制服务器向第一基站发送查询响应消息,查询响应消息携带控制服务器查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息,以便第一基站根据查询响应消息确定第一用户设备请求访问的互联网内容存储在第二基站中,第一基站与第二基站不同。403. The control server sends a query response message to the first base station, where the query response message carries the information that the control server queries that the Internet content requested by the first user equipment is stored in the second base station, so that the first base station can determine the first base station according to the query response message. The Internet content requested by the user equipment to be accessed is stored in the second base station, and the first base station is different from the second base station.

可选地,互联网内容是表示第二基站从互联网中获取的文件,互联网内容包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content is a file obtained by the second base station from the Internet, and the Internet content includes but not limited to video, audio, webpage multimedia or text files, which is not limited in this embodiment of the present invention.

在本发明实施例中,控制服务器可以是逻辑上的,控制服务器的功能可以由某个基站来实现,也可以是部署在除基站外的其它设备中,当然,控制服务器还可以是独立的设备,本发明实施例对此并不限定。In the embodiment of the present invention, the control server can be logical, and the function of the control server can be implemented by a certain base station, or it can be deployed in other devices except the base station. Of course, the control server can also be an independent device , which is not limited in this embodiment of the present invention.

本发明实施例控制服务器接收到第一基站发送的查询请求消息从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址,将查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息发送给第一基站,使得第一基站确定第一用户设备请求访问的互联网内容存储在第二基站中,第一基站与第二基站不同。因此,通过控制服务器实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In this embodiment of the present invention, the control server receives the query request message sent by the first base station and queries the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server, and sends the queried address of the Internet content that the first user equipment requests to access. The information that the Internet content is stored in the second base station is sent to the first base station, so that the first base station determines that the Internet content requested by the first user equipment is stored in the second base station, and the first base station is different from the second base station. Therefore, multiple base stations share the Internet content stored separately through the control server. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

可选地,作为一个实施例,在步骤401之前,控制服务器可以接收第二基站发送的第二基站存储的互联网内容的标识,控制服务器将第二基站存储的互联网内容的标识和存储地址记录在内容目录表中。Optionally, as an embodiment, before step 401, the control server may receive the identifier of the Internet content stored in the second base station sent by the second base station, and the control server may record the identifier and storage address of the Internet content stored in the second base station in table of contents.

需要说明的是,控制服务器存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括基站集合中的第二基站)存储的互联网内容的标识与相应的存储地址。控制服务器可以由基站集合中的多个基站共享,也就是说,基站集合中的其它基站也可以执行上述第一基站(或上述第二基站)的实施方式。控制服务器存储的目录表可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,内容目录表用于控制服务器根据基站发送的查询请求消息定位第一用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the control server may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations in the base station set (including the second base station in the base station set). The control server may be shared by multiple base stations in the base station set, that is to say, other base stations in the base station set may also implement the implementation manner of the first base station (or the second base station). The directory table stored by the control server may be a global content directory table, which records the identifier and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention. The content directory table is used to control the server to locate the storage location of the Internet content requested by the first user equipment according to the query request message sent by the base station.

可选地,控制服务器在从内容目录表中未查询到的第一用户设备请求访问的互联网内容存储在基站集合的任一个基站中时,可以向第一基站发送未查询到的查询响应消息或者不动作。Optionally, the control server may send an unqueried query response message to the first base station or no action.

通过上述方案,控制服务器可以定位请求访问的互联网内容的存储位置实现多个基站共享各自存储的互联网内容,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的第一用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above solution, the control server can locate the storage location of the Internet content requested to be accessed, so that multiple base stations can share their respective stored Internet content, improve the storage utilization rate, and increase the access hit rate of the Internet content stored by the base station without obtaining from the Internet network Only the first user equipment that is not stored in the local base station requests to access Internet content, thereby effectively saving transmission overhead and reducing delay time.

可选地,作为另一个实施例,控制服务器可以更新存储的内容目录表,可选地,基站集合中某个基站对本地基站存储的互联内容进行更新后,通知控制服务器,控制服务器相应地更新内容目录表。Optionally, as another embodiment, the control server can update the stored content directory table. Optionally, after a certain base station in the base station set updates the interconnection content stored in the local base station, it notifies the control server, and the control server updates accordingly. table of contents.

例如,当在统计周期内,某个互联网内容(如互联网内容W)被访问的次数大于一定阈值时,互联网内容W可以从第二基站迁移到第一基站中,即,从第二基站中删除并存储到第一基站中,这时,相应的互联网内容W的存储信息可以更新到控制服务器。具体的迁移流程可以有多种,比如:当在该统计周期内,第二基站检测到统计的第一基站发起访问互联网内容W的请求次数大于一定阈值时,第二基站向第一基站发送迁移请求消息,第二基站“迁出”互联网内容W,由第一基站存储,向控制服务器发送互联网内容W存储地址从第二基站变更为第一基站的指示消息,控制服务器接收到该指示消息时,将互联网内容W的存储地址从“第一基站的标识”更改为“第二基站的标识”。或者,可以由控制服务器来统一进行已存储的该互联网内容在基站间迁移的决策。For example, when a certain Internet content (such as Internet content W) is accessed more than a certain threshold within a statistical period, the Internet content W can be migrated from the second base station to the first base station, that is, deleted from the second base station And stored in the first base station, at this time, the storage information of the corresponding Internet content W can be updated to the control server. There are many specific migration procedures. For example, when the second base station detects that the counted number of requests from the first base station to access Internet content W is greater than a certain threshold within the statistical period, the second base station sends a migration request to the first base station. Request message, the second base station "moves out" the Internet content W to be stored by the first base station, and sends an instruction message to the control server to change the storage address of the Internet content W from the second base station to the first base station, when the control server receives the instruction message , change the storage address of the Internet content W from "identification of the first base station" to "identification of the second base station". Alternatively, the control server may make a unified decision on the migration of the stored Internet content between base stations.

可选地,当统计周期内,控制服务器检测到统计的第一基站发送查询请求消息的次数大于数目阈值时,控制服务器向第一基站发送迁入请求消息并向第二基站发送迁出请求消息,且控制服务器对控制服务器存储的内容目录表进行更新,其中,迁入请求消息用于指示第一基站存储第一用户设备请求访问的互联网内容,以及迁出请求消息用于指示第二基站删除第二基站存储的第一用户设备请求访问的互联网内容。Optionally, when the control server detects that the counted number of query request messages sent by the first base station is greater than the number threshold within the statistical period, the control server sends a move-in request message to the first base station and sends a move-out request message to the second base station , and the control server updates the content directory table stored in the control server, wherein the move-in request message is used to instruct the first base station to store the Internet content that the first user equipment requests to access, and the move-out request message is used to instruct the second base station to delete Internet content requested by the first user equipment to be stored by the second base station.

例如,在统计周期内,控制服务器统计第一基站发送查询互联网内容W的存储地址的查询请求消息的次数,当统计周期内,控制服务器检测到统计的第一基站发送查询互联网内容W的存储地址的查询请求消息的次数大于一定数目阈值时,控制服务器可以向第二基站发送互联网内容W的迁出请求消息并向第一基站发送互联网内容W的迁入请求消息。相应地,控制服务器将互联网内容W的存储地址从“第一基站的标识”更改为“第二基站的标识”。当第一基站接收到控制服务器发送的互联网内容W的迁入请求消息时,第一基站存储互联网内容W。当第二基站接收到控制服务器发送的互联网内容W的迁出请求消息时,第二基站删除存储的互联网内容W。For example, within the statistical period, the control server counts the number of query request messages sent by the first base station to query the storage address of the Internet content W; When the number of query request messages is greater than a certain number threshold, the control server may send a move-out request message of Internet content W to the second base station and send a move-in request message of Internet content W to the first base station. Correspondingly, the control server changes the storage address of the Internet content W from "identification of the first base station" to "identification of the second base station". When the first base station receives the migration request message of the Internet content W sent by the control server, the first base station stores the Internet content W. When the second base station receives the move-out request message of the Internet content W sent by the control server, the second base station deletes the stored Internet content W.

因此,通过控制服务器更新存储的内容目录表,相应地,基站对存储的互联内容进行更新,能够提高存储的灵活性,基站存储的互联网内容为该基站下的用户设备请求访问次数较多的,有效地减少基站间的访问开销,减少时延。Therefore, by controlling the server to update the stored content directory table, the base station updates the stored Internet content accordingly, which can improve the flexibility of storage. The Internet content stored by the base station is requested by the user equipment under the base station. Effectively reduce access overhead between base stations and reduce time delay.

下面结合图5-图8的实施例详细描述本发明实施例。Embodiments of the present invention will be described in detail below with reference to the embodiments shown in FIGS. 5-8 .

图5是本发明一个实施例的基站集合的示意结构图。在图5中描绘了两个基站集合,基站集合1包括了5个基站分别是基站A1、B1、C1、D1和E1;基站集合2包括了5个基站分别是基站C1、B2、C2、D2和E2,每个基站集合中任两个基站可以通过路由器或交换机相连接。应理解,本发明实施例对于基站集合中包括的多个基站的数目以及基站间采用何种方式相连接并不限定,还应理解,交互的两个基站并不限于在邻接的地理位置,同一个基站可以包括在不同的基站集合中,如基站C1。基站集合可以组成mesh网络,具体可以包括:基站集合中的任两个基站之间可以相互交互,基站集合中的各个基站的存储互联网内容的功能是等同的。Fig. 5 is a schematic structural diagram of a set of base stations according to an embodiment of the present invention. Two base station sets are depicted in FIG. 5 . Base station set 1 includes 5 base stations, respectively, base stations A1, B1, C1, D1, and E1; base station set 2 includes 5 base stations, respectively, base stations C1, B2, C2, and D2. and E2, any two base stations in each base station set can be connected through routers or switches. It should be understood that the embodiment of the present invention does not limit the number of multiple base stations included in the base station set and the method of connection between the base stations. It should also be understood that the two base stations interacting are not limited to adjacent geographic locations. A base station may be included in different base station sets, such as base station C1. A set of base stations can form a mesh network, which specifically includes: any two base stations in the set of base stations can interact with each other, and each base station in the set of base stations has the same function of storing Internet content.

可选地,每个基站集合中的各个基站均存储了互联网内容,并相应地存储了内容目录表,内容目录表记录了该基站集合中各个基站存储的互联网内容的标识和相应的存储地址。优选地,不同的基站存储的互联网内容不同。这样,能够提高基站的存储利用率。或者,每个基站集合在控制服务器(如基站集合1的控制服务器S1或基站集合2的控制服务器S2)中存储该内容目录表。多个基站可以共享各自存储的互联网内容。Optionally, each base station in each base station set stores Internet content, and correspondingly stores a content directory table, which records the identifier and corresponding storage address of the Internet content stored by each base station in the base station set. Preferably, different base stations store different Internet contents. In this way, the storage utilization rate of the base station can be improved. Alternatively, each base station set stores the content directory table in a control server (such as the control server S1 of base station set 1 or the control server S2 of base station set 2). Multiple base stations can share their respective stored Internet content.

应理解,控制服务器可以是逻辑上的,控制服务器的功能可以由某个基站来实现,也可以是部署在除基站外的其它设备中,当然,控制服务器还可以是独立的设备,本发明实施例对此并不限定。It should be understood that the control server can be logical, and the function of the control server can be realized by a certain base station, or it can be deployed in other equipment except the base station. Of course, the control server can also be an independent device. The implementation of the present invention Examples are not limited to this.

还应理解,基站集合中的部分基站可以不存储互联网内容仅存储内容目录表,本发明实施例对此并不限定。It should also be understood that some base stations in the base station set may not store Internet content but only a content directory table, which is not limited in this embodiment of the present invention.

下面将以图5中的基站集合1为例详细描述本发明的实施方式。如图6所示,UE601和UE602的服务小区的基站为基站A1,UE603的服务小区的基站为基站D1。The implementation of the present invention will be described in detail below by taking base station set 1 in FIG. 5 as an example. As shown in FIG. 6 , the base stations of the serving cells of UE601 and UE602 are base station A1 , and the base station of the serving cell of UE603 is base station D1 .

步骤1,UE601向基站A1发起请求访问互联网内容W。可选地,基站A1从当前存储在基站A1的内容目录表中获知UE601请求访问的互联网内容W未存储在基站集合1的任一基站中,从互联网网络604获取互联网内容W发送给UE601。或者,基站A1在确定UE601请求访问的互联网内容W未存储在基站A1中的情况下,向控制服务器S1发送查询请求消息,基站A1通过控制服务器S1发送的查询响应消息中获知控制服务器未查询到互联网内容W存储在基站集合1的其它基站,从互联网网络604获取互联网内容W发送给UE601。Step 1, UE601 initiates a request to base station A1 to access Internet content W. Optionally, the base station A1 knows from the content directory table currently stored in the base station A1 that the Internet content W requested by the UE 601 is not stored in any base station of the base station set 1, and obtains the Internet content W from the Internet network 604 and sends it to the UE 601. Alternatively, when base station A1 determines that the Internet content W requested by UE601 is not stored in base station A1, it sends a query request message to control server S1, and base station A1 learns from the query response message sent by control server S1 that the control server does not query the content W. The Internet content W is stored in other base stations of the base station set 1, and the Internet content W is obtained from the Internet network 604 and sent to the UE601.

步骤2,基站A1存储从互联网网络604中获取的互联网内容W。可选地,广播给基站集合1中的其它基站(基站B1、C1、D1和E1),其它基站可以将互联网内容标识W和存储地址基站A1的标识A1记录在各自的内容目录表中并存储;或者,基站A1通知控制服务器S1,控制服务器S1将互联网内容标识W和存储地址基站A1的标识A1记录在内容目录表中并存储。Step 2, the base station A1 stores the Internet content W obtained from the Internet network 604 . Optionally, broadcast to other base stations (base stations B1, C1, D1, and E1) in base station set 1, and other base stations can record the Internet content identifier W and the identifier A1 of the storage address base station A1 in their respective content directory tables and store them or, the base station A1 notifies the control server S1, and the control server S1 records and stores the Internet content identifier W and the identifier A1 of the storage address base station A1 in the content directory table.

步骤3,UE602向基站A1发起请求访问互联网内容W。由于基站A1存储了互联网内容W,基站A1将存储的互联网内容W发送给UE602。因此,基站A1无需从互联网网络中获取互联网内容W发送给UE602,从而节省了传输开销以及减少延迟时间。Step 3, UE602 initiates a request to base station A1 to access Internet content W. Since the base station A1 has stored the Internet content W, the base station A1 sends the stored Internet content W to the UE602. Therefore, the base station A1 does not need to obtain Internet content from the Internet network to send to the UE 602, thereby saving transmission overhead and reducing delay time.

或者or

UE603向基站D1发起请求访问互联网内容W。可选地,基站D1从基站D1存储的内容目录表中确定互联网内容W存储在基站A1中;或者,基站D1在本地基站为存储互联网内容的情况下,向控制服务器S1发送查询请求消息时,控制服务器S1可以通过查询请求消息中的UE603请求访问的互联网内容的标识W根据控制服务器S1存储的内容目录表定位互联网内容W存储在基站A1中,向基站D1返回查询响应消息,该查询响应消息携带了查询到的基站A1的标识,基站D1根据查询相应消息确定互联网内容W存储在基站A1中。基站D1向基站A1发送访问请求消息,可以在该请求消息中携带UE603请求访问的互联网内容的标识W。基站A1将互联网内容W发送给基站D1,由基站D1返给UE603。UE603 initiates a request to base station D1 to access Internet content W. Optionally, the base station D1 determines from the content directory table stored in the base station D1 that the Internet content W is stored in the base station A1; or, when the base station D1 sends a query request message to the control server S1 when the local base station does not store Internet content, The control server S1 can locate the Internet content W stored in the base station A1 according to the content directory table stored by the control server S1 through the identifier of the Internet content requested by the UE603 in the query request message, and return a query response message to the base station D1, the query response message Carrying the queried identifier of the base station A1, the base station D1 determines that the Internet content W is stored in the base station A1 according to the query corresponding message. Base station D1 sends an access request message to base station A1, and the request message may carry the identifier W of the Internet content that UE603 requests to access. Base station A1 sends Internet content W to base station D1, and base station D1 returns it to UE603.

通过上述方案,服务小区的基站为第一基站的用户设备请求访问互联网内容时,在请求访问的互联网内容存储在基站集合的其它基站时,第一基站可以定位请求访问的互联网内容的存储位置,从而可以利用其它基站的存储空间,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above solution, when the base station of the serving cell requests access to Internet content for the user equipment of the first base station, when the requested Internet content is stored in other base stations in the base station set, the first base station can locate the storage location of the requested Internet content, In this way, the storage space of other base stations can be utilized to improve the utilization rate of storage, increase the access hit rate of Internet content stored in the base station, and do not need to obtain from the Internet network the user equipment that is not stored in the local base station to request access to Internet content, thereby effectively saving Transmission overhead and reduced latency.

图7是本发明一个实施例的基站更新存储的互联网内容的示意结构图。UE701和UE702的服务小区的基站为基站D1,UE703的服务小区的基站为基站A1,互联网内容W存储在基站A1中。Fig. 7 is a schematic structural diagram of Internet content updated and stored by a base station according to an embodiment of the present invention. The base stations of the serving cells of UE701 and UE702 are base station D1, the base station of the serving cell of UE703 is base station A1, and the Internet content W is stored in base station A1.

在基站D1下的UE701和UE702向基站D1发起请求访问互联网内容W,基站D1从基站A1中获取互联网内容W发送给UE701和UE702,具体的实施过程可参考上述,此处不再赘述。也就是说,UE701和UE702需要通过基站D1和基站A1之间的传输访问获取互联网内容W。而基站A1下的UE703发起请求访问互联网内容W,基站A1可以直接将本地基站存储的互联网内容W发送给UE703。当基站A1检测到从基站D1发起访问互联网内容W的次数大于基站A1本地的UE发起访问互联网内容W的次数时,基站A1可以向基站D1发送互联网内容W的迁移请求。基站D1接收到基站A1发送的互联网内容W的迁移请求后,将互联网内容W存储起来,而基站A1可以删除本地存储的互联网内容W。UE701 and UE702 under base station D1 initiate a request to base station D1 to access Internet content W, and base station D1 obtains Internet content W from base station A1 and sends it to UE701 and UE702. The specific implementation process can refer to the above, and will not be repeated here. That is to say, UE701 and UE702 need to access and obtain Internet content W through the transmission between base station D1 and base station A1. While the UE703 under the base station A1 initiates a request to access the Internet content W, the base station A1 can directly send the Internet content W stored in the local base station to the UE703. When the base station A1 detects that the number of accesses to the Internet content W initiated by the base station D1 is greater than the number of visits to the Internet content W initiated by the local UE of the base station A1, the base station A1 may send a migration request of the Internet content W to the base station D1. After receiving the migration request of the Internet content W sent by the base station A1, the base station D1 stores the Internet content W, and the base station A1 can delete the locally stored Internet content W.

可选地,基站A1在更新各自存储的互联网内容后,广播给基站集合1的其它基站,其它基站可以相应的更新存储的内容目录表,将互联网内容W存储在基站A1的记录删除。类似地,基站D1在更新各自存储的互联网内容后,也广播给基站集合1的其它基站,其它基站可以相应的更新存储的内容目录表,添加互联网内容W存储在基站D1的记录。或者,基站A1和基站D2在更新各自存储的互联网内容后,都通知控制服务器S1,控制服务器S1更新内容目录表,将互联网内容W存储在基站A1的记录更改为互联网内容W存储在基站D1。或者,可以由控制服务器S1来统一进行已存储的该互联网内容在基站间迁移的决策。例如,当控制服务器S1检测到从基站D1发起访问互联网内容W的次数大于基站A1本地的UE发起访问互联网内容W的次数时,控制服务器可以向基站A1发送互联网内容W的迁出请求,基站A1接收到互联网内容W的迁出请求后,向基站D1发送互联网内容W的迁移请求。Optionally, base station A1 broadcasts to other base stations in base station set 1 after updating their respective stored Internet content, and other base stations can correspondingly update the stored content directory table, and delete the record of Internet content W stored in base station A1. Similarly, base station D1 also broadcasts to other base stations in base station set 1 after updating their respective stored Internet content, and other base stations can correspondingly update the stored content directory table and add Internet content W to the record stored in base station D1. Alternatively, base station A1 and base station D2 both notify the control server S1 after updating their respective stored Internet content, and the control server S1 updates the content directory table, and changes the record of Internet content W stored in base station A1 to Internet content W stored in base station D1. Alternatively, the control server S1 may make a unified decision to migrate the stored Internet content between base stations. For example, when the control server S1 detects that the number of accesses to the Internet content W initiated by the base station D1 is greater than the number of times the local UE of the base station A1 initiates the access to the Internet content W, the control server may send a request for moving out the Internet content W to the base station A1, and the base station A1 After receiving the migration request of the Internet content W, the migration request of the Internet content W is sent to the base station D1.

因此,通过基站存储的互联网内容为该基站下的用户设备请求访问次数较多的,能够有效地减少基站间的访问开销,减少时延。Therefore, the Internet content stored by the base station is requested by the user equipment under the base station for a large number of visits, which can effectively reduce the access overhead between base stations and reduce the time delay.

应理解,上述例子仅仅是示例性的,而非要限制本发明的范围。还应理解,基站集合中的其它基站也可以执行基站A1或基站D1的操作。It should be understood that the above examples are only illustrative and not intended to limit the scope of the present invention. It should also be understood that other base stations in the base station set may also perform the operations of base station A1 or base station D1.

图8是本发明一个实施例的第一基站的结构框图。第一基站800包括发送单元801和接收单元802。Fig. 8 is a structural block diagram of a first base station according to an embodiment of the present invention. The first base station 800 includes a sending unit 801 and a receiving unit 802 .

发送单元801,用于在第一用户设备请求访问的互联网内容存储在第二基站的情况下,向第二基站发送第一访问请求消息,第一访问请求消息用于请求第二基站发送第一用户设备请求访问的互联网内容,第一基站与第二基站不同。The sending unit 801 is configured to send a first access request message to the second base station when the Internet content requested by the first user equipment to be accessed is stored in the second base station, where the first access request message is used to request the second base station to send the first The Internet content requested by the user equipment to be accessed is different from the first base station to the second base station.

接收单元802,用于接收第二基站发送的第一用户设备请求访问的互联网内容,第一用户设备请求访问的互联网内容是第二基站根据发送单元801发送的第一访问请求消息获取的。The receiving unit 802 is configured to receive the Internet content requested by the first user equipment to be accessed sent by the second base station, the Internet content requested by the first user equipment to be accessed is obtained by the second base station according to the first access request message sent by the sending unit 801 .

其中,该第一用户设备的服务小区所归属的基站为第一基站,服务该第一用户设备向第一基站发送互联网内容的访问请求消息,第一用户设备请求访问的互联网内容是由第一基站发送给该第一用户设备的。其中,该第一用户设备的服务小区所归属的基站可以称为该第一用户设备的服务基站。某个用户设备的服务基站是指负责该用户设备和网络侧之间的无线资源控制RRC连接的基站。而在该服务基站下,至少有一个小区。该用户设备所被该服务基站覆盖的小区称为服务小区。Wherein, the base station to which the serving cell of the first user equipment belongs is the first base station, and the first base station serving the first user equipment sends an Internet content access request message to the first base station, and the Internet content requested by the first user equipment is provided by the first sent by the base station to the first user equipment. Wherein, the base station to which the serving cell of the first user equipment belongs may be referred to as the serving base station of the first user equipment. The serving base station of a certain user equipment refers to the base station responsible for the radio resource control RRC connection between the user equipment and the network side. Under the serving base station, there is at least one cell. The cell covered by the serving base station for the user equipment is called a serving cell.

可选地,互联网内容是表示第二基站从互联网中获取的文件,包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content refers to files obtained by the second base station from the Internet, including but not limited to files such as video, audio, webpage multimedia, or text, which is not limited in this embodiment of the present invention.

本发明实施例第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下,从该第二基站获取第一用户设备请求访问的互联网内容发送给第一用户设备,实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In the embodiment of the present invention, when the Internet content requested by the first user equipment is stored in the second base station, the first base station obtains the Internet content requested by the first user equipment from the second base station and sends it to the first user equipment, realizing multiple The base stations share the Internet content stored in each. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

第一基站800可实现图1至图7的方法中涉及第一基站的各个步骤,为避免重复,不再详细描述。The first base station 800 may implement various steps related to the first base station in the methods in FIG. 1 to FIG. 7 , which will not be described in detail to avoid repetition.

可选地,作为一个实施例,第一基站800还可以包括第一确定单元803和第一存储单元805。第一存储单元805,用于存储内容目录表。第一确定单元803用于根据第一存储单元805存储的内容目录表确定第一用户设备请求访问的互联网内容存储在第二基站中。进一步地,接收单元802还可以用于:接收第二基站发送的第二基站存储的互联网内容的标识。第一确定单元803还可以用于将接收单元802接收的第二基站存储的互联网内容的标识和存储地址记录在内容目录表中。Optionally, as an embodiment, the first base station 800 may further include a first determining unit 803 and a first storage unit 805 . The first storage unit 805 is configured to store the content directory table. The first determining unit 803 is configured to determine, according to the content directory table stored in the first storage unit 805, that the Internet content requested by the first user equipment is stored in the second base station. Further, the receiving unit 802 may also be configured to: receive the identifier of the Internet content stored in the second base station sent by the second base station. The first determining unit 803 may also be configured to record the identifier and storage address of the Internet content stored by the second base station received by the receiving unit 802 in the content directory table.

可选地,当接收单元802接收到第一用户设备发送的访问互联网内容的请求消息时,在第一确定单元803根据第一存储单元805存储的内容目录表确定第一用户设备请求访问的互联网内容存储在第二基站中,发送单元801向第二基站发送上述第一访问请求消息。Optionally, when the receiving unit 802 receives a request message for accessing Internet content sent by the first user equipment, the first determining unit 803 determines the Internet that the first user equipment requests to access according to the content directory table stored in the first storage unit 805 The content is stored in the second base station, and the sending unit 801 sends the above-mentioned first access request message to the second base station.

需要说明的是,第一基站存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括第二基站)存储的互联网内容的标识与相应的存储地址;第一基站存储的内容目录表也可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,内容目录表用于基站定位第一用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the first base station may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations (including the second base station) in the base station set; The content directory table may also be a global content directory table, which records the identification and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention, and the content directory table is used by the base station to locate the storage location of the Internet content requested to be accessed by the first user equipment.

可选地,作为另一个实施例,发送单元801还可以用于:向控制服务器发送查询请求消息,查询请求消息用于请求控制服务器从所述控制服务器存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址。接收单元802还可以用于:接收控制服务器发送的查询响应消息,查询响应消息携带控制服务器查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息。第一基站800还可以包括第二确定单元804,用于根据接收单元802接收的查询响应消息确定第一用户设备请求访问的互联网内容存储在第二基站中。其中,内容目录表包括第二基站存储的互联网内容的标识和存储地址。Optionally, as another embodiment, the sending unit 801 may also be configured to: send a query request message to the control server, where the query request message is used to request the control server to query the first The storage address of the Internet content that the user device requests to access. The receiving unit 802 may also be configured to: receive a query response message sent by the control server, where the query response message carries the information that the control server inquires that the Internet content requested by the first user equipment is stored in the second base station. The first base station 800 may further include a second determining unit 804, configured to determine, according to the query response message received by the receiving unit 802, that the Internet content requested by the first user equipment is stored in the second base station. Wherein, the content directory table includes identifiers and storage addresses of Internet content stored by the second base station.

在本发明实施例中,控制服务器可以是逻辑上的,控制服务器的功能可以由某个基站来实现,也可以是部署在除基站外的其它设备中,当然,控制服务器还可以是独立的设备,本发明实施例对此并不限定。In the embodiment of the present invention, the control server can be logical, and the function of the control server can be implemented by a certain base station, or it can be deployed in other devices except the base station. Of course, the control server can also be an independent device , which is not limited in this embodiment of the present invention.

可选地,作为另一个实施例,第一基站800还包括第二存储单元806,可选地,在第二存储单元806未存储第一用户设备请求访问的互联网内容的情况下,向控制服务器发送上述查询请求消息。Optionally, as another embodiment, the first base station 800 further includes a second storage unit 806, and optionally, when the second storage unit 806 does not store the Internet content that the first user equipment requests to access, the Send the above query request message.

第二存储单元806还可以用于存储第一用户设备请求访问的互联网内容。具体的,第二存储单元806用于在一定时间内,第一用户设备请求访问的互联网内容被请求访问的次数大于一定阈值时,存储所述互联网内容。当然,存储所述互联网内容也可以是应某控制网元的控制指示。这里,第一用户设备请求访问的互联网内容被请求访问的次数可以是该互联网内容被第一基站提供服务的所有用户设备请求该互联网内容的次数的总和。可选地,在第二存储单元806用于存储第一用户设备请求访问的互联网内容之前,接收单元802还可以用于:接收第二基站发送的迁移请求消息,迁移请求消息用于指示第二存储单元806存储第一用户设备请求访问的互联网内容;或者,接收单元802还可以用于:接收控制服务器发送的迁入请求消息,迁入请求消息用于指示第二存储单元806存储第一用户设备请求访问的互联网内容。The second storage unit 806 may also be used to store Internet content requested to be accessed by the first user equipment. Specifically, the second storage unit 806 is configured to store the Internet content when the number of Internet content requested to be accessed by the first user equipment is greater than a certain threshold within a certain period of time. Of course, storing the Internet content may also be in response to a control instruction of a certain control network element. Here, the number of times the Internet content requested to be accessed by the first user equipment may be the sum of the number of times the Internet content is requested by all user equipments served by the first base station. Optionally, before the second storage unit 806 is used to store the Internet content requested to be accessed by the first user equipment, the receiving unit 802 may also be used to: receive a relocation request message sent by the second base station, the relocation request message is used to indicate that the second The storage unit 806 stores the Internet content requested by the first user equipment; or, the receiving unit 802 may also be configured to: receive a migration request message sent by the control server, where the migration request message is used to instruct the second storage unit 806 to store the first user's Internet content that the device requests to access.

当然,也可以由第一确定单元803统计第一用户设备发起访问互联网内容W的请求次数,当在该统计周期内,第一确定单元803检测到统计的第一基站下的用户设备发起访问互联网内容W的请求次数大于一定数目阈值时,发送单元801可以向第二基站发送迁移请求消息,将互联网内容W存储在本地基站中。而第二基站接收到第一基站发送的迁移请求消息后,删除存储的互联网内容W。本发明所有实施例中,基站下的用户设备是指该基站作为该用户设备的服务基站时,被该基站覆盖的用户设备。Of course, the first determination unit 803 may also count the number of times the first user equipment initiates a request to access the Internet content W. When within the statistical period, the first determination unit 803 detects that the counted user equipment under the first base station initiates an Internet access When the number of requests for the content W is greater than a certain threshold, the sending unit 801 may send a relocation request message to the second base station, and store the Internet content W in the local base station. After receiving the relocation request message sent by the first base station, the second base station deletes the stored Internet content W. In all the embodiments of the present invention, the user equipment under the base station refers to the user equipment covered by the base station when the base station serves as the serving base station of the user equipment.

应理解,第一基站可以不存储任何互联网内容,仅在第一存储单元805中存储内容目录表,本发明实施例对此并不限定。It should be understood that the first base station may not store any Internet content, but only store a content directory table in the first storage unit 805, which is not limited in this embodiment of the present invention.

可选地,作为另一个实施例,接收单元802还用于:接收第二基站发送的第二访问请求消息,第二访问请求消息用于请求发送单元801发送第二用户设备请求访问的互联网内容。发送单元801还用于:根据接收单元802接收的第二访问请求消息将在第二存储单元806存储的第二用户设备请求访问的互联网内容发送给第二基站。Optionally, as another embodiment, the receiving unit 802 is further configured to: receive a second access request message sent by the second base station, where the second access request message is used to request the sending unit 801 to send the Internet content that the second user equipment requests to access . The sending unit 801 is further configured to: send the Internet content requested to be accessed by the second user equipment stored in the second storage unit 806 to the second base station according to the second access request message received by the receiving unit 802 .

可选地,作为另一个实施例,发送单元801还用于:在第一用户设备请求访问的互联网内容存储在第二存储单元806的情况下,从第二存储单元806获取第一用户设备请求访问的互联网内容发送给第一用户设备。或者,发送单元801还用于:在第一用户设备请求访问的互联网内容未存储在至少两个基站的任一基站中的情况下,则从互联网网络中获取第一用户设备请求访问的互联网内容发送给第一用户设备,至少两个基站包括第一基站和第二基站,至少两个基站中任两个基站通过交换机或路由器连接。Optionally, as another embodiment, the sending unit 801 is further configured to: obtain the Internet content requested by the first user equipment from the second storage unit 806 when the Internet content requested by the first user equipment is stored in the second storage unit 806. The accessed Internet content is sent to the first user device. Alternatively, the sending unit 801 is further configured to: if the Internet content requested by the first user equipment is not stored in any base station of the at least two base stations, obtain the Internet content requested by the first user equipment from the Internet network For sending to the first user equipment, the at least two base stations include a first base station and a second base station, and any two base stations in the at least two base stations are connected through a switch or a router.

通过上述方案,服务小区的基站为第一基站的第一用户设备请求访问互联网内容时,在请求访问的互联网内容存储在基站集合的其它基站时,第一基站可以定位请求访问的互联网内容的存储位置,从而可以利用其它基站的存储空间,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的第一用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above scheme, when the base station of the serving cell requests for the first user equipment of the first base station to access Internet content, when the requested Internet content is stored in other base stations in the base station set, the first base station can locate the storage of the requested Internet content location, so that the storage space of other base stations can be utilized, the utilization rate of storage can be improved, and the access hit rate of the Internet content stored in the base station can be increased, and there is no need to obtain from the Internet network the first user equipment that is not stored in the local base station to request access to the Internet content. Thereby effectively saving transmission overhead and reducing delay time.

图9是本发明一个实施例的第二基站的结构框图。第二基站900包括接收单元901、获取单元902、发送单元903和存储单元904。Fig. 9 is a structural block diagram of a second base station according to an embodiment of the present invention. The second base station 900 includes a receiving unit 901 , an acquiring unit 902 , a sending unit 903 and a storage unit 904 .

接收单元901,用于接收第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下发送的访问请求消息,第一访问请求消息用于请求第二基站发送第一用户设备请求访问的互联网内容,第一基站和第二基站不同。The receiving unit 901 is configured to receive an access request message sent by the first base station when the Internet content requested by the first user equipment is stored in the second base station, and the first access request message is used to request the second base station to send the first user equipment Internet content requested for access is different between the first base station and the second base station.

获取单元902,用于根据接收单元901接收的第一访问请求消息获取存储单元904存储的第一用户设备请求访问的互联网内容。The obtaining unit 902 is configured to obtain, according to the first access request message received by the receiving unit 901 , the Internet content requested to be accessed by the first user equipment stored in the storage unit 904 .

发送单元903,用于将获取单元902获取的第一用户设备请求访问的互联网内容给第一基站。The sending unit 903 is configured to send, to the first base station, the Internet content obtained by the obtaining unit 902 and requested to be accessed by the first user equipment.

可选地,互联网内容是表示第二基站从互联网中获取的文件,包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content refers to files obtained by the second base station from the Internet, including but not limited to files such as video, audio, webpage multimedia, or text, which is not limited in this embodiment of the present invention.

本发明实施例第二基站接收到第一基站发送的访问请求消息,获取第二基站存储的第一用户设备请求访问的互联网内容发送给第一基站,使得第一基站可以利用第二基站的存储空间,实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In the embodiment of the present invention, the second base station receives the access request message sent by the first base station, obtains the Internet content requested by the first user equipment stored in the second base station, and sends it to the first base station, so that the first base station can use the storage of the second base station. space, enabling multiple base stations to share their respective stored Internet content. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

第二基站900可实现图1至图7的方法中涉及第二基站的各个步骤,为避免重复,不再详细描述。The second base station 900 may implement various steps related to the second base station in the methods in FIG. 1 to FIG. 7 , which will not be described in detail to avoid repetition.

可选地,作为一个实施例,发送单元903还用于:向第一基站或控制服务器发送存储单元904存储的互联网内容的标识和存储地址,存储单元904存储的互联网内容包括第一用户设备请求访问的互联网内容。Optionally, as an embodiment, the sending unit 903 is further configured to: send the identification and storage address of the Internet content stored in the storage unit 904 to the first base station or the control server, and the Internet content stored in the storage unit 904 includes the first user equipment request Internet Content Accessed.

可选地,作为另一个实施例,第二基站900还可以包括删除单元905,删除单元905用于删除存储单元904存储的第一用户设备请求访问的互联网内容。具体地,删除单元905用于:当在统计周期内,某个互联网内容(如互联网内容W)被访问的次数大于一定阈值时,删除存储单元904存储的互联网内容W,即互联网内容W可以从第二基站迁移到第一基站中。Optionally, as another embodiment, the second base station 900 may further include a deleting unit 905, configured to delete the Internet content stored in the storage unit 904 and requested to be accessed by the first user equipment. Specifically, the deletion unit 905 is configured to: delete the Internet content W stored in the storage unit 904 when the number of times a certain Internet content (such as Internet content W) is accessed within a statistical period is greater than a certain threshold, that is, the Internet content W can be accessed from The second base station migrates to the first base station.

可选地,在删除单元905用于删除存储单元904存储的第一用户设备请求访问的互联网内容之前,接收单元901还可以用于:接收控制服务器发送的迁出请求消息,迁出请求消息用于指示删除单元905删除存储单元904存储的第一用户设备请求访问的互联网内容。或者,当在统计周期内,第二基站检测到统计的第一基站发送第一访问请求消息的次数大于数目阈值时,删除单元905具体用于:当在统计周期内,检测到统计的第一基站发送第一访问请求消息的次数大于数目阈值时,删除存储单元904存储的第一用户设备请求访问的互联网内容;发送单元903还可以用于:向第一基站发送迁移请求消息,迁移请求消息用于指示第一基站存储第一用户设备请求访问的互联网内容。这里,第一用户设备请求访问的互联网内容被请求访问的次数可以是该互联网内容被第一基站提供服务的所有用户设备请求该互联网内容的次数的总和。Optionally, before the deleting unit 905 is used to delete the Internet content requested to be accessed by the first user equipment stored in the storage unit 904, the receiving unit 901 may also be used to: receive a move-out request message sent by the control server, the move-out request message uses The deletion unit 905 is instructed to delete the Internet content stored in the storage unit 904 and requested to be accessed by the first user equipment. Or, when within the statistical period, when the second base station detects that the counted number of times the first base station sends the first access request message is greater than the number threshold, the deleting unit 905 is specifically configured to: when within the statistical period, detects that the counted first access request message When the number of times the base station sends the first access request message is greater than the number threshold, delete the Internet content requested by the first user equipment stored in the storage unit 904; the sending unit 903 can also be used to: send a migration request message to the first base station, the migration request message It is used to instruct the first base station to store the Internet content that the first user equipment requests to access. Here, the number of times the Internet content requested to be accessed by the first user equipment may be the sum of the number of times the Internet content is requested by all user equipments served by the first base station.

当然,当由第一基站统计第一基站下的用户设备请求访问互联网内容W的次数时,第一基站检测到统计的第一基站下的用户设备请求访问互联网内容W的次数大于数目阈值时,接收单元901也可以接收第一基站发送的迁移请求消息,删除单元905具体用于:删除存储单元904存储的互联网内容W。Of course, when the first base station counts the number of times the user equipment under the first base station requests to access the Internet content W, and the first base station detects that the counted number of times the user equipment under the first base station requests to access the Internet content W is greater than the number threshold, The receiving unit 901 may also receive a relocation request message sent by the first base station, and the deleting unit 905 is specifically configured to: delete the Internet content W stored in the storage unit 904 .

因此,通过基站存储的互联网内容为该基站下的用户设备请求访问次数较多的,能够有效地减少基站间的访问开销,减少时延。Therefore, the Internet content stored by the base station is requested by the user equipment under the base station for a large number of visits, which can effectively reduce the access overhead between base stations and reduce the time delay.

当然,第二基站也可以作为第一基站的角色,具体的实施方式可参考上述实施例,此处不再赘述。Of course, the second base station may also play the role of the first base station. For specific implementation manners, reference may be made to the foregoing embodiments, and details are not repeated here.

图10是本发明一个实施例的控制服务器的结构框图。控制服务器1000包括接收单元1001、查询单元1002和发送单元1003和存储单元1004。Fig. 10 is a structural block diagram of a control server according to an embodiment of the present invention. The control server 1000 includes a receiving unit 1001 , a query unit 1002 , a sending unit 1003 and a storage unit 1004 .

接收单元1001,用于接收第一基站发送的查询请求消息,查询请求消息用于请求控制服务器从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址。The receiving unit 1001 is configured to receive a query request message sent by the first base station, the query request message is used to request the control server to query the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server.

查询单元1002,用于根据接收单元1001接收的查询请求从存储单元1004存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址;The query unit 1002 is configured to query the storage address of the Internet content requested by the first user equipment from the content directory table stored in the storage unit 1004 according to the query request received by the receiving unit 1001;

发送单元1003,用于向第一基站发送查询响应消息,查询响应消息携带查询单元1002查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息,以便第一基站根据查询响应消息确定第一用户设备请求访问的互联网内容存储在第二基站中,第一基站与第二基站不同。The sending unit 1003 is configured to send a query response message to the first base station, where the query response message carries the information that the query unit 1002 finds that the Internet content that the first user equipment requests to access is stored in the second base station, so that the first base station can respond to the query according to the query response message. It is determined that the Internet content requested by the first user equipment is stored in the second base station, and the first base station is different from the second base station.

可选地,互联网内容是表示第二基站从互联网中获取的文件,包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content refers to files obtained by the second base station from the Internet, including but not limited to files such as video, audio, webpage multimedia, or text, which is not limited in this embodiment of the present invention.

在本发明实施例中,控制服务器可以是逻辑上的,控制服务器的功能可以由某个基站来实现,也可以是部署在除基站外的其它设备中,当然,控制服务器还可以是独立的设备,本发明实施例对此并不限定。In the embodiment of the present invention, the control server can be logical, and the function of the control server can be implemented by a certain base station, or it can be deployed in other devices except the base station. Of course, the control server can also be an independent device , which is not limited in this embodiment of the present invention.

本发明实施例控制服务器接收到第一基站发送的查询请求消息从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址,将查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息发送给第一基站,使得第一基站确定第一用户设备请求访问的互联网内容存储在第二基站中。因此,通过控制服务器实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In this embodiment of the present invention, the control server receives the query request message sent by the first base station and queries the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server, and sends the queried address of the Internet content that the first user equipment requests to access. The information that the Internet content is stored in the second base station is sent to the first base station, so that the first base station determines that the Internet content requested to be accessed by the first user equipment is stored in the second base station. Therefore, multiple base stations share the Internet content stored separately through the control server. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

控制服务器1000可实现图1至图7的方法中涉及控制服务器的各个步骤,为避免重复,不再详细描述。The control server 1000 can implement various steps related to the control server in the methods in FIGS. 1 to 7 , which are not described in detail to avoid repetition.

可选地,作为一个实施例,接收单元1001还可以用于:接收第二基站发送的第二基站存储的互联网内容的标识和互联网内容的存储地址(如第二基站的标识或第二基站的IP地址),第二基站存储的互联网内容包括第一用户设备请求访问的互联网内容。控制服务器1000还可以包括记录单元1005,记录单元1005,用于将接收单元1001接收的第二基站存储的互联网内容的标识和存储地址记录在内容目录表中。Optionally, as an embodiment, the receiving unit 1001 may also be configured to: receive the identifier of the Internet content stored in the second base station and the storage address of the Internet content sent by the second base station (such as the identifier of the second base station or the address of the second base station IP address), the Internet content stored by the second base station includes the Internet content requested by the first user equipment to access. The control server 1000 may further include a recording unit 1005, configured to record the identification and storage address of the Internet content stored by the second base station received by the receiving unit 1001 in the content directory table.

进一步地,控制服务器还可以包括更新单元1006,更新单元1006用于对存储单元1004存储的内容目录表进行更新。具体地,当在统计周期内,某个互联网内容(如互联网内容W)被访问的次数大于一定阈值时,互联网内容W可以从第二基站迁移到第一基站中,即,从第二基站中删除并存储到第一基站中,相应地,更新单元1006用于对存储单元1004存储的内容目录表中的互联网内容W的存储信息进行更新。Further, the control server may further include an update unit 1006, and the update unit 1006 is configured to update the content directory table stored in the storage unit 1004. Specifically, when a certain Internet content (such as Internet content W) is accessed more than a certain threshold within a statistical period, the Internet content W can be migrated from the second base station to the first base station, that is, from the second base station delete and store in the first base station, and correspondingly, the update unit 1006 is configured to update the storage information of the Internet content W in the content directory table stored in the storage unit 1004 .

具体的流程比如:Specific procedures such as:

可选地,更新单元1006具体用于:当统计周期内,控制服务器检测到统计的第一基站发送查询请求消息的次数大于数目阈值时,对控制服务器存储的内容目录表进行更新。发送单元1003还可以用于:向第一基站发送迁入请求消息并向第二基站发送迁出请求消息。其中,迁入请求消息用于指示第一基站存储第一用户设备请求访问的互联网内容,以及迁出请求消息用于指示第二基站删除第二基站存储的第一用户设备请求访问的互联网内容。Optionally, the update unit 1006 is specifically configured to: update the content directory table stored in the control server when the control server detects that the counted number of query request messages sent by the first base station is greater than a threshold value within the statistical period. The sending unit 1003 may also be configured to: send a move-in request message to the first base station and send a move-out request message to the second base station. Wherein, the move-in request message is used to instruct the first base station to store the Internet content requested by the first user equipment, and the move-out request message is used to instruct the second base station to delete the Internet content stored by the second base station and requested to be accessed by the first user equipment.

需要说明的是,控制服务器存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括基站集合中的第二基站)存储的互联网内容的标识与相应的存储地址。控制服务器可以由基站集合中的多个基站共享,也就是说,基站集合中的其它基站也可以执行上述第一基站(或上述第二基站)的实施方式。控制服务器存储的目录表可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,内容目录表用于控制服务器根据基站发送的查询请求消息定位第一用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the control server may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations in the base station set (including the second base station in the base station set). The control server may be shared by multiple base stations in the base station set, that is to say, other base stations in the base station set may also implement the implementation manner of the first base station (or the second base station). The directory table stored by the control server may be a global content directory table, which records the identifier and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention. The content directory table is used to control the server to locate the storage location of the Internet content requested by the first user equipment according to the query request message sent by the base station.

可选地,当查询单元1002在从内容目录表中未查询到的第一用户设备请求访问的互联网内容存储在基站集合的任一个基站中时,发送单元1003可以向第一基站发送未查询到的查询响应消息或者不动作。Optionally, when the query unit 1002 requests to access the Internet content requested by the first user equipment not found in the content directory table is stored in any base station in the base station set, the sending unit 1003 may send the not found Internet content to the first base station. Query response message or no action.

通过上述方案,控制服务器可以定位请求访问的互联网内容的存储位置实现多个基站共享各自存储的互联网内容,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的第一用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above solution, the control server can locate the storage location of the Internet content requested to be accessed, so that multiple base stations can share their respective stored Internet content, improve the storage utilization rate, and increase the access hit rate of the Internet content stored by the base station without obtaining from the Internet network Only the first user equipment that is not stored in the local base station requests to access Internet content, thereby effectively saving transmission overhead and reducing delay time.

本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。图11示出了一种设备的实施例,在该实施例中,设备1100包括处理器1101,存储器1102,发送器1103和接收器1104。处理器1101控制设备1100的操作,处理器1101还可以称为CPU(Central Processing Unit,中央处理单元)。存储器1102可以包括只读存储器和随机存取存储器,并向处理器1101提供指令和数据。存储器1102的一部分还可以包括非易失性随机存取存储器(NVRAM)。处理器1101,存储器1102,发送器1103和接收器1104通过总线系统1111耦合在一起,其中总线系统1111除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图中将各种总线都标为总线系统1111。Embodiments of the present invention further provide device embodiments for implementing the steps and methods in the above method embodiments. FIG. 11 shows an embodiment of a device. In this embodiment, a device 1100 includes a processor 1101 , a memory 1102 , a transmitter 1103 and a receiver 1104 . The processor 1101 controls operations of the device 1100, and the processor 1101 may also be called a CPU (Central Processing Unit, central processing unit). The memory 1102 may include read-only memory and random-access memory, and provides instructions and data to the processor 1101 . A portion of memory 1102 may also include non-volatile random access memory (NVRAM). The processor 1101, the memory 1102, the transmitter 1103 and the receiver 1104 are coupled together through a bus system 1111, wherein the bus system 1111 includes a power bus, a control bus and a status signal bus in addition to a data bus. However, for clarity of illustration, the various buses are labeled as bus system 1111 in the figure.

上述本发明实施例揭示的方法可以应用上述的设备1100。其中,处理器1101可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1101中的硬件的集成逻辑电路或者软件形式的指令完成。The method disclosed in the foregoing embodiments of the present invention may be applied to the foregoing device 1100 . Wherein, the processor 1101 may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 1101 or instructions in the form of software.

图12是本发明一个实施例的第一基站的结构框图。第一基站1200包括发送器1201和接收器1202。Fig. 12 is a structural block diagram of a first base station according to an embodiment of the present invention. The first base station 1200 includes a transmitter 1201 and a receiver 1202 .

发送器1201,用于在第一用户设备请求访问的互联网内容存储在第二基站的情况下,向所述第二基站发送第一访问请求消息,第一访问请求消息用于请求第二基站发送第一用户设备请求访问的互联网内容,第一基站与第二基站不同。The transmitter 1201 is configured to send a first access request message to the second base station when the Internet content requested by the first user equipment to be accessed is stored in the second base station, and the first access request message is used to request the second base station to send The Internet content requested by the first user equipment to be accessed is different from the first base station to the second base station.

接收器1202,用于接收第二基站发送的第一用户设备请求访问的互联网内容,第一用户设备请求访问的互联网内容是第二基站根据发送器1201发送的第一访问请求消息获取的。The receiver 1202 is configured to receive the Internet content requested by the first user equipment to be accessed sent by the second base station, and the Internet content requested by the first user equipment to be accessed is obtained by the second base station according to the first access request message sent by the transmitter 1201 .

其中,该第一用户设备的服务小区所归属的基站为第一基站,服务该第一用户设备向第一基站发送互联网内容的访问请求消息,第一用户设备请求访问的互联网内容是由第一基站发送给该第一用户设备的。其中,该第一用户设备的服务小区所归属的基站可以称为该第一用户设备的服务基站。某个用户设备的服务基站是指负责该用户设备和网络侧之间的无线资源控制RRC连接的基站。而在该服务基站下,至少有一个小区。该用户设备所被该服务基站覆盖的小区称为服务小区。Wherein, the base station to which the serving cell of the first user equipment belongs is the first base station, and the first base station serving the first user equipment sends an Internet content access request message to the first base station, and the Internet content requested by the first user equipment is provided by the first sent by the base station to the first user equipment. Wherein, the base station to which the serving cell of the first user equipment belongs may be referred to as the serving base station of the first user equipment. The serving base station of a certain user equipment refers to the base station responsible for the radio resource control RRC connection between the user equipment and the network side. Under the serving base station, there is at least one cell. The cell covered by the serving base station for the user equipment is called a serving cell.

可选地,互联网内容是表示第二基站从互联网中获取的文件,包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content refers to files obtained by the second base station from the Internet, including but not limited to files such as video, audio, webpage multimedia, or text, which is not limited in this embodiment of the present invention.

本发明实施例第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下,从该第二基站获取第一用户设备请求访问的互联网内容发送给第一用户设备,实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In the embodiment of the present invention, when the Internet content requested by the first user equipment is stored in the second base station, the first base station obtains the Internet content requested by the first user equipment from the second base station and sends it to the first user equipment, realizing multiple The base stations share the Internet content stored in each. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

第一基站1200可实现图1至图7的方法中涉及第一基站的各个步骤,为避免重复,不再详细描述。The first base station 1200 may implement various steps related to the first base station in the methods in FIG. 1 to FIG. 7 , which will not be described in detail to avoid repetition.

可选地,作为一个实施例,第一基站1200还可以包括处理器1203和存储器1204。存储器1204用于存储内容目录表;处理器1203用于根据存储器1204存储的内容目录表确定第一用户设备请求访问的互联网内容存储在第二基站中。进一步地,接收器1202还可以用于:接收第二基站发送的第二基站存储的互联网内容的标识。处理器1203还可以用于将接收器1202接收的第二基站存储的互联网内容的标识和存储地址记录在内容目录表中。Optionally, as an embodiment, the first base station 1200 may further include a processor 1203 and a memory 1204. The memory 1204 is configured to store a content directory table; the processor 1203 is configured to determine, according to the content directory table stored in the memory 1204, that the Internet content requested by the first user equipment is stored in the second base station. Further, the receiver 1202 may also be configured to: receive the identifier of the Internet content stored in the second base station sent by the second base station. The processor 1203 may also be configured to record the identifier and storage address of the Internet content stored by the second base station received by the receiver 1202 in the content directory table.

可选地,当接收器1202接收到第一用户设备发送的访问互联网内容的请求消息时,在处理器1203根据存储器1204存储的内容目录表确定第一用户设备请求访问的互联网内容存储在第二基站中,发送器1201向第二基站发送上述第一访问请求消息。Optionally, when the receiver 1202 receives a request message for accessing Internet content sent by the first user equipment, the processor 1203 determines according to the content directory table stored in the memory 1204 that the Internet content requested by the first user equipment is stored in the second In the base station, the transmitter 1201 sends the first access request message to the second base station.

需要说明的是,第一基站存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括第二基站)存储的互联网内容的标识与相应的存储地址;第一基站存储的内容目录表也可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,内容目录表用于基站定位第一用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the first base station may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations (including the second base station) in the base station set; The content directory table may also be a global content directory table, which records the identification and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention, and the content directory table is used by the base station to locate the storage location of the Internet content requested to be accessed by the first user equipment.

可选地,作为另一个实施例,发送器1201还可以用于:向控制服务器发送查询请求消息,可选地,在第一基站未存储第一用户设备请求访问的互联网内容的情况下,向控制服务器发送该查询请求消息,查询请求消息用于请求控制服务器从所述控制服务器存储的内容目录表中查询所述第一用户设备请求访问的互联网内容的存储地址。接收器1202还可以用于:接收控制服务器发送的查询响应消息,查询响应消息携带控制服务器查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息。处理器1203还用于根据接收器1202接收的查询响应消息确定第一用户设备请求访问的互联网内容存储在第二基站中。其中,内容目录表包括第二基站存储的互联网内容的标识和存储地址。Optionally, as another embodiment, the sender 1201 may also be configured to: send a query request message to the control server, and optionally, when the first base station does not store the Internet content that the first user equipment requests to access, send The control server sends the query request message, where the query request message is used to request the control server to query the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server. The receiver 1202 may also be configured to: receive a query response message sent by the control server, where the query response message carries information that the control server inquires that the Internet content requested to be accessed by the first user equipment is stored in the second base station. The processor 1203 is further configured to determine, according to the query response message received by the receiver 1202, that the Internet content requested to be accessed by the first user equipment is stored in the second base station. Wherein, the content directory table includes identifiers and storage addresses of Internet content stored by the second base station.

在本发明实施例中,控制服务器可以是逻辑上的,控制服务器的功能可以由某个基站来实现,也可以是部署在除基站外的其它设备中,当然,控制服务器还可以是独立的设备,本发明实施例对此并不限定。In the embodiment of the present invention, the control server can be logical, and the function of the control server can be implemented by a certain base station, or it can be deployed in other devices except the base station. Of course, the control server can also be an independent device , which is not limited in this embodiment of the present invention.

可选地,作为另一个实施例,在存储器1204未存储第一用户设备请求访问的互联网内容的情况下,向控制服务器发送上述查询请求消息。Optionally, as another embodiment, when the memory 1204 does not store the Internet content requested to be accessed by the first user equipment, the above query request message is sent to the control server.

可选地,存储器1204还可以用于存储第一用户设备请求访问的互联网内容。具体地,存储器1204用于在一定时间内,第一用户设备请求访问的互联网内容被请求访问的次数大于一定阈值时,存储该互联网内容。当然,存储该互联网内容也可以是应某控制网元的控制指示。这里,第一用户设备请求访问的互联网内容被请求访问的次数可以是该互联网内容被第一基站提供服务的所有用户设备请求该互联网内容的次数的总和。可选地,在存储器1204用于存储第一用户设备请求访问的互联网内容之前,接收器1202还可以用于:接收第二基站发送的迁移请求消息,迁移请求消息用于指示存储器1204存储第一用户设备请求访问的互联网内容;或者,接收器12022还可以用于:接收控制服务器发送的迁入请求消息,迁入请求消息用于指示存储器1204存储第一用户设备请求访问的互联网内容。Optionally, the storage 1204 may also be used to store Internet content requested to be accessed by the first user equipment. Specifically, the memory 1204 is configured to store the Internet content requested by the first user equipment when the number of times the Internet content requested to be accessed by the first user equipment is greater than a certain threshold within a certain period of time. Certainly, storing the Internet content may also be in response to a control instruction of a certain control network element. Here, the number of times the Internet content requested to be accessed by the first user equipment may be the sum of the number of times the Internet content is requested by all user equipments served by the first base station. Optionally, before the memory 1204 is used to store the Internet content requested to be accessed by the first user equipment, the receiver 1202 may also be used to: receive a migration request message sent by the second base station, where the migration request message is used to instruct the memory 1204 to store the first The Internet content that the user equipment requests to access; or, the receiver 12022 may also be configured to: receive a migration request message sent by the control server, where the migration request message is used to instruct the memory 1204 to store the Internet content that the first user equipment requests to access.

当然,也可以由处理器1203统计第一基站下的用户设备发起访问互联网内容W的请求次数,当在该统计周期内,处理器1203检测到统计的第一基站下的用户设备发起访问互联网内容W的请求次数大于一定数目阈值时,发送器1201可以向第二基站发送迁移请求消息,将互联网内容W存储在本地基站中。而第二基站接收到第一基站发送的迁移请求消息后,删除存储的互联网内容W。Of course, the processor 1203 may also count the number of requests for accessing the Internet content W initiated by the user equipment under the first base station. When the number of requests for W is greater than a certain number threshold, the sender 1201 may send a relocation request message to the second base station, and store the Internet content W in the local base station. After receiving the relocation request message sent by the first base station, the second base station deletes the stored Internet content W.

应理解,第一基站可以不存储任何互联网内容,仅在存储器1204中存储内容目录表,本发明实施例对此并不限定。It should be understood that the first base station may not store any Internet content, but only store a content directory table in the memory 1204, which is not limited in this embodiment of the present invention.

可选地,作为另一个实施例,接收器1202还用于:接收第二基站发送的第二访问请求消息,第二访问请求消息用于请求发送器1201发送第二用户设备请求访问的互联网内容。发送器1201还用于:根据接收器1202接收的第二访问请求消息在存储器1204存储的第二用户设备请求访问的互联网内容发送给第二基站。Optionally, as another embodiment, the receiver 1202 is further configured to: receive a second access request message sent by the second base station, where the second access request message is used to request the transmitter 1201 to send the Internet content that the second user equipment requests to access . The transmitter 1201 is further configured to: transmit the Internet content requested to be accessed by the second user equipment stored in the memory 1204 according to the second access request message received by the receiver 1202 to the second base station.

可选地,作为另一个实施例,发送器1201还用于:在第一用户设备请求访问的互联网内容存储在存储器1204情况下,从第一基站获取第一用户设备请求访问的互联网内容发送给第一用户设备。或者,发送器1201还用于:在第一用户设备请求访问的互联网内容未存储在至少两个基站的任一基站中的情况下,则从互联网网络中获取第一用户设备请求访问的互联网内容发送给第一用户设备,至少两个基站包括第一基站和第二基站,至少两个基站中任两个基站通过交换机或路由器连接。Optionally, as another embodiment, the transmitter 1201 is further configured to: obtain the Internet content requested by the first user equipment from the first base station and send it to A first user equipment. Alternatively, the transmitter 1201 is further configured to: if the Internet content requested by the first user equipment is not stored in any base station of the at least two base stations, obtain the Internet content requested by the first user equipment from the Internet network For sending to the first user equipment, the at least two base stations include a first base station and a second base station, and any two base stations in the at least two base stations are connected through a switch or a router.

通过上述方案,服务小区的基站为第一基站的第一用户设备请求访问互联网内容时,在请求访问的互联网内容存储在基站集合的其它基站时,第一基站可以定位请求访问的互联网内容的存储位置,从而可以利用其它基站的存储空间,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的第一用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above scheme, when the base station of the serving cell requests for the first user equipment of the first base station to access Internet content, when the requested Internet content is stored in other base stations in the base station set, the first base station can locate the storage of the requested Internet content location, so that the storage space of other base stations can be utilized, the utilization rate of storage can be improved, and the access hit rate of the Internet content stored in the base station can be increased, and there is no need to obtain from the Internet network the first user equipment that is not stored in the local base station to request access to the Internet content. Thereby effectively saving transmission overhead and reducing delay time.

图13是本发明一个实施例的第二基站的结构框图。第二基站1300包括接收器1301、处理器1302、发送器1303和存储器1304。Fig. 13 is a structural block diagram of a second base station according to an embodiment of the present invention. The second base station 1300 includes a receiver 1301 , a processor 1302 , a transmitter 1303 and a memory 1304 .

接收器1301,用于接收第一基站在第一用户设备请求访问的互联网内容存储在第二基站的情况下发送的访问请求消息,第一访问请求消息用于请求第二基站发送第一用户设备请求访问的互联网内容,第一基站和第二基站不同。The receiver 1301 is configured to receive an access request message sent by the first base station when the Internet content requested by the first user equipment is stored in the second base station, and the first access request message is used to request the second base station to send the first user equipment Internet content requested for access is different between the first base station and the second base station.

处理器1302,用于根据接收器1301接收的第一访问请求消息获取存储器1304存储的第一用户设备请求访问的互联网内容。The processor 1302 is configured to acquire, according to the first access request message received by the receiver 1301 , the Internet content stored in the memory 1304 that is requested to be accessed by the first user equipment.

发送器1303,用于将处理器1302获取的第一用户设备请求访问的互联网内容给第一基站。The transmitter 1303 is configured to send, to the first base station, the Internet content acquired by the processor 1302 and requested to be accessed by the first user equipment.

可选地,互联网内容是表示第二基站从互联网中获取的文件,包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content refers to files obtained by the second base station from the Internet, including but not limited to files such as video, audio, webpage multimedia, or text, which is not limited in this embodiment of the present invention.

本发明实施例第二基站接收到第一基站发送的访问请求消息,获取第二基站存储的第一用户设备请求访问的互联网内容发送给第一基站,使得第一基站可以利用第二基站的存储空间,实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In the embodiment of the present invention, the second base station receives the access request message sent by the first base station, obtains the Internet content requested by the first user equipment stored in the second base station, and sends it to the first base station, so that the first base station can use the storage of the second base station. space, enabling multiple base stations to share their respective stored Internet content. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

第二基站1300可实现图1至图7的方法中涉及第二基站的各个步骤,为避免重复,不再详细描述。The second base station 1300 may implement various steps related to the second base station in the methods in FIG. 1 to FIG. 7 , which will not be described in detail to avoid repetition.

可选地,作为一个实施例,发送器1303还用于:向第一基站或控制服务器发送存储器1304存储的互联网内容的标识和存储地址,存储器1304存储的互联网内容包括第一用户设备请求访问的互联网内容。Optionally, as an embodiment, the sender 1303 is further configured to: send the identification and storage address of the Internet content stored in the memory 1304 to the first base station or the control server, and the Internet content stored in the memory 1304 includes the Internet content requested by the first user equipment to access internet content.

可选地,作为另一个实施例,处理器1302还用于删除存储器1304存储的第一用户设备请求访问的互联网内容。具体地,处理器1302用于:当在统计周期内,某个互联网内容(如互联网内容W)被访问的次数大于一定阈值时,删除存储器1304存储的互联网内容W,即互联网内容W可以从第二基站迁移到第一基站中。Optionally, as another embodiment, the processor 1302 is further configured to delete the Internet content stored in the memory 1304 and requested to be accessed by the first user equipment. Specifically, the processor 1302 is configured to: delete the Internet content W stored in the memory 1304 when the number of accesses to a certain Internet content (such as Internet content W) is greater than a certain threshold within a statistical period, that is, the Internet content W can be accessed from the first The second base station migrates to the first base station.

可选地,在处理器1302用于删除存储器1304存储的第一用户设备请求访问的互联网内容之前,接收器1301还可以用于:接收控制服务器发送的迁出请求消息,迁出请求消息用于指示处理器1302删除存储器1304存储的第一用户设备请求访问的互联网内容。Optionally, before the processor 1302 is used to delete the Internet content stored in the memory 1304 and requested to be accessed by the first user equipment, the receiver 1301 may also be used to: receive a move-out request message sent by the control server, the move-out request message is used to The processor 1302 is instructed to delete the Internet content stored in the memory 1304 and requested to be accessed by the first user equipment.

或者,当在统计周期内,第二基站检测到统计的第一基站发送第一访问请求消息的次数大于数目阈值时,处理器1302具体用于:当在统计周期内,检测到统计的第一基站发送第一访问请求消息的次数大于数目阈值时,删除存储器1304存储的第一用户设备请求访问的互联网内容;发送器1303还可以用于:向第一基站发送迁移请求消息,迁移请求消息用于指示第一基站存储第一用户设备请求访问的互联网内容。这里,第一用户设备请求访问的互联网内容被请求访问的次数可以是该互联网内容被第一基站提供服务的所有用户设备请求该互联网内容的次数的总和。Or, when within the statistical period, when the second base station detects that the counted number of times the first base station sends the first access request message is greater than the number threshold, the processor 1302 is specifically configured to: when within the statistical period, detect that the counted first access request message When the number of times the base station sends the first access request message is greater than the number threshold, delete the Internet content that the first user equipment requests to access stored in the memory 1304; The method is to instruct the first base station to store the Internet content requested to be accessed by the first user equipment. Here, the number of times the Internet content requested to be accessed by the first user equipment may be the sum of the number of times the Internet content is requested by all user equipments served by the first base station.

当然,当由第一基站统计第一基站下的用户设备请求访问互联网内容W的次数时,第一基站检测到统计的第一基站下的用户设备请求访问互联网内容的W次数大于数目阈值时,接收器1301也可以接收第一基站发送的迁移请求消息,处理器1302具体用于:删除存储器1304存储的互联网内容W。Of course, when the first base station counts the number of times the user equipment under the first base station requests to access the Internet content W, and the first base station detects that the counted W times of the user equipment under the first base station requesting to access the Internet content is greater than the number threshold, The receiver 1301 may also receive a relocation request message sent by the first base station, and the processor 1302 is specifically configured to: delete the Internet content W stored in the memory 1304 .

因此,通过基站存储的互联网内容为该基站下的用户设备请求访问次数较多的,能够有效地减少基站间的访问开销,减少时延。Therefore, the Internet content stored by the base station is requested by the user equipment under the base station for a large number of visits, which can effectively reduce the access overhead between base stations and reduce the time delay.

当然,第二基站也可以作为第一基站的角色,具体的实施方式可参考上述实施例,此处不再赘述。Of course, the second base station may also play the role of the first base station. For specific implementation manners, reference may be made to the foregoing embodiments, and details are not repeated here.

图14是本发明一个实施例的控制服务器的结构框图。控制服务器1400包括接收器1401、处理器1402和发送器1403和存储器1404。Fig. 14 is a structural block diagram of a control server according to an embodiment of the present invention. The control server 1400 includes a receiver 1401 , a processor 1402 and a transmitter 1403 and a memory 1404 .

接收器1401,用于接收第一基站发送的查询请求消息,查询请求消息用于请求控制服务器从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址。The receiver 1401 is configured to receive a query request message sent by the first base station, where the query request message is used to request the control server to query the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server.

处理器1402,用于根据接收器1401接收的查询请求从存储器1404存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址;The processor 1402 is configured to query the storage address of the Internet content requested to be accessed by the first user equipment from the content directory table stored in the memory 1404 according to the query request received by the receiver 1401;

发送器1403,用于向第一基站发送查询响应消息,查询响应消息携带处理器1402查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息,以便第一基站根据查询响应消息确定第一用户设备请求访问的互联网内容存储在第二基站中,第一基站与第二基站不同。The sender 1403 is configured to send a query response message to the first base station, where the query response message carries the information that the processor 1402 inquires about the Internet content that the first user equipment requests to access and is stored in the second base station, so that the first base station can send information according to the query response message. It is determined that the Internet content requested by the first user equipment is stored in the second base station, and the first base station is different from the second base station.

可选地,互联网内容是表示第二基站从互联网中获取的文件,包括但不限于视频、音频、网页多媒体或文本等文件,本发明实施例对此不作限定。Optionally, the Internet content refers to files obtained by the second base station from the Internet, including but not limited to files such as video, audio, webpage multimedia, or text, which is not limited in this embodiment of the present invention.

在本发明实施例中,控制服务器可以是逻辑上的,控制服务器的功能可以由某个基站来实现,也可以是部署在除基站外的其它设备中,当然,控制服务器还可以是独立的设备,本发明实施例对此并不限定。In the embodiment of the present invention, the control server can be logical, and the function of the control server can be implemented by a certain base station, or it can be deployed in other devices except the base station. Of course, the control server can also be an independent device , which is not limited in this embodiment of the present invention.

本发明实施例控制服务器接收到第一基站发送的查询请求消息从控制服务器存储的内容目录表中查询第一用户设备请求访问的互联网内容的存储地址,将查询到的第一用户设备请求访问的互联网内容存储在第二基站的信息发送给第一基站,使得第一基站确定第一用户设备请求访问的互联网内容存储在第二基站中。因此,通过控制服务器实现多个基站共享各自存储的互联网内容。由于多个基站存储的容量比单个基站存储的要大,能够增加基站存储的互联网内容的访问命中率,提高存储的利用率,从而有效地节省传输开销以及减少延迟时间。In this embodiment of the present invention, the control server receives the query request message sent by the first base station and queries the storage address of the Internet content that the first user equipment requests to access from the content directory table stored in the control server, and sends the queried address of the Internet content that the first user equipment requests to access. The information that the Internet content is stored in the second base station is sent to the first base station, so that the first base station determines that the Internet content requested to be accessed by the first user equipment is stored in the second base station. Therefore, multiple base stations share the Internet content stored separately through the control server. Since the storage capacity of multiple base stations is larger than that of a single base station, the access hit rate of Internet content stored in the base station can be increased, and the utilization rate of storage can be improved, thereby effectively saving transmission overhead and reducing delay time.

控制服务器1400可实现图1至图7的方法中涉及控制服务器的各个步骤,为避免重复,不再详细描述。The control server 1400 can implement various steps related to the control server in the methods in FIGS. 1 to 7 , which are not described in detail to avoid repetition.

可选地,作为一个实施例,接收器1401还可以用于:接收第二基站发送的第二基站存储的互联网内容的标识和互联网内容的存储地址(如第二基站的标识或第二基站的IP地址),第二基站存储的互联网内容包括第一用户设备请求访问的互联网内容。处理器1402还可以用于将接收器1401接收的第二基站存储的互联网内容的标识和存储地址记录在内容目录表中。Optionally, as an embodiment, the receiver 1401 may also be configured to: receive the identifier of the Internet content stored by the second base station and the storage address of the Internet content sent by the second base station (such as the identifier of the second base station or the address of the second base station IP address), the Internet content stored by the second base station includes the Internet content requested by the first user equipment to access. The processor 1402 may also be configured to record the identifier and storage address of the Internet content stored by the second base station received by the receiver 1401 in the content directory table.

进一步地,处理器1402还可以用于对存储器1404存储的内容目录表进行更新。具体地,当在统计周期内,某个互联网内容(如互联网内容W)被访问的次数大于一定阈值时,互联网内容W可以从第二基站迁移到第一基站中,即,从第二基站中删除并存储到第一基站中,相应地,处理器1402用于对存储器1404存储的内容目录表中的互联网内容W的存储信息进行更新。Further, the processor 1402 may also be configured to update the content directory table stored in the memory 1404 . Specifically, when a certain Internet content (such as Internet content W) is accessed more than a certain threshold within a statistical period, the Internet content W can be migrated from the second base station to the first base station, that is, from the second base station Delete and store in the first base station, and correspondingly, the processor 1402 is configured to update the storage information of the Internet content W in the content directory table stored in the memory 1404 .

可选地,处理器1402具体用于:当统计周期内,控制服务器检测到统计的第一基站发送查询请求消息的次数大于数目阈值时,对控制服务器存储的内容目录表进行更新。发送器1403还可以用于:向第一基站发送迁入请求消息并向第二基站发送迁出请求消息。其中,迁入请求消息用于指示第一基站存储第一用户设备请求访问的互联网内容,以及迁出请求消息用于指示第二基站删除第二基站存储的第一用户设备请求访问的互联网内容。Optionally, the processor 1402 is specifically configured to: update the content directory table stored in the control server when the control server detects that the counted number of query request messages sent by the first base station is greater than a threshold value within the statistical period. The transmitter 1403 may also be configured to: send a move-in request message to the first base station and send a move-out request message to the second base station. Wherein, the move-in request message is used to instruct the first base station to store the Internet content requested by the first user equipment, and the move-out request message is used to instruct the second base station to delete the Internet content stored by the second base station and requested to be accessed by the first user equipment.

需要说明的是,控制服务器存储的内容目录表可以是局部的内容目录表,记录基站集合中部分基站(包括基站集合中的第二基站)存储的互联网内容的标识与相应的存储地址。控制服务器可以由基站集合中的多个基站共享,也就是说,基站集合中的其它基站也可以执行上述第一基站(或上述第二基站)的实施方式。控制服务器存储的目录表也可以是全局的内容目录表,记录了基站集合中每个基站存储的互联网内容的标识与相应的存储地址。内容目录表的记录形式本发明实施例不作限定,内容目录表用于控制服务器根据基站发送的查询请求消息定位第一用户设备请求访问的互联网内容的存储位置。It should be noted that the content directory table stored by the control server may be a partial content directory table, which records the identifiers and corresponding storage addresses of Internet content stored by some base stations in the base station set (including the second base station in the base station set). The control server may be shared by multiple base stations in the base station set, that is to say, other base stations in the base station set may also implement the implementation manner of the first base station (or the second base station). The directory table stored by the control server may also be a global content directory table, which records the identifier and corresponding storage address of the Internet content stored by each base station in the base station set. The recording form of the content directory table is not limited in the embodiment of the present invention. The content directory table is used to control the server to locate the storage location of the Internet content requested by the first user equipment according to the query request message sent by the base station.

可选地,当处理器1402在从内容目录表中未查询到的第一用户设备请求访问的互联网内容存储在基站集合的任一个基站中时,发送器1403可以向第一基站发送未查询到的查询响应消息或者不动作。Optionally, when the Internet content requested by the processor 1402 from the first user equipment not found in the content directory table is stored in any base station in the base station set, the sender 1403 may send the not found Query response message or no action.

通过上述方案,控制服务器可以定位请求访问的互联网内容的存储位置实现多个基站共享各自存储的互联网内容,提高存储的利用率,增加基站存储的互联网内容的访问命中率,无需从互联网网络中获取只是未存储在本地基站的第一用户设备请求访问互联网内容,从而有效地节省传输开销以及减少延迟时间。Through the above solution, the control server can locate the storage location of the Internet content requested to be accessed, so that multiple base stations can share their respective stored Internet content, improve the storage utilization rate, and increase the access hit rate of the Internet content stored by the base station without obtaining from the Internet network Only the first user equipment that is not stored in the local base station requests to access Internet content, thereby effectively saving transmission overhead and reducing delay time.

根据本发明实施例的一个通信系统可包括上述第一基站80/1200或上述第二基站90/1300。A communication system according to an embodiment of the present invention may include the above-mentioned first base station 80/1200 or the above-mentioned second base station 90/1300.

根据本发明实施例的另一个通信系统可包括上述第一基站80/1200或上述第二基站90/1300或上述控制服务器1000/1400。Another communication system according to an embodiment of the present invention may include the above-mentioned first base station 80/1200 or the above-mentioned second base station 90/1300 or the above-mentioned control server 1000/1400.

可以理解的是,本发明以上实施例之间可以相互参考借鉴。It can be understood that the above embodiments of the present invention can refer to each other for reference.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信路径可以是通过一些接口,装置或单元的间接耦合或通信路径,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication paths shown or discussed may be through some interfaces, and the indirect coupling or communication paths of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (30)

1. an internet content storage means, is characterized in that, comprises
The first base station is in the situation that the internet content of first user device request access is stored in the second base station, to described the second base station, send the first access request message, described the first access request message is for asking described the second base station to send the internet content of described first user device request access, and wherein said the first base station is different from described the second base station;
Described the first base station receives described the second base station according to the internet content of the described first user device request access of described the first access request message transmission.
2. the method for claim 1, is characterized in that, described to described the second base station, send the first access request message before, described method also comprises:
The internet content of determining the access of first user device request according to the contents directory table of described the first base station stored is stored in described the second base station.
3. method as claimed in claim 2, is characterized in that, before the described contents directory table according to described the first base station is determined during the internet content of first user device request access is stored in described the second base station, described method also comprises:
Described the first base station receives sign and the memory address of the internet content of the described first user device request access that described the second base station sends;
Described the first base station is recorded in sign and the memory address of the internet content of described first user device request access in described contents directory table.
4. the method for claim 1, is characterized in that, described to described the second base station, send the first access request message before, described method also comprises:
Described the first base station sends inquiry request message to Control Server, and described inquiry request message is inquired about the memory address of the internet content of described first user device request access from the contents directory table of described Control Server storage for Request Control server;
Described the first base station receives the query response message that described Control Server sends, and the internet content that described query response message carries the described first user device request access that described Control Server inquires is stored in the information of described the second base station;
Described the first base station determines that according to described query response message the internet content of described first user device request access is stored in described the second base station;
Wherein, described contents directory table comprises sign and the memory address of the internet content of described the second base station stored.
5. the method as described in claim 1-4 any one, is characterized in that, described method also comprises:
The internet content of first user device request access described in described the first base station stored.
6. method as claimed in claim 5, is characterized in that, before the internet content of first user device request access described in described the first base station stored, described method also comprises:
Described the first base station receives the migration request message that described the second base station sends, and described migration request message is used to indicate the internet content of first user device request access described in described the first base station stored; Or
Described the first base station receives the request message of moving into that described Control Server sends, described in the request message of moving into be used to indicate the internet content of first user device request access described in described the first base station stored.
7. the method as described in claim 1-6 any one, is characterized in that, described method also comprises:
Described the first base station receives the second access request message that the second base station sends, and described the second access request message is for asking described the first base station to send the internet content of the second user equipment requests access;
Described the first base station sends to described the second base station according to described the second access request message by the internet content of described the second user equipment requests access.
8. the method as described in claim 1-7 any one, is characterized in that, described method also comprises:
The first base station is stored in described the first base station situation at the internet content of first user device request access, and the internet content that obtains described first user device request access from described the first base station sends to described first user equipment; Or
The first base station in the situation that the internet content of first user device request access be not stored in arbitrary base station of at least two base stations, the internet content that obtains described first user device request access from Internet sends to described first user equipment, described at least two base stations comprise described the first base station and described the second base station, and in described at least two base stations, any two base stations connect by switch or router.
9. an internet content storage means, is characterized in that, comprising:
The second base station receives the first base station in the situation that the internet content of first user device request access is stored in the first access request message that the second base station sends, described the first access request message is for asking described the second base station to send the internet content of described first user device request access, and wherein said the first base station is different from described the second base station;
The internet content that described the second base station obtains described first user device request access according to described the first access request message sends to described the first base station.
10. method as claimed in claim 9, it is characterized in that, in described the second base station, receive the first base station in the situation that before the internet content of first user device request access is stored in the first access request message that the second base station sends, described method also comprises:
Described the second base station to described the first base station or Control Server send sign and the memory address of the internet content of described first user device request access.
11. methods as described in claim 9 or 10, is characterized in that, described method also comprises:
The internet content of the described first user device request access of described the second base station stored is deleted in described the second base station.
12. methods as claimed in claim 11, is characterized in that, delete the internet content of described first user device request access of described the second base station stored in described the second base station before, described method also comprises:
When in measurement period, when the number of times that the first base station that the second base station detects statistics sends described the first access request message is greater than number threshold value, described the second base station sends migration request message to described the first base station, and described migration request message is used to indicate the internet content of first user device request access described in described the first base station stored; Or
Described the second base station receives the request message of moving out that described Control Server sends, described in the request message of moving out be used to indicate the internet content that the described first user device request access of described the second base station stored is deleted in described the second base station.
13. 1 kinds of internet content storage meanss, is characterized in that, comprising:
Control Server receives the inquiry request message that the first base station sends, and described inquiry request message is for asking described Control Server to inquire about the memory address of the internet content of described first user device request access from the contents directory table of described Control Server storage;
Described Control Server is inquired about the memory address of the internet content of described first user device request access from the contents directory table of described Control Server storage according to described inquiry request message;
Described Control Server sends query response message to described the first base station, the internet content that described query response message carries the described first user device request access that described Control Server inquires is stored in the information of the second base station, so that described the first base station determines that according to described query response message the internet content of described first user device request access is stored in described the second base station, wherein said the first base station is different from described the second base station.
14. methods as claimed in claim 13, is characterized in that, receive the inquiry request message of the first base station transmission at described Control Server before, described method also comprises:
Described Control Server receives the sign of the internet content of the described first user device request access that described the second base station sends;
Described Control Server by the access of described first user device request sign and the memory address of internet content be recorded in described contents directory table.
15. methods as claimed in claim 14, is characterized in that, described method also comprises:
In measurement period, when the number of times that the first base station that Control Server detects statistics sends described inquiry request message is greater than number threshold value, described Control Server sends to described the first base station moves into request message and sends to described the second base station the request message of moving out, and described Control Server upgrades the contents directory table of described Control Server storage;
Wherein, the described request message of moving into is used to indicate the internet content of first user device request access described in described the first base station stored, and described in the request message of moving out be used to indicate the internet content that the described first user device request access of described the second base station stored is deleted in described the second base station.
16. 1 kinds of base stations, is characterized in that, described base station is the first base station, comprising:
Transmitting element, be used in the situation that the internet content of first user device request access is stored in the second base station, to described the second base station, send the first access request message, described the first access request message is for asking described the second base station to send the internet content of described first user device request access, and described the first base station is different from described the second base station;
Receiving element, for receiving described the second base station according to the internet content of the described first user device request access sending, the internet content of described first user device request access is that described the first access request message that described the second base station sends according to described transmitting element sends.
17. base stations as claimed in claim 16, is characterized in that, described base station also comprises the first determining unit and the first memory cell,
Described the first memory cell, for storing contents directory table;
Described the first determining unit, for determining that according to the contents directory table of described the first cell stores the internet content of described first user device request access is stored in described the second base station.
18. base stations as claimed in claim 17, is characterized in that,
Described receiving element is also for the sign and the memory address that receive the internet content of the described first user device request access that described the second base station sends;
Described the first determining unit also for: sign and the memory address of the internet content of the described first user device request access that described receiving element is received are recorded in described contents directory table.
19. base stations as claimed in claim 16, is characterized in that,
Described transmitting element also for: to Control Server, send inquiry request message, described inquiry request is inquired about the memory address of the internet content of described first user device request access from the contents directory table of described Control Server storage for Control Server;
Described receiving element also for: receive the query response message that described Control Server sends, the internet content that described query response message carries the described first user device request access that described Control Server inquires is stored in the information of described the second base station;
Described base station also comprises the second determining unit,
Described the second determining unit, determines that for the described query response message receiving according to described receiving element the internet content of described first user device request access is stored in described the second base station;
Wherein, described contents directory table comprises sign and the memory address of the internet content of described the second base station stored.
20. base stations as described in claim 16-19 any one, is characterized in that, described base station also comprises the second memory cell,
Described the second memory cell, for storing the internet content of described first user device request access.
21. base stations as claimed in claim 20, is characterized in that,
Described receiving element also for: receive the migration request message that described the second base station sends, described migration request message is used to indicate the internet content of first user device request access described in described the second cell stores; Or
Described receiving element also for: receive the request message of moving into that described Control Server sends, described in the request message of moving into be used to indicate the internet content of first user device request access described in described the second cell stores.
22. base stations as described in claim 16-21 any one, is characterized in that,
Described receiving element also for: receive the second access request message that the second base station sends, described the second access request message is for asking described the first base station to send the internet content of the second user equipment requests access;
Described transmitting element also for: according to described the second access request message, the internet content of described the second user equipment requests access is sent to described the second base station.
23. base stations as described in claim 16-22 any one, is characterized in that,
Described transmitting element also for: the internet content in first user device request access is stored in described the first base station situation, and the internet content that obtains described first user device request access from described the first base station sends to described first user equipment; Or
Described transmitting element also for: in the situation that the internet content of first user device request access is not stored in arbitrary base station of at least two base stations, the internet content that obtains described first user device request access from Internet sends to described first user equipment, described at least two base stations comprise described the first base station and described the second base station, and in described at least two base stations, any two base stations connect by switch or router.
24. 1 kinds of base stations, is characterized in that, described base station is the second base station, comprise receiving element, acquiring unit, memory cell and transmitting element,
Described receiving element, be used for receiving the first base station in the situation that the internet content of first user device request access is stored in the first access request message that the second base station sends, wherein said the first access request message is for asking described the second base station to send the internet content of described first user device request access, and described the first base station is different from described the second base station;
Described acquiring unit, obtains the internet content of the described first user device request access of described cell stores for described the first access request message receiving according to described receiving element;
Described transmitting element, the internet content of accessing for the described first user device request that described acquiring unit is obtained is to described the first base station.
25. base stations as claimed in claim 24, is characterized in that,
Described transmitting element also for: to described the first base station or Control Server send the sign of the internet content of described first user device request access.
26. base stations as described in claim 24 or 25, is characterized in that, described base station also comprises:
Delete cells, for deleting the internet content of the described first user device request access of described cell stores.
27. base stations as claimed in claim 26, is characterized in that,
Described delete cells specifically for: when in measurement period, when the number of times that the first base station that described the second base station detects statistics sends described the first access request message is greater than number threshold value, delete the internet content of the described first user device request access of described cell stores;
Described transmitting element also for: to described the first base station, send migration request message, described migration request message is used to indicate the internet content of first user device request access described in described the first base station stored;
Or
Described receiving element also for: receive the request message of moving out that described Control Server sends, described in the request message of moving out be used to indicate the internet content that described delete cells is deleted the described first user device request access of described cell stores.
28. 1 kinds of Control Servers, is characterized in that, comprise receiving element, query unit, memory cell and transmitting element,
Described receiving element, the inquiry request message sending for receiving the first base station, described inquiry request message is for asking described Control Server to inquire about the memory address of the internet content of described first user device request access from the contents directory table of described Control Server storage;
Described query unit, inquires about the memory address of the internet content of described first user device request access for the described inquiry request receiving according to described receiving element from the contents directory table of described cell stores;
Described transmitting element, for sending query response message to described the first base station, the internet content that described query response message carries the described first user device request access that described query unit inquires is stored in the information of the second base station, so that described the first base station determines that according to described query response message the internet content of described first user device request access is stored in described the second base station, described the first base station is different from described the second base station.
29. Control Servers as claimed in claim 28, is characterized in that,
Described receiving element is also for the sign and the memory address that receive the internet content of the described first user device request access that described the second base station sends;
Described Control Server also comprises record cell,
Described record cell, sign and the memory address of the internet content of accessing for the described first user device request that described receiving element is received are recorded in described contents directory table.
30. Control Servers as claimed in claim 29, is characterized in that, described Control Server also comprises:
Updating block, in the measurement period, when the number of times that the first base station that Control Server detects statistics sends described inquiry request message is greater than number threshold value, upgrades the contents directory table of described Control Server storage;
Described transmitting element also for: to described the first base station, send and move into request message and to send to described the second base station the request message of moving out;
Wherein, the described request message of moving into is used to indicate the internet content of first user device request access described in described the first base station stored, and described in the request message of moving out be used to indicate the internet content that the described first user device request access of described the second base station stored is deleted in described the second base station.
CN201380001860.0A 2013-08-13 2013-08-13 Internet content storage method and device Pending CN103703747A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/081346 WO2015021591A1 (en) 2013-08-13 2013-08-13 Storage method and device for internet content

Publications (1)

Publication Number Publication Date
CN103703747A true CN103703747A (en) 2014-04-02

Family

ID=50363933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380001860.0A Pending CN103703747A (en) 2013-08-13 2013-08-13 Internet content storage method and device

Country Status (2)

Country Link
CN (1) CN103703747A (en)
WO (1) WO2015021591A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506656A (en) * 2015-01-09 2015-04-08 中国联合网络通信集团有限公司 Method and system for placing content distribution network (CDN) node in mobile internet
CN105791229A (en) * 2014-12-22 2016-07-20 北京佰才邦技术有限公司 Content transmitting and providing methods and devices
WO2016169006A1 (en) * 2015-04-22 2016-10-27 Qualcomm Incorporated Caching content at the edge
CN106231607A (en) * 2016-09-21 2016-12-14 北京佰才邦技术有限公司 The method of a kind of resource distribution and base station
CN106358245A (en) * 2016-11-07 2017-01-25 北京佰才邦技术有限公司 Load sharing method of mobile edge computing application and controller
WO2017050097A1 (en) * 2015-09-22 2017-03-30 北京佰才邦技术有限公司 Data storage method, nonvolatile computer storage medium, electronic equipment, open capability entity, and base station
CN106658598A (en) * 2016-12-08 2017-05-10 南京邮电大学 Service migration method based on content caching and network state awareness
WO2018090335A1 (en) * 2016-11-18 2018-05-24 华为技术有限公司 Cache data requesting method and related device
CN108683725A (en) * 2018-05-11 2018-10-19 中国联合网络通信集团有限公司 Data processing method and data processing system
CN112218100A (en) * 2019-07-09 2021-01-12 阿里巴巴集团控股有限公司 Content distribution network, data processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1387643A (en) * 1999-09-01 2002-12-25 奈克斯特威电信公司 Distributed cache for wireless communication system
CN101291321A (en) * 2007-04-19 2008-10-22 华为技术有限公司 Method and system for posting content, method and system for finding content
CN101741731A (en) * 2009-12-03 2010-06-16 中兴通讯股份有限公司 Content metadata storing, inquiring method and managing system in content delivery network (CDN)
CN102143212A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Cache sharing method and device for content delivery network
CN102204324A (en) * 2011-04-27 2011-09-28 华为技术有限公司 Method and device for improving access speed of mobile Internet users
CN102857547A (en) * 2012-04-12 2013-01-02 华为技术有限公司 Distributed caching method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1387643A (en) * 1999-09-01 2002-12-25 奈克斯特威电信公司 Distributed cache for wireless communication system
CN101291321A (en) * 2007-04-19 2008-10-22 华为技术有限公司 Method and system for posting content, method and system for finding content
CN101741731A (en) * 2009-12-03 2010-06-16 中兴通讯股份有限公司 Content metadata storing, inquiring method and managing system in content delivery network (CDN)
CN102143212A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Cache sharing method and device for content delivery network
CN102204324A (en) * 2011-04-27 2011-09-28 华为技术有限公司 Method and device for improving access speed of mobile Internet users
CN102857547A (en) * 2012-04-12 2013-01-02 华为技术有限公司 Distributed caching method and device

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791229A (en) * 2014-12-22 2016-07-20 北京佰才邦技术有限公司 Content transmitting and providing methods and devices
CN104506656B (en) * 2015-01-09 2018-03-23 中国联合网络通信集团有限公司 A kind of method and system of the set content distribution network node in mobile Internet
CN104506656A (en) * 2015-01-09 2015-04-08 中国联合网络通信集团有限公司 Method and system for placing content distribution network (CDN) node in mobile internet
WO2016169006A1 (en) * 2015-04-22 2016-10-27 Qualcomm Incorporated Caching content at the edge
CN107534854A (en) * 2015-04-22 2018-01-02 高通股份有限公司 In edge cache content
WO2017050097A1 (en) * 2015-09-22 2017-03-30 北京佰才邦技术有限公司 Data storage method, nonvolatile computer storage medium, electronic equipment, open capability entity, and base station
US11233690B2 (en) 2015-09-22 2022-01-25 Baicells Technologies Co. Ltd. Data storage method, non-volatile computer storage medium, electronic equipment, service capability exposure function, and base station
CN106231607A (en) * 2016-09-21 2016-12-14 北京佰才邦技术有限公司 The method of a kind of resource distribution and base station
CN106358245A (en) * 2016-11-07 2017-01-25 北京佰才邦技术有限公司 Load sharing method of mobile edge computing application and controller
CN106358245B (en) * 2016-11-07 2019-12-27 北京佰才邦技术有限公司 Method and controller for sharing load of mobile edge computing application
WO2018090335A1 (en) * 2016-11-18 2018-05-24 华为技术有限公司 Cache data requesting method and related device
CN109196843A (en) * 2016-11-18 2019-01-11 华为技术有限公司 A kind of data cached requesting method and relevant device
CN109196843B (en) * 2016-11-18 2021-07-09 华为技术有限公司 A cache data request method and related equipment
US11252251B2 (en) 2016-11-18 2022-02-15 Huawei Technologies Co., Ltd. Cache data request method and related device
CN106658598A (en) * 2016-12-08 2017-05-10 南京邮电大学 Service migration method based on content caching and network state awareness
CN108683725A (en) * 2018-05-11 2018-10-19 中国联合网络通信集团有限公司 Data processing method and data processing system
CN108683725B (en) * 2018-05-11 2021-09-10 中国联合网络通信集团有限公司 Data processing method and data processing system
CN112218100A (en) * 2019-07-09 2021-01-12 阿里巴巴集团控股有限公司 Content distribution network, data processing method, device, equipment and storage medium
WO2021004384A1 (en) * 2019-07-09 2021-01-14 阿里巴巴集团控股有限公司 Content delivery network, data processing method, apparatus and device, and storage medium

Also Published As

Publication number Publication date
WO2015021591A1 (en) 2015-02-19

Similar Documents

Publication Publication Date Title
CN103703747A (en) Internet content storage method and device
CN109495929B (en) A service processing method, mobile edge computing device and network device
CN108632945B (en) Network slice selection method, user equipment and network equipment
JP5709967B2 (en) Method for performing handover between access nodes and access node
CN102244900B (en) Synchronization method, distributed cache method, device and system for caching data heat value
TWI559714B (en) Storage of radio access technology information in mobile networks
CN102045693B (en) Information reporting/notifying, switching and data forwarding method, AN and ILR
EP2873218B1 (en) Application service platform with access to context data of remote access node
Nguyen et al. Proposal and evaluation of SDN‐based mobile packet core networks
CN108513290A (en) A method and device for selecting a network slice
CN109729549B (en) Communication method and device
CN103686860A (en) Distributed caching method and device for caching data
CN103581248A (en) Method and device for providing content distribution network CDN service
EP2466954B1 (en) Method, system and access gateway router for handoff management and user data management when handing off
US10764411B2 (en) Stream control transmission protocol SCTP-based communications method and system, and apparatus
WO2021051420A1 (en) Dns cache record determination method and apparatus
CN105532012B (en) Video distribution method, device and system
CN108235376B (en) User plane anchor point selection method and device
WO2023123308A1 (en) Packet forwarding method, device, electronic equipment, and medium
CN107005906B (en) Data transmission and network access method, related equipment and system
WO2020024865A1 (en) Session correspondence management method and terminal device
KR102003739B1 (en) Method for application hosting by access node and appratus therefor
CN102918880B (en) The access control method of node B cache, Apparatus and system
CN103517257A (en) Method and device for providing service information and network system
CN103517447B (en) Transmission data method and apparatus thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140402