CN102918880B - The access control method of node B cache, Apparatus and system - Google Patents
The access control method of node B cache, Apparatus and system Download PDFInfo
- Publication number
- CN102918880B CN102918880B CN201180000499.0A CN201180000499A CN102918880B CN 102918880 B CN102918880 B CN 102918880B CN 201180000499 A CN201180000499 A CN 201180000499A CN 102918880 B CN102918880 B CN 102918880B
- Authority
- CN
- China
- Prior art keywords
- base station
- content
- index table
- identifier
- cache
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W92/00—Interfaces specially adapted for wireless communication networks
- H04W92/16—Interfaces between hierarchically similar devices
- H04W92/20—Interfaces between hierarchically similar devices between access points
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及一种基站缓存的访问控制方法、装置及系统。The present invention relates to the field of communication technology, in particular to a base station buffer access control method, device and system.
背景技术 Background technique
目前,在基站上应用Cache(网络信息缓存器)技术,可以实现将用户终端需要访问的远端服务器的内容缓存在基站的Cache中,以达到提高用户的访问速度,降低网络带宽的目的。例如,在LTE(LongTermEvolution,长期演进)、WIMAX(WorldwideInteroperabilityforMicrowaveAccess,全球微波互联接入)等第四代无线通信系统下的eNodeb(演进型基站)上可以直接应用Cache技术;或者,在UMTS(UniversalMobileTelecommunicationsSystem,通用移动通信系统)、TDS-CDMA(TimeDivisionSynchronous-CDMA,时分同步CDMA)、CDMA(CodeDivisionMultipleAccess,码分多址)等第三代无线通信系统下的扁平化基站或者实现GiOffload(Gi接口卸载)的基站中应用Cache技术。At present, the application of Cache (network information cache) technology on the base station can cache the content of the remote server that the user terminal needs to access in the Cache of the base station, so as to improve the access speed of the user and reduce the network bandwidth. For example, the Cache technology can be directly applied to the eNodeb (evolved base station) under the fourth-generation wireless communication systems such as LTE (Long Term Evolution, Long Term Evolution), WIMAX (Worldwide Interoperability for Microwave Access, etc.); or, in UMTS (Universal Mobile Telecommunications System, Universal mobile communication system), TDS-CDMA (TimeDivisionSynchronous-CDMA, time division synchronous CDMA), CDMA (CodeDivisionMultipleAccess, code division multiple access) and other flat base stations under third-generation wireless communication systems or base stations that implement GiOffload (Gi interface offloading) Application of Cache technology.
现有技术中,以第三代无线通信系统中的UMTS制式为例,上述应用Cache技术的基站为用户提供内容缓存服务的流程如下:假设服务终端的当前基站为基站A,那么,如果终端需要访问的内容在基站A的Cache中没有匹配到,则通过GiOffload继续到Internet的内容服务器上获取访问内容;如果终端需要访问的内容在基站A的Cache中匹配到,则直接从基站A的Cache中获取访问内容;如果终端需要访问的内容属于非Offload的业务类型,则通过无线接入网原有的路径,由RNC(RadioNetworkController,无线网络控制器)/xGSN访问Internet的内容服务器,获取访问内容后,再由RNC推送内容到基站A的Cache上;或者通过无线接入网原有的路径,访问RNC的Cache或xGSN的cache以获取访问内容,获取访问内容后,再由RNC推送内容到基站A的Cache上。In the prior art, taking the UMTS standard in the third-generation wireless communication system as an example, the above-mentioned base station applying the Cache technology provides the content caching service for users as follows: Assume that the current base station of the service terminal is base station A, then, if the terminal needs If the accessed content is not matched in the Cache of base station A, it will continue to obtain the accessed content from the content server on the Internet through GiOffload; Obtain access content; if the content that the terminal needs to access belongs to the non-offload business type, then through the original path of the wireless access network, the RNC (RadioNetworkController, radio network controller)/xGSN accesses the content server of the Internet, and after obtaining the access content , and then the RNC pushes the content to the Cache of base station A; or accesses the RNC Cache or xGSN cache through the original path of the wireless access network to obtain the access content, and after obtaining the access content, the RNC pushes the content to the base station A on the Cache.
然而,在现有的基站上部署Cache时,单个基站所服务的用户数通常比较少,访问基站的离散度较高,使得基站的Cache命中率较低。如果为了保证基站的Cache的命中率,则需要为每个基站的Cache配置较大容量的存储器,进而增加了基站的硬件成本。However, when a Cache is deployed on an existing base station, the number of users served by a single base station is usually relatively small, and the dispersion of accessing the base station is high, so that the Cache hit rate of the base station is low. In order to ensure the hit rate of the Cache of the base station, a large-capacity memory needs to be configured for the Cache of each base station, thereby increasing the hardware cost of the base station.
发明内容 Contents of the invention
本发明的实施例提供一种基站缓存的访问控制方法、装置及系统,提高了基站Cache的命中率。Embodiments of the present invention provide a base station cache access control method, device and system, which improve the hit rate of the base station Cache.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
一方面,提供一种基站缓存的访问控制方法,包括:On the one hand, an access control method for base station cache is provided, including:
源基站接收终端发送的携带有内容标识的请求消息;The source base station receives the request message carrying the content identifier sent by the terminal;
在所述源基站缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站;When there is no content matching the content identifier in the cache of the source base station, search for a target base station storing the content matching the content identifier;
向所述目标基站发送携带有所述内容标识的请求消息。Sending a request message carrying the content identifier to the target base station.
一方面,提供一种通信装置,包括:In one aspect, a communication device is provided, including:
接收单元,用于接收终端发送的携带有内容标识的请求消息;a receiving unit, configured to receive a request message carrying a content identifier sent by the terminal;
查找单元,用于在所述通信装置缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站;A search unit, configured to search for a target base station storing content matching the content identifier when there is no content matching the content identifier in the cache of the communication device;
发送单元,用于向所述目标基站发送携带有所述内容标识的请求消息。A sending unit, configured to send a request message carrying the content identifier to the target base station.
另一方面,提供一种分布式基站缓存系统,包括:至少两个基站,所述基站上设有缓存;In another aspect, a distributed base station caching system is provided, including: at least two base stations, where caching is provided on the base stations;
所述基站用于接收终端发送的携带有内容标识的请求消息;在所述基站缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站;向所述目标基站发送携带有所述内容标识的请求消息。The base station is configured to receive a request message carrying a content identifier sent by a terminal; when there is no content matching the content identifier in the cache of the base station, search for a target base station storing content matching the content identifier; Sending a request message carrying the content identifier to the target base station.
本发明实施例中,多个基站的缓存进行共享,当源基站接收到终端发送的内容标识后,如果所述源基站缓存中不存在与所述内容标识匹配的内容时,则查找存放有与所述内容标识匹配的内容的目标基站,并向所述目标基站发送携带有所述内容标识的请求消息,以便于从所述目标基站获取与所述内容标识匹配的内容。亦即,当终端在一个基站的缓存中没有获取到内容时,还可以从其他基站的缓存中进行获取,与现有技术中,单个基站所服务的用户数比较少导致基站的缓存命中率较低相比,本发明实施例提高了基站缓存的命中率,并且不需要升级基站的缓存到较大的容量,进而降低了在基站上部署缓存的硬件要求。In the embodiment of the present invention, the caches of multiple base stations are shared. After the source base station receives the content identifier sent by the terminal, if there is no content matching the content identifier in the cache of the source base station, it will search and store the content that matches the content identifier. The content identifies a target base station of the matched content, and sends a request message carrying the content ID to the target base station, so as to acquire the content matching the content ID from the target base station. That is, when the terminal does not obtain the content in the cache of one base station, it can also obtain the content from the cache of other base stations. Compared with the prior art, the number of users served by a single base station is relatively small, resulting in a relatively low cache hit rate of the base station. Compared with the lower one, the embodiment of the present invention improves the hit rate of the cache of the base station, and does not need to upgrade the cache of the base station to a larger capacity, thereby reducing the hardware requirements for deploying the cache on the base station.
附图说明 Description of drawings
图1为本发明实施例提供的一种基站缓存的访问控制方法的流程图;FIG. 1 is a flowchart of an access control method for base station cache provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种基站缓存的访问控制方法的流程图;FIG. 2 is a flow chart of another base station cache access control method provided by an embodiment of the present invention;
图3为本发明实施例提供的又一种基站缓存的访问控制方法的流程图;FIG. 3 is a flow chart of another access control method for base station cache provided by an embodiment of the present invention;
图4为本发明实施例提供的再一种基站缓存的访问控制方法的流程图;FIG. 4 is a flow chart of another base station buffer access control method provided by an embodiment of the present invention;
图5为本发明实施例提供的一种通信装置的第一种结构图;FIG. 5 is a first structural diagram of a communication device provided by an embodiment of the present invention;
图6为本发明实施例提供的一种通信装置的第二种结构图;FIG. 6 is a second structural diagram of a communication device provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种通信装置的第一种结构图;FIG. 7 is a first structural diagram of another communication device provided by an embodiment of the present invention;
图8为本发明实施例提供的另一种通信装置的第二种结构图;FIG. 8 is a second structural diagram of another communication device provided by an embodiment of the present invention;
图9为本发明实施例提供的一种基站系统的结构图;FIG. 9 is a structural diagram of a base station system provided by an embodiment of the present invention;
图10为本发明实施例提供的另一种基站系统的结构图。FIG. 10 is a structural diagram of another base station system provided by an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
如图1所示,本发明实施例提供一种基站缓存的访问控制方法,该方法由源基站执行,包括:As shown in FIG. 1, an embodiment of the present invention provides a method for access control of base station cache, the method is executed by the source base station, including:
101、源基站接收终端发送的携带有内容标识的请求消息;101. The source base station receives the request message carrying the content identifier sent by the terminal;
所述源基站为服务终端的当前基站。The source base station is the current base station of the serving terminal.
102、在所述源基站缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站;102. When there is no content matching the content identifier in the cache of the source base station, search for a target base station storing the content matching the content identifier;
所述目标基站为:与所述源基站之间可以进行相互通信的基站。The target base station is: a base station that can communicate with the source base station.
例如,所述源基站和目标基站均为一定区域内采用Mesh(无线网格)组网方式的基站。采用Mesh(无线网格)组网方式的任意两个基站之间均可以保持无线互联。For example, both the source base station and the target base station are base stations that adopt a Mesh (wireless mesh) networking manner within a certain area. Any two base stations using the Mesh (wireless grid) networking method can maintain wireless interconnection.
103、向所述目标基站发送携带有所述内容标识的请求消息。103. Send a request message carrying the content identifier to the target base station.
当目标基站接收到上述携带有所述内容标识的请求消息后,获取与所述内容标识匹配的内容,并发送给所述源基站,源基站将所述内容发送给所述终端。After receiving the request message carrying the content identifier, the target base station obtains the content matching the content identifier and sends it to the source base station, and the source base station sends the content to the terminal.
本发明实施例提供应用场景中:定义基站Cache(缓存)的命中率达到50%时,需要存储器的容量为3TB。假设在100个基站中都需要提供相同命中率的Cache服务,则采用现有技术时,需要在100个基站中总共部署300TB的存储器。而采用本发明实施例提供的方法后,可以将3TB容量的存储器分布在100基站中,亦即,需要在100个基站中总共部署3TB的存储器。从而,有效降低了基站上部署缓存的硬件投资,并且终端可以访问上述100个基站中任一个基站Cache上的内容,亦即终端可共享上述100个基站Cache的内容,从而,达到和部署300TB存储器相同的效果和命中率。In the application scenario provided by the embodiment of the present invention: when the hit rate of the Cache (cache) of the defined base station reaches 50%, the capacity of the memory is required to be 3 TB. Assuming that all 100 base stations need to provide the Cache service with the same hit rate, when using the existing technology, a total of 300 TB of memory needs to be deployed in the 100 base stations. However, after adopting the method provided by the embodiment of the present invention, 3 TB of memory can be distributed in 100 base stations, that is, a total of 3 TB of memory needs to be deployed in 100 base stations. Therefore, the hardware investment for deploying the cache on the base station is effectively reduced, and the terminal can access the content on any one of the above 100 base station caches, that is, the terminal can share the content of the above 100 base station caches, thereby achieving and deploying a 300TB memory Same effect and hit rate.
可以看出,本发明实施例中,当源基站接收到终端发送的内容标识后,如果所述源基站缓存中不存在与所述内容标识匹配的内容时,则查找存放有与所述内容标识匹配的内容的目标基站,并向所述目标基站发送携带有所述内容标识的请求消息,以便于从所述目标基站获取与所述内容标识匹配的内容。亦即,当终端在一个基站的缓存中没有获取到内容时,还可以从其他基站的缓存中进行获取,多个基站的缓存实现了共享。与现有技术中,单个基站所服务的用户数比较少导致基站的缓存命中率较低相比,本发明实施例提高了基站缓存的命中率,同时,不需要升级基站的缓存到较大的容量,进而降低了在基站上部署缓存的硬件要求。It can be seen that in the embodiment of the present invention, after the source base station receives the content identifier sent by the terminal, if there is no content matching the content identifier in the cache of the source base station, it will search for the stored content that matches the content identifier. the target base station of the matched content, and send a request message carrying the content identifier to the target base station, so as to acquire the content matching the content identifier from the target base station. That is, when the terminal does not acquire content in the cache of one base station, it can also acquire content from the caches of other base stations, and the caches of multiple base stations are shared. Compared with the prior art, where the number of users served by a single base station is relatively small, resulting in a low cache hit rate of the base station, the embodiment of the present invention improves the cache hit rate of the base station, and at the same time, does not need to upgrade the cache of the base station to a larger Capacity, which in turn reduces the hardware requirements for deploying caches on base stations.
进一步地,所述源基站和所述目标基站上还可以均保存有内容索引表,所述内容索引表中包括存放在所述源基站缓存和所述目标基站缓存中的所有内容的标识和任意一个内容标识对应的基站标识。Further, the source base station and the target base station may both store a content index table, and the content index table includes identifiers and any content stored in the source base station cache and the target base station cache. A base station identifier corresponding to a content identifier.
此时,上述步骤102中,在所述源基站缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站具体可以采用如下实现方式:在所述源基站缓存中不存在与所述内容标识匹配的内容时,在内容索引表中查找与所述内容标识对应的目标基站标识。At this time, in the above step 102, when there is no content matching the content identifier in the cache of the source base station, searching for the target base station that stores the content matching the content identifier may specifically be implemented as follows: When there is no content matching the content identifier in the cache of the source base station, look up the target base station identifier corresponding to the content identifier in the content index table.
特别地,上述步骤102中,在所述源基站缓存中不存在与所述内容标识匹配的内容时,如果在内容索引表中查找出至少两个与所述内容标识对应的基站标识时,则从所述至少两个与所述内容标识对应的基站标识中任选一个基站标识作为目标基站标识。Specifically, in the above step 102, when there is no content matching the content identifier in the cache of the source base station, if at least two base station identifiers corresponding to the content identifier are found in the content index table, then Selecting one base station identifier from the at least two base station identifiers corresponding to the content identifier as the target base station identifier.
进一步地,为了保证源基站和目标基站上所保存的内容索引表的一致性,如果基站缓存中的内容发生了变更,则需要在源基站和目标基站之间进行内容索引表的同步。特别地,如图2所示,上述方法还可以包括步骤104和105中的至少一个:Further, in order to ensure the consistency of the content index tables saved on the source base station and the target base station, if the content in the cache of the base station changes, the content index tables need to be synchronized between the source base station and the target base station. In particular, as shown in FIG. 2, the above method may also include at least one of steps 104 and 105:
104、当所述源基站缓存中删除已有内容时,在源基站保存的内容索引表中删除已有内容标识,并将变更后的内容索引表发送给目标基站,以指示目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表。104. When the existing content is deleted from the cache of the source base station, delete the identifier of the existing content in the content index table saved by the source base station, and send the changed content index table to the target base station, so as to instruct the target base station to store the The content index table stored on the target base station is synchronously changed to the changed content index table.
105、当所述源基站缓存中增加新内容时,在源基站保存的内容索引表中增加新内容标识,并将变更后的内容索引表发送给目标基站,以指示目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表。105. When new content is added to the cache of the source base station, add a new content identifier to the content index table saved by the source base station, and send the changed content index table to the target base station, so as to instruct the target base station to store the target base station The content index table saved on the website is synchronously changed to the changed content index table.
另外,本发明实施例中,如果终端需要访问的内容在源基站的Cache中匹配到,则直接从该源基站的Cache中获取访问内容;In addition, in the embodiment of the present invention, if the content that the terminal needs to access is matched in the Cache of the source base station, the access content is directly obtained from the Cache of the source base station;
如果终端需要访问的内容在源基站的Cache中没有匹配到,并且该源基站也没有查找到存放有与所述内容标识匹配的内容的目标基站时,还可以通过GiOffload继续到Internet的内容服务器上获取访问内容;If the content that the terminal needs to access is not matched in the Cache of the source base station, and the source base station does not find the target base station that stores the content that matches the content identifier, it can also continue to the content server on the Internet through GiOffload access to content;
如果终端需要访问的内容属于非Offload的业务类型,则可以通过无线接入网原有的路径,由RNC(RadioNetworkController,无线网络控制器)/xGSN访问Internet的内容服务器,获取访问内容后,再由RNC推送内容到基站A的Cache上;或者,如果终端需要访问的内容属于非Offload的业务类型,还可以通过无线接入网原有的路径,访问RNC的Cache或xGSN的cache以获取访问内容,获取访问内容后,再由RNC推送内容到基站A的Cache上。If the content that the terminal needs to access belongs to the non-offload service type, the RNC (Radio Network Controller, radio network controller)/xGSN can access the Internet content server through the original path of the wireless access network, and after obtaining the access content, the The RNC pushes the content to the Cache of base station A; or, if the content to be accessed by the terminal belongs to the non-offload service type, it can also access the Cache of the RNC or the cache of the xGSN through the original path of the wireless access network to obtain the access content. After obtaining the access content, the RNC pushes the content to the Cache of base station A.
如图3所示,本发明实施例提供一种基站缓存的访问控制方法,该方法具体由目标基站执行,包括:As shown in FIG. 3, an embodiment of the present invention provides a base station cache access control method, which is specifically executed by the target base station, including:
301、目标基站接收源基站发送的携带有内容标识的请求消息。301. The target base station receives a request message carrying a content identifier sent by a source base station.
302、在所述目标基站缓存中获取与所述内容标识匹配的内容。302. Acquire content matching the content identifier from the cache of the target base station.
303、向所述源基站发送所述获取到的与所述内容标识匹配的内容,以便于所述源基站将所述内容发送给终端。303. Send the acquired content that matches the content identifier to the source base station, so that the source base station sends the content to the terminal.
本发明实施例中,目标基站接收源基站发送的携带有内容标识的请求消息,获取与所述内容标识匹配的内容,并发送给所述源基站。亦即,当终端在源基站的缓存中没有获取到内容时,还可以从其他基站(例如目标基站)的缓存中进行获取,多个基站的缓存实现了共享。与现有技术中,单个基站所服务的用户数比较少导致基站的缓存命中率较低相比,本发明实施例提高了基站缓存的命中率,同时,不需要升级基站的缓存到较大的容量,进而降低了在基站上部署缓存的硬件要求。In the embodiment of the present invention, the target base station receives the request message carrying the content identifier sent by the source base station, obtains the content matching the content identifier, and sends it to the source base station. That is, when the terminal does not acquire content in the cache of the source base station, it can also acquire content from the cache of other base stations (such as the target base station), and the caches of multiple base stations are shared. Compared with the prior art, where the number of users served by a single base station is relatively small, resulting in a low cache hit rate of the base station, the embodiment of the present invention improves the cache hit rate of the base station, and at the same time, does not need to upgrade the cache of the base station to a larger Capacity, which in turn reduces the hardware requirements for deploying caches on base stations.
进一步地,所述源基站和所述目标基站上均保存有内容索引表,所述内容索引表中包括存放在所述源基站缓存和所述目标基站缓存中的所有内容的标识和任一内容标识对应的基站标识。Further, both the source base station and the target base station store a content index table, and the content index table includes identifiers of all contents stored in the cache of the source base station and the cache of the target base station and any content Identifies the corresponding base station identifier.
进一步地,可选的,如图4所示,该方法还包括步骤304和305中的至少一个:Further, optionally, as shown in FIG. 4, the method further includes at least one of steps 304 and 305:
304、目标基站接收源基站发送的变更后的内容索引表,所述变更后的内容索引表为所述源基站在所述源基站保存的内容索引表中删除已有内容标识后得到;并将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表。从而,使得源基站上保存的内容索引表与目标基站上保存的内容索引表保持一致。304. The target base station receives the changed content index table sent by the source base station, where the changed content index table is obtained by the source base station after deleting the existing content identifier in the content index table saved by the source base station; and The content index table stored on the target base station is synchronously changed to the changed content index table. Therefore, the content index table stored on the source base station is consistent with the content index table stored on the target base station.
305、目标基站接收源基站发送的变更后的内容索引表,所述变更后的内容索引表为所述源基站在所述源基站保存的内容索引表中增加新内容标识后得到;并将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表。从而,使得源基站上保存的内容索引表与目标基站上保存的内容索引表保持一致。305. The target base station receives the changed content index table sent by the source base station, the changed content index table is obtained by the source base station after adding a new content identifier to the content index table saved by the source base station; The content index table stored on the target base station is synchronously changed to the changed content index table. Therefore, the content index table stored on the source base station is consistent with the content index table stored on the target base station.
如图5所示,本发明实施例提供一种通信装置,该通信装置具体为源基站,包括:接收单元11,查找单元12和发送单元13。As shown in FIG. 5 , an embodiment of the present invention provides a communication device. The communication device is specifically a source base station, and includes: a receiving unit 11 , a searching unit 12 and a sending unit 13 .
其中,接收单元11,用于接收终端发送的携带有内容标识的请求消息;Wherein, the receiving unit 11 is configured to receive the request message carrying the content identifier sent by the terminal;
查找单元12,用于在所述通信装置缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站;A search unit 12, configured to search for a target base station storing content matching the content identifier when there is no content matching the content identifier in the cache of the communication device;
发送单元13,用于向所述目标基站发送携带有所述内容标识的请求消息。The sending unit 13 is configured to send a request message carrying the content identifier to the target base station.
本实施例将服务终端的当前基站称之为源基站,当源基站接收到终端发送的内容标识后,如果所述源基站缓存中不存在与所述内容标识匹配的内容时,则查找存放有与所述内容标识匹配的内容的目标基站,并向所述目标基站发送携带有所述内容标识的请求消息,以便于从所述目标基站获取与所述内容标识匹配的内容。亦即,当终端在一个基站的缓存中没有获取到内容时,还可以从其他基站的缓存中进行获取,多个基站的缓存实现了共享。与现有技术中,单个基站所服务的用户数比较少导致基站的缓存命中率较低相比,本发明实施例提高了基站缓存的命中率,同时,不需要升级基站的缓存到较大的容量,进而降低了在基站上部署缓存的硬件要求。In this embodiment, the current base station of the serving terminal is referred to as the source base station. After the source base station receives the content identifier sent by the terminal, if there is no content matching the content identifier in the cache of the source base station, it will search for the stored content. A target base station of the content matching the content identifier, and sending a request message carrying the content identifier to the target base station, so as to acquire the content matching the content identifier from the target base station. That is, when the terminal does not acquire content in the cache of one base station, it can also acquire content from the caches of other base stations, and the caches of multiple base stations are shared. Compared with the prior art, where the number of users served by a single base station is relatively small, resulting in a low cache hit rate of the base station, the embodiment of the present invention improves the cache hit rate of the base station, and at the same time, does not need to upgrade the cache of the base station to a larger Capacity, which in turn reduces the hardware requirements for deploying caches on base stations.
进一步地,所述通信装置和所述目标基站上均保存有内容索引表,所述内容索引表中包括存放在所述通信装置缓存和所述目标基站缓存中的所有内容的标识和任一内容标识对应的基站标识。Further, the communication device and the target base station both store a content index table, and the content index table includes all content identifiers and any content stored in the buffer memory of the communication device and the target base station Identifies the corresponding base station identifier.
所述查找单元12具体用于在所述通信装置缓存中不存在与所述内容标识匹配的内容时,在内容索引表中查找与所述内容标识对应的目标基站标识。The search unit 12 is specifically configured to search a content index table for a target base station identifier corresponding to the content identifier when there is no content matching the content identifier in the cache of the communication device.
进一步地,所述查找单元12具体用于在所述通信装置缓存中不存在与所述内容标识匹配的内容时,且在内容索引表中查找出至少两个与所述内容标识对应的基站标识时,从所述至少两个与所述内容标识对应的基站标识中任选一个基站标识作为目标基站标识。Further, the search unit 12 is specifically configured to find at least two base station identifiers corresponding to the content identifier in the content index table when there is no content matching the content identifier in the cache of the communication device. , selecting a base station identifier from the at least two base station identifiers corresponding to the content identifier as the target base station identifier.
进一步地,为了保证源基站和目标基站上所保存的内容索引表的一致性,如果基站缓存中的内容发生了变更,则需要在源基站和目标基站之间进行内容索引表的同步。如图6所示,上述通信装置还可以包括:第一同步单元14和第二同步单元15中的至少一个。Further, in order to ensure the consistency of the content index tables saved on the source base station and the target base station, if the content in the cache of the base station changes, the content index tables need to be synchronized between the source base station and the target base station. As shown in FIG. 6 , the communication device above may further include: at least one of a first synchronization unit 14 and a second synchronization unit 15 .
第一同步单元14,用于当所述通信装置缓存中删除已有内容时,在所述源基站保存的所述内容索引表中删除已有内容标识,并将变更后的内容索引表发送给目标基站,以指示所述目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表;The first synchronization unit 14 is configured to delete the existing content identifier in the content index table saved by the source base station when the existing content is deleted from the cache of the communication device, and send the changed content index table to The target base station is configured to instruct the target base station to synchronously change the content index table stored on the target base station into the changed content index table;
第二同步单元15,用于当所述通信装置缓存中增加新内容时,在所述源基站保存的所述内容索引表中增加新内容标识,并将变更后的内容索引表发送给目标基站,以指示所述目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表。The second synchronization unit 15 is configured to add a new content identifier to the content index table saved by the source base station when new content is added to the cache of the communication device, and send the changed content index table to the target base station , to instruct the target base station to synchronously change the content index table saved on the target base station to the changed content index table.
如图7所示,本发明实施例提供另一种通信装置,该通信装置具体为目标基站,包括:接收单元21,获取单元22和发送单元23。As shown in FIG. 7 , an embodiment of the present invention provides another communication device. The communication device is specifically a target base station, and includes: a receiving unit 21 , an acquiring unit 22 and a sending unit 23 .
其中,接收单元21,用于接收源基站发送的携带有内容标识的请求消息;Wherein, the receiving unit 21 is configured to receive the request message carrying the content identifier sent by the source base station;
获取单元22,用于在目标基站缓存中获取与所述内容标识匹配的内容;An acquisition unit 22, configured to acquire content matching the content identifier in the cache of the target base station;
发送单元23,用于向所述源基站发送所述获取到的与所述内容标识匹配的内容。The sending unit 23 is configured to send the acquired content matching the content identifier to the source base station.
本发明实施例中,目标基站接收源基站发送的携带有内容标识的请求消息,获取与所述内容标识匹配的内容,并发送给所述源基站。亦即,当终端在源基站的缓存中没有获取到内容时,还可以从其他基站(例如目标基站)的缓存中进行获取,多个基站的缓存实现了共享。与现有技术中,单个基站所服务的用户数比较少导致基站的缓存命中率较低相比,本发明实施例提高了基站缓存的命中率,同时,不需要升级基站的缓存到较大的容量,进而降低了在基站上部署缓存的硬件要求。In the embodiment of the present invention, the target base station receives the request message carrying the content identifier sent by the source base station, obtains the content matching the content identifier, and sends it to the source base station. That is, when the terminal does not acquire content in the cache of the source base station, it can also acquire content from the cache of other base stations (such as the target base station), and the caches of multiple base stations are shared. Compared with the prior art, where the number of users served by a single base station is relatively small, resulting in a low cache hit rate of the base station, the embodiment of the present invention improves the cache hit rate of the base station, and at the same time, does not need to upgrade the cache of the base station to a larger Capacity, which in turn reduces the hardware requirements for deploying caches on base stations.
进一步地,所述通信装置和所述源基站上均保存有内容索引表,所述内容索引表中包括存放在所述通信装置缓存和所述目标基站缓存中的所有内容的标识和任一内容标识对应的基站标识。Further, the communication device and the source base station both store a content index table, and the content index table includes all content identifiers and any content stored in the buffer memory of the communication device and the target base station Identifies the corresponding base station identifier.
进一步地,为了保证源基站和目标基站上所保存的内容索引表的一致性,如果基站缓存中的内容发生了变更,则需要在源基站和目标基站之间进行内容索引表的同步。如图8所示,上述通信装置还可以包括:第一同步单元24和第二同步单元25中的至少一个。Further, in order to ensure the consistency of the content index tables saved on the source base station and the target base station, if the content in the cache of the base station changes, the content index tables need to be synchronized between the source base station and the target base station. As shown in FIG. 8 , the communication device above may further include: at least one of a first synchronization unit 24 and a second synchronization unit 25 .
第一同步单元24,用于当所述通信装置缓存中删除已有内容时,在所述源基站保存的所述内容索引表中删除已有内容标识,并将变更后的内容索引表发送给所述目标基站,以指示所述目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表The first synchronization unit 24 is configured to delete the existing content identifier in the content index table saved by the source base station when the existing content is deleted from the cache of the communication device, and send the changed content index table to the target base station, to instruct the target base station to synchronously change the content index table stored on the target base station into the changed content index table
第二同步单元25,用于当所述源基站缓存中增加新内容时,在所述源基站保存的所述内容索引表中增加新内容标识,并将变更后的内容索引表发送给所述目标基站,以指示所述目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表The second synchronization unit 25 is configured to add a new content identifier to the content index table saved by the source base station when new content is added to the cache of the source base station, and send the changed content index table to the the target base station, to instruct the target base station to synchronously change the content index table stored on the target base station into the changed content index table
如图9所示,本发明实施例还提供一种基站系统,包括:源基站32和目标基站33,所述源基站32和目标基站33上均设有缓存;As shown in FIG. 9 , the embodiment of the present invention also provides a base station system, including: a source base station 32 and a target base station 33, and caches are set on the source base station 32 and the target base station 33;
所述源基站32,用于接收终端发送的携带有内容标识的请求消息;在所述源基站缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站;向所述目标基站发送携带有所述内容标识的请求消息,以便于从所述目标基站获取与所述内容标识匹配的内容,并将所述内容发送给所述终端;The source base station 32 is configured to receive a request message carrying a content identifier sent by a terminal; when there is no content matching the content identifier in the cache of the source base station, search for stored content matching the content identifier a target base station; sending a request message carrying the content identifier to the target base station, so as to acquire content matching the content identifier from the target base station, and send the content to the terminal;
所述目标基站33,用于接收所述源基站发送的携带有所述内容标识的请求消息,在所述目标基站缓存中获取与所述内容标识匹配的内容,并将所述获取到的内容发送给所述源基站。The target base station 33 is configured to receive the request message carrying the content identifier sent by the source base station, acquire the content matching the content identifier in the cache of the target base station, and store the acquired content sent to the source base station.
如图10所示,每个基站均有可能成为源基站32或目标基站33,例如,图10中的基站3为源基站32,基站2为目标基站33时,如果基站3接收终端31发送的携带有内容标识的请求消息;在所述基站3缓存中不存在与所述内容标识匹配的内容时,查找存放有与所述内容标识匹配的内容的目标基站33(图10中的基站2);则基站3向基站2发送携带有所述内容标识的请求消息,基站3根据所述携带有所述内容标识的请求消息,从基站3的缓存中获取所述内容标识匹配的内容,并发送给基站3,由基站3转发给终端31。As shown in FIG. 10, each base station may become a source base station 32 or a target base station 33. For example, when base station 3 in FIG. 10 is a source base station 32 and base station 2 is a target base station 33, if base station 3 receives A request message carrying a content identifier; when there is no content matching the content identifier in the cache of the base station 3, search for a target base station 33 (base station 2 in FIG. 10 ) that stores content matching the content identifier ; then the base station 3 sends a request message carrying the content identifier to the base station 2, and the base station 3 obtains the content matched by the content identifier from the cache of the base station 3 according to the request message carrying the content identifier, and sends to the base station 3, and then forwarded to the terminal 31 by the base station 3.
可以看出,当基站接收到终端发送的内容标识后,如果所述基站缓存中不存在与所述内容标识匹配的内容时,则查找存放有与所述内容标识匹配的内容的目标基站,并向所述目标基站发送携带有所述内容标识的请求消息,以便于从所述目标基站获取与所述内容标识匹配的内容。亦即,当终端在一个基站的缓存中没有获取到内容时,还可以从其他基站的缓存中进行获取,多个基站的缓存实现了共享。与现有技术中,单个基站所服务的用户数比较少导致基站的缓存命中率较低相比,本发明实施例提高了基站缓存的命中率,同时,不需要升级基站的缓存到较大的容量,进而降低了在基站上部署缓存的硬件要求。It can be seen that after the base station receives the content identifier sent by the terminal, if there is no content matching the content identifier in the base station cache, it will search for a target base station that stores the content matching the content identifier, and Sending a request message carrying the content identifier to the target base station, so as to acquire content matching the content identifier from the target base station. That is, when the terminal does not acquire content in the cache of one base station, it can also acquire content from the caches of other base stations, and the caches of multiple base stations are shared. Compared with the prior art, where the number of users served by a single base station is relatively small, resulting in a low cache hit rate of the base station, the embodiment of the present invention improves the cache hit rate of the base station, and at the same time, does not need to upgrade the cache of the base station to a larger Capacity, which in turn reduces the hardware requirements for deploying caches on base stations.
进一步地,所述源基站32和目标基站33上均保存有内容索引表,所述内容索引表中包括存放在所述每个基站缓存中的所有内容的标识和任一内容标识对应的基站标识。Further, both the source base station 32 and the target base station 33 store a content index table, and the content index table includes identifiers of all contents stored in each base station cache and a base station identifier corresponding to any content identifier .
具体地,将一定区域内采用Mesh组网方式的基站组成一个基站系统。Specifically, the base stations in a certain area using the Mesh networking form a base station system.
进一步的,所述源基站32具体用于在所述源基站缓存中不存在与所述内容标识匹配的内容时,在内容索引表中查找与所述内容标识对应的目标基站标识。Further, the source base station 32 is specifically configured to search a content index table for a target base station identifier corresponding to the content identifier when there is no content matching the content identifier in the cache of the source base station.
进一步的,所述源基站32具体用于当所述源基站缓存中删除已有内容时,在所述源基站保存的所述内容索引表中删除已有内容标识,并将变更后的内容索引表发送给所述目标基站,以指示所述目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表;Further, the source base station 32 is specifically configured to delete the existing content identifier in the content index table saved by the source base station when the existing content is deleted from the cache of the source base station, and index the changed content sending the table to the target base station to instruct the target base station to synchronously change the content index table saved on the target base station to the changed content index table;
所述目标基站33具体用于接收源基站发送的变更后的内容索引表,所述变更后的内容索引表为所述源基站在所述源基站保存的内容索引表中删除已有内容标识后得到;并将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表。The target base station 33 is specifically configured to receive the changed content index table sent by the source base station, and the changed content index table is after the source base station deletes the existing content identifier in the content index table saved by the source base station. Obtaining; and synchronously changing the content index table saved on the target base station to the changed content index table.
进一步的,所述源基站32具体用于当所述源基站缓存中增加新内容时,在所述源基站保存的所述内容索引表中增加新内容标识,并将变更后的内容索引表发送给所述目标基站,以指示所述目标基站将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表;Further, the source base station 32 is specifically configured to add a new content identifier to the content index table stored in the source base station when new content is added to the cache of the source base station, and send the changed content index table to to the target base station to instruct the target base station to synchronously change the content index table stored on the target base station into the changed content index table;
所述目标基站33具体用于接收源基站发送的变更后的内容索引表,所述变更后的内容索引表为所述源基站在所述源基站保存的内容索引表中增加新内容标识后得到;并将所述目标基站上保存的内容索引表同步变更为所述变更后的内容索引表。The target base station 33 is specifically configured to receive the changed content index table sent by the source base station, and the changed content index table is obtained by adding a new content identifier to the content index table saved by the source base station by the source base station ; and synchronously changing the content index table saved on the target base station to the changed content index table.
另外,本发明实施例提供的基站可以为在LTE、WIMAX等第四代无线通信系统下的eNodeb(演进型基站),也可以为在UMTS、TD-SCDMA、CDMA等第三代无线通信系统下的扁平化基站或者实现GiOffload的基站。In addition, the base station provided by the embodiment of the present invention can be an eNodeb (evolved base station) under the fourth-generation wireless communication system such as LTE and WIMAX, or it can be an eNodeb (evolved base station) under the third-generation wireless communication system such as UMTS, TD-SCDMA, and CDMA. Flattened base stations or base stations that implement GiOffload.
本发明实施例主要应用于在基站缓存上进行内容访问的处理中,可以提高基站Cache的命中率,降低在基站上部署Cache的硬件要求。The embodiment of the present invention is mainly applied to the processing of content access on the base station cache, which can improve the hit rate of the base station Cache and reduce the hardware requirements for deploying the Cache on the base station.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。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 determined by the protection scope of the claims.
Claims (25)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2011/074952 WO2011157120A2 (en) | 2011-05-31 | 2011-05-31 | Access control method, device and system for node b cache |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102918880A CN102918880A (en) | 2013-02-06 |
| CN102918880B true CN102918880B (en) | 2016-06-01 |
Family
ID=45348611
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201180000499.0A Active CN102918880B (en) | 2011-05-31 | 2011-05-31 | The access control method of node B cache, Apparatus and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102918880B (en) |
| WO (1) | WO2011157120A2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104125559B (en) * | 2013-04-28 | 2018-01-09 | 华为终端(东莞)有限公司 | The method, apparatus and system of a kind of data transfer |
| CN108351873B (en) * | 2015-09-23 | 2021-05-11 | 华为技术有限公司 | A cache management method and device |
| CN105357281B (en) * | 2015-10-19 | 2019-06-21 | 中国科学院信息工程研究所 | A mobile access network distributed content cache access control method and system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1681321A (en) * | 2004-04-06 | 2005-10-12 | 杨杰 | Method and system for display-on-demand by mobile telephone via radio network |
| CN1791213A (en) * | 2005-12-27 | 2006-06-21 | 北京邮电大学 | Mobile video order service system with optimized performance and realizing method |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7522909B2 (en) * | 2005-12-20 | 2009-04-21 | Alcatel-Lucent Usa Inc. | Content access control system for a mobile communication network |
-
2011
- 2011-05-31 WO PCT/CN2011/074952 patent/WO2011157120A2/en not_active Ceased
- 2011-05-31 CN CN201180000499.0A patent/CN102918880B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1681321A (en) * | 2004-04-06 | 2005-10-12 | 杨杰 | Method and system for display-on-demand by mobile telephone via radio network |
| CN1791213A (en) * | 2005-12-27 | 2006-06-21 | 北京邮电大学 | Mobile video order service system with optimized performance and realizing method |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2011157120A3 (en) | 2012-05-03 |
| CN102918880A (en) | 2013-02-06 |
| WO2011157120A2 (en) | 2011-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108632945B (en) | Network slice selection method, user equipment and network equipment | |
| CN101815087B (en) | Method for caching information of mobile communication terminal | |
| US20120082131A1 (en) | System and method of handover in wireless network | |
| CN108712506B (en) | Block chain node communication method and device and block chain node | |
| CN104683485A (en) | A C-RAN-based Internet content cache preloading method and system | |
| WO2013038056A1 (en) | Offloading traffic to device-to-device communications | |
| CN102740377B (en) | Method and equipment for forwarding data and base station | |
| CN103703747A (en) | Internet content storage method and device | |
| US20140310339A1 (en) | Content delivery method and apparatus, and access network device | |
| CN106888257A (en) | The storage resource distribution method of mist node in radio communication | |
| CN105050063A (en) | Method and device for pushing information | |
| CN101267383B (en) | Data transmission method and system | |
| CN102918880B (en) | The access control method of node B cache, Apparatus and system | |
| CN107005906B (en) | Data transmission and network access method, related equipment and system | |
| CN104253878A (en) | VLAN (Virtual Local Area Network) information management system and method of DHCP (Dynamic Host Configuration Protocol) RELAY termination sub-interface | |
| WO2022000579A1 (en) | Multi-link terminal and method and apparatus thereof for executing link switching, and storage medium | |
| CN108768733B (en) | Blockchain ledger processing method, device and blockchain node | |
| CN108777710A (en) | Block chain communication method between nodes, device and block chain node | |
| CN103891340B (en) | Data push method, apparatus and system | |
| CN108848144A (en) | Block chain interior joint access method, device and block chain node | |
| CN204204033U (en) | Based on the e-commerce system of wireless network | |
| CN115529679B (en) | Link management method, device, system and medium in multilink connection scene | |
| CN116074922B (en) | Routing data processing method and device and readable storage medium | |
| WO2018090315A1 (en) | Data request processing method and cache system | |
| CN115484602B (en) | Single-user level policy control method, device, base station and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |