CN106603297A - Content provider mobile switching method of content center network - Google Patents
Content provider mobile switching method of content center network Download PDFInfo
- Publication number
- CN106603297A CN106603297A CN201611197126.8A CN201611197126A CN106603297A CN 106603297 A CN106603297 A CN 106603297A CN 201611197126 A CN201611197126 A CN 201611197126A CN 106603297 A CN106603297 A CN 106603297A
- Authority
- CN
- China
- Prior art keywords
- content
- content provider
- sample
- switching
- data packet
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000006854 communication Effects 0.000 claims abstract description 17
- 230000008569 process Effects 0.000 claims abstract description 15
- 238000004891 communication Methods 0.000 claims abstract description 14
- 238000012790 confirmation Methods 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 6
- 230000006855 networking Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 6
- 230000007547 defect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000027455 binding Effects 0.000 description 1
- 238000009739 binding Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/14—Routing performance; Theoretical aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种内容中心网络的内容提供者移动切换方法,内容提供者记录其提供的每个内容的当前服务数量,并根据实际移动需求设定切换服务阈值;内容提供者移动之前,先判断此时每个内容的当前服务数量是否不小于切换服务阈值,若是,则用发送样本推送数据包的方式将该内容的完整样本推送到其原接入的路由器,以使请求该内容的多个请求者通过原接入的路由器继续获得服务,保证在其移动过程中,多个请求者通信连续性;若否,则内容提供者对该内容不执行任何附加操作;内容提供者完成所有当前服务数量不小于切换服务阈值的内容的完整样本推送后,完成移动切换过程。本发明解决了因内容提供者移动切换造成的请求消息得不到响应、多个请求者通信中断的问题。
A mobile switching method for a content provider in a content-centric network. The content provider records the current service quantity of each content it provides, and sets the switching service threshold according to the actual mobile demand; Whether the current service quantity of a content is not less than the switching service threshold, if so, push the complete sample of the content to the original access router by sending a sample push data packet, so that multiple requesters who request the content can pass The original access router continues to obtain services, ensuring the communication continuity of multiple requesters during its movement; if not, the content provider does not perform any additional operations on the content; the content provider completes all current services. The amount is not less than After the full sample of the content of the switching service threshold is pushed, the mobile switching process is completed. The invention solves the problems that the request message cannot be responded and the communication of multiple requesters is interrupted due to the mobile switching of the content provider.
Description
技术领域technical field
本发明涉及一种内容中心网络(Content Centric Networking)的内容提供者移动切换方法,属于移动通信网络的技术领域。The invention relates to a mobile switching method for a content provider in a content-centric network (Content Centric Networking), and belongs to the technical field of mobile communication networks.
背景技术Background technique
随着互联网的快速发展,用户对内容信息的需求日趋明显和强烈。现在,包括文字、图像或视频点播的内容服务已经成为网络服务的主体。通常,人们并不关心内容的来源,仅仅关心内容本身,或者内容传送的速度、质量,或者内容的安全与否。但是,当前以主机为中心的传统IP网络架构不能适应这种上层应用模式的变化,已经很难满足人们对内容获取的需求。因此,内容中心网络CCN(Content Centric Networking)的各项支撑技术就成为下一代互联网体系架构的研究热点。With the rapid development of the Internet, users' demand for content information is becoming more and more obvious and strong. Now, content services including text, images or video on demand have become the main body of network services. Usually, people don't care about the source of content, but only care about the content itself, or the speed and quality of content transmission, or whether the content is safe or not. However, the current host-centric traditional IP network architecture cannot adapt to changes in the upper-layer application model, and it is difficult to meet people's needs for content acquisition. Therefore, various supporting technologies of CCN (Content Centric Networking) have become a research hotspot of the next generation Internet architecture.
内容中心网络CCN关注的是内容本身,并采用内容名字(Content Name)标识内容,也可以通过内容名字实现内容与内容存储位置的分离。CCN还实现了网络内容的缓存,可以从邻近缓存该内容的路由器获取该内容。这样,就为数据的安全、移动性和组播等提供了天然的支持。The content-centric network CCN focuses on the content itself, and uses the content name (Content Name) to identify the content, and can also separate the content from the content storage location through the content name. CCN also implements caching of network content, which can be fetched from neighboring routers that cache the content. In this way, it provides natural support for data security, mobility and multicast.
在内容中心网络CCN中,内容提供者能够为多个内容请求者服务。如果内容提供者发生移动切换,若内容请求者无法感知其移动切换,仍然发送请求消息至内容提供者的原位置,使得请求消息无法得到响应,造成多个请求者的通信中断。此时,内容提供者就需要分别为多个请求者建立切换过程,造成信令开销大,切换过程复杂,所以内容提供者的移动性研究非常必要、急切和重要。In a content-centric network CCN, a content provider can serve multiple content requesters. If the content provider has a mobile switch, if the content requester cannot perceive its mobile switch, it will still send a request message to the original location of the content provider, so that the request message cannot be responded to, resulting in the interruption of communication among multiple requesters. At this time, the content provider needs to establish handover procedures for multiple requesters separately, resulting in high signaling overhead and complicated handover process, so the research on the mobility of the content provider is very necessary, urgent and important.
在CCN中,内容提供者的移动对正常通信的影响较大,因为内容提供者切换后,需要通告网络中的所有相关路由器更新路由表,造成请求消息不能及时准确发送到内容提供者。此外,内容请求者无法获知是网络问题还是节点移动性造成的数据包无法返回,影响正常通信。再者,如果有大量的内容提供者同时进行移动,也会对正常通信造成影响。In CCN, the movement of the content provider has a greater impact on normal communication, because after the content provider switches, all relevant routers in the network need to be notified to update the routing table, resulting in the request message not being sent to the content provider in a timely and accurate manner. In addition, the content requester cannot know whether the data packet cannot be returned due to network problems or node mobility, which affects normal communication. Furthermore, if a large number of content providers move at the same time, normal communication will also be affected.
现在,针对CCN网络中的内容提供者移动问题,已经研发出一些技术方案,下面具体介绍解决内容提供者移动问题的四大类现有技术及其缺陷所在:At present, some technical solutions have been developed to solve the problem of content provider mobility in the CCN network. The following four types of existing technologies and their defects are introduced in detail to solve the problem of content provider mobility:
第一类是集合点(Rendezvous Point)方法,该方法采用支持CCN移动性的位置管理服务器作为交汇点,用于实现内容名字与内容提供者位置之间的名字解析。内容提供者移动后,向交汇服务器发送消息,更新内容提供者位置。请求者在设定时间内进行位置查询后,交汇点的服务器做出响应,以建立新的连接。其缺陷是新的内容名字的更新/查询和FIB的建立会导致时延较大。The first type is a rendezvous point (Rendezvous Point) method, which uses a location management server supporting CCN mobility as a meeting point to implement name resolution between the content name and the location of the content provider. After the content provider moves, send a message to the rendezvous server to update the location of the content provider. After the requester makes a location query within a set time, the server at the meeting point responds to establish a new connection. Its defect is that the update/query of the new content name and the establishment of the FIB will cause a large time delay.
第二类是间接点(Indirection Point)方法,该间接点是一个永久性的服务器,用于维持目标前缀(target prefix)和源前缀(source prefix)之间的一系列绑定。所有到达内容提供者的请求都必须首先到达间接点,在此处对原请求进行封装,然后通过隧道方式传送到当前位置。所以用户的所有请求包都会先到达间接点,这样不仅容易导致单点故障,而且当间接点不在内容提供者与请求者的最短路径上时,将在相当程度上增大请求者的内容获取时间,浪费网络带宽资源。The second category is the indirection point (Indirection Point) method, the indirection point is a permanent server for maintaining a series of bindings between the target prefix (target prefix) and the source prefix (source prefix). All requests to the content provider must first reach the indirect point, where the original request is encapsulated and then tunneled to the current location. Therefore, all the user's request packets will arrive at the indirect point first, which not only easily leads to a single point of failure, but also increases the content acquisition time of the requester to a considerable extent when the indirect point is not on the shortest path between the content provider and the requester , wasting network bandwidth resources.
第三类是隧道重定向方法,该方案是利用隧道将请求包重定向到内容提供者的新位置。当内容提供者移动切换到另一接入点后,为了继续接收到内容请求者发送的请求包,内容提供者会发送一个前缀更新消息(PU)到家乡路由器。以后,所有的请求包都会路由到内容提供者的家乡路由器进行封装后,再发送到内容提供者的当前位置。当家乡路由器不在用户与内容提供者当前位置的最短路径上时,该机制将在一定程度上增大请求者的内容获取时间,浪费网络的带宽资源。此外,由于需要附加前缀将请求包投递到正确的目的地址,基于隧道重定向方法具有较高的包投递成本。The third category is the tunnel redirection method, in which the tunnel is used to redirect the request packet to a new location of the content provider. When the content provider moves to another access point, in order to continue to receive the request packet sent by the content requester, the content provider will send a prefix update message (PU) to the home router. In the future, all request packets will be routed to the home router of the content provider for encapsulation, and then sent to the current location of the content provider. When the home router is not on the shortest path between the user and the current location of the content provider, this mechanism will increase the content acquisition time of the requester to a certain extent, wasting network bandwidth resources. In addition, due to the need to add a prefix to deliver the request packet to the correct destination address, the tunnel-based redirection method has a high packet delivery cost.
第四类是基于路由的方法,该方法是内容提供者即将执行移动切换时,需向上一跳接入路由器发送切换通告信息,此时接入路由器接收所有发往该内容提供者的请求包并缓存。当内容提供者移动切换到新的接入路由器后,发送一条虚拟请求“virtualinterest”消息,该消息携带有内容提供者的名字信息,网络会根据FIB表的最长前缀匹配原则转发到其原来接入的路由器,这时途径的所有路由器都要更新FIB表中与内容名字对应的接口信息。内容提供者的原接入的路由器收到“virtual interest”消息后,将缓存的Interest消息反向传送给内容提供者,后续的Interest包就可以根据FIB表直接转发,而不必经由其原接入的路由器转发。这种方式虽然减小了路径更新开销和切换时延;但是,由于内容提供者移动切换过程中始终保持内容名字不变,没有考虑切换后的路由聚合收敛问题,会造成FIB表的条目过大,给路由器带来负担。而且,所有的中间路由器都要更新各自的FIB,造成路由表的容量迅速增加,当内容请求者的数量和移动切换频率增加时,这种情况就会愈发严重。The fourth type is a route-based method. In this method, when a content provider is about to perform a mobile handover, it needs to send handover notification information to the previous hop access router. At this time, the access router receives all request packets sent to the content provider and cache. When the content provider moves and switches to a new access router, it sends a virtual request "virtualinterest" message, which carries the name information of the content provider, and the network will forward it to its original access router according to the longest prefix matching principle in the FIB table. Incoming routers, at this time, all routers passing through must update the interface information corresponding to the content name in the FIB table. After receiving the "virtual interest" message, the original router of the content provider sends the buffered Interest message back to the content provider, and the subsequent Interest packets can be forwarded directly according to the FIB table without going through its original access forwarded by the router. Although this method reduces the path update overhead and switching delay; however, since the content provider always keeps the content name unchanged during the mobile switching process, the route aggregation convergence problem after the switching is not considered, and the entries in the FIB table will be too large , burdening the router. Moreover, all intermediate routers have to update their respective FIBs, causing the capacity of the routing table to increase rapidly. When the number of content requesters and the frequency of mobile switching increase, this situation will become more serious.
再介绍目前两项相关发明专利申请文件中的技术方案内容及其缺陷如下:Then introduce the content and defects of the technical solutions in the current two related invention patent application documents as follows:
《一种基于内容流行度的信息中心网络移动性管理方法》(申请号201310471355.4)是按照内容流行度将内容划分为两种,并针对不同流行度的内容分别实施两种不同的移动性管理方法:基于代理节点和基于网络缓存。内容提供者移动后,如果内容流行度小于阈值K,则使用基于代理节点的移动性管理方法,即由代理节点缓存中断请求,并更新内容名字前缀,将interest包路由到内容提供者。如果内容流行度大于阈值K,则使用基于网络缓存的移动性管理方法,即重发interest包并在域内广播。在基于代理节点的移动性管理方法中,通过更新内容名字前缀将Interest包重路由到内容提供者处,这种方法的缺点明显:在维护新旧内容名字前缀映射上的信令开销较大。"A Mobility Management Method for Information Center Network Based on Content Popularity" (Application No. 201310471355.4) divides content into two types according to content popularity, and implements two different mobility management methods for content with different popularity : Based on proxy nodes and network cache. After the content provider moves, if the popularity of the content is less than the threshold K, the proxy node-based mobility management method is used, that is, the proxy node caches the interruption request, updates the content name prefix, and routes the interest packet to the content provider. If the content popularity is greater than the threshold value K, then use the mobility management method based on the network cache, that is, resend the interest packet and broadcast it in the domain. In the proxy node-based mobility management method, the Interest packet is rerouted to the content provider by updating the content name prefix. This method has obvious disadvantages: the signaling overhead for maintaining the mapping between the old and new content name prefixes is relatively large.
《一种内容中心网络中的移动性支持方法》(申请号201310315590.2)的方法是给CCN网络中的每个路由器分配一个特殊位置,并假定内容名字是基于该内容提供者原来接入路由器的位置。当内容提供者完成移动切换后,经过当前接入路由器向其原接入的路由器发送切换完成消息,使当前接入路由器为该内容提供者添加相应的FIB条目,其原接入的路由器更新相应的FIB条目,然后将内容提供者原位置处的请求消息发送至新位置。此发明申请中,需要对内容提供者的内容进行重命名,还存在由于路由表更新产生的路由表聚合问题。The method of "A Mobility Supporting Method in a Content-Centric Network" (Application No. 201310315590.2) is to assign a special location to each router in the CCN network, and assume that the content name is based on the original access router location of the content provider . After the content provider completes the mobile switching, the current access router sends a handover completion message to the original access router, so that the current access router adds a corresponding FIB entry for the content provider, and the original access router updates the corresponding FIB entry of the content provider, and then send the request message at the original location of the content provider to the new location. In this invention application, the content of the content provider needs to be renamed, and there is also the problem of aggregation of the routing table due to the updating of the routing table.
发明内容Contents of the invention
有鉴于此,本发明的目的是提供一种内容中心网络的内容提供者移动切换方法,本发明方法是在内容提供者移动之前,将其提供的当前服务数量不小于切换服务阈值的每个内容的完整样本通过发送样本推送数据包的方式推送到该内容提供者的原接入的路由器。且在完成这些内容的推送后,内容提供者才开始进行移动,这样可以保证内容提供者移动切换前后,多个内容请求者通信过程的连续性,从而较好地解决了目前存在的因内容请求者无法感知内容提供者的移动切换,造成请求消息无法得到响应,并且通信被迫中断的缺陷。In view of this, the object of the present invention is to provide a content provider mobile switching method in a content-centric network. The method of the present invention is to provide each content whose current service quantity is not less than the switching service threshold before the content provider moves. The complete sample is pushed to the original access router of the content provider by sending the sample push data packet. And after the push of these contents is completed, the content provider starts to move, which can ensure the continuity of the communication process of multiple content requesters before and after the mobile switching of the content provider, thus better solving the existing problems caused by content requests. The operator cannot perceive the mobile switching of the content provider, causing the request message to be unresponsive and the communication to be interrupted.
为了达到上述目的,本发明提供了一种内容中心网络的内容提供者移动切换方法,其特征在于:内容提供者记录其提供的每个内容的当前服务数量,并根据实际移动需求设定切换服务阈值;所述切换服务阈值是内容提供者根据其提供的每个内容的当前服务数量,用于判断在其移动切换前,是否主动推送该内容至其原接入的路由器而设定的阈值;内容提供者移动之前,先判断此时每个内容的当前服务数量是否大于或等于切换服务阈值,若是,则将该当前服务数量大于或等于切换服务阈值的内容的完整样本,采用发送样本推送数据包的方式推送到该内容提供者的原接入的路由器,以使请求该内容的多个请求者能够通过该内容提供者的原接入的路由器继续获得服务,保证在该内容提供者移动过程中,该多个请求者通信的连续性;若否,即内容的当前服务数量小于切换服务阈值,则内容提供者对该内容不执行任何附加操作;内容提供者完成所有当前服务数量不小于切换服务阈值的内容的完整样本的推送后,完成移动切换过程。In order to achieve the above object, the present invention provides a mobile switching method for a content provider in a content-centric network, which is characterized in that: the content provider records the current service quantity of each content it provides, and sets the switching service according to the actual mobile demand Threshold; the switching service threshold is the threshold set by the content provider for judging whether to actively push the content to its original access router before its mobile switching according to the current service quantity of each content it provides; Before the content provider moves, first judge whether the current service quantity of each content is greater than or equal to the switching service threshold at this time, and if so, send the complete sample of the content whose current service quantity is greater than or equal to the switching service threshold, and send the sample push data Packets are pushed to the original access router of the content provider, so that multiple requesters who request the content can continue to obtain services through the original access router of the content provider, ensuring that during the content provider’s moving process Among them, the communication continuity of the multiple requesters; if not, that is, the current service quantity of the content is less than the switching service threshold, the content provider does not perform any additional operations on the content; the content provider completes all the current service quantity is not less than the switching service threshold After the push of the complete sample of the content of the service threshold, the mobile handover process is completed.
所述方法包括下列操作步骤:The method comprises the following steps:
(1)内容提供者记录其提供的每个内容的当前服务数量,并根据实际移动需求设定切换服务阈值;(1) The content provider records the current service quantity of each content it provides, and sets the switching service threshold according to the actual mobile demand;
(2)内容提供者在移动之前,先判断此时每个内容的当前服务数量是否大于或等于切换服务阈值,若是,则执行后续步骤(3);若否,则内容提供者开始移动切换过程,并跳转执行步骤(7):(2) Before moving, the content provider first judges whether the current service quantity of each content is greater than or equal to the switching service threshold, if so, then executes the subsequent step (3); if not, the content provider starts the mobile switching process , and jump to step (7):
(3)内容提供者将当前服务数量大于或等于切换服务阈值的每个内容的完整样本,采用发送样本推送数据包的方式主动推送到该内容提供者的原接入的路由器;(3) The content provider actively pushes the complete sample of each content whose current service quantity is greater than or equal to the switching service threshold to the original access router of the content provider by sending a sample push data packet;
(4)内容提供者的原接入的路由器接收到样本推送数据包后,先将样本推送数据包中的内容缓存;然后向该内容提供者发送样本确认反馈包;(4) After the original access router of the content provider receives the sample push data packet, it first caches the content in the sample push data packet; then sends a sample confirmation feedback packet to the content provider;
(5)内容提供者完成所有当前服务数量不小于切换服务阈值的内容的完整样本的推送操作,并接收到全部内容的样本确认反馈包后,开始移动切换过程;(5) The content provider completes the push operation of all complete samples of content whose current service quantity is not less than the switching service threshold, and starts the mobile switching process after receiving the sample confirmation feedback package of all content;
(6)在内容提供者移动切换期间,因该内容提供者的原接入的路由器已经缓存当前服务数量大于或等于切换服务阈值的内容的完整样本,故请求这些内容的多个请求者仍然通过内容提供者的原接入的路由器继续获得服务,保证多请求者通信的连续性;(6) During the mobile handover of the content provider, because the original access router of the content provider has cached complete samples of the content whose current service quantity is greater than or equal to the switching service threshold, multiple requesters who request these contents still pass through The original access router of the content provider continues to obtain the service, ensuring the continuity of the multi-requester communication;
(7)内容提供者移动切换完成后,内容服务请求根据当前的网络状态进行处理:从该内容提供者的原接入的路由器或该内容提供者新位置处得到响应。(7) After the mobile switching of the content provider is completed, the content service request is processed according to the current network state: a response is obtained from the original access router of the content provider or the new location of the content provider.
所述样本推送数据包是在传统数据包的基础上,增加选择项字段Sample PushFlag所组成:Sample Push Flag=1为样本推送数据包,Sample Push Flag=0为传统数据包。The sample push data packet is formed by adding an option field Sample PushFlag on the basis of the traditional data packet: Sample Push Flag=1 is the sample push data packet, and Sample Push Flag=0 is the traditional data packet.
所述样本推送数据包是内容提供者向该内容提供者的原接入的路由器发送的专用数据包,其用途是将当前服务数量大于或等于切换服务阈值的内容的完整样本推送至该内容提供者的原接入的路由器,以使该内容提供者的原接入的路由器接收到样本推送数据包后,缓存其中的内容信息。The sample push data packet is a dedicated data packet sent by the content provider to the original access router of the content provider. The original access router of the content provider, so that the original access router of the content provider caches the content information after receiving the sample push data packet.
所述样本确认反馈包是在传统请求包的基础上,增加选择项字段Sample AckFlag所组成:Sample Ack Flag=1为样本确认反馈包,Sample Ack Flag=0为传统请求包。The sample acknowledgment feedback packet is formed by adding an option field Sample AckFlag on the basis of the traditional request packet: Sample Ack Flag=1 is the sample acknowledgment feedback packet, and Sample Ack Flag=0 is the traditional request packet.
所述样本确认反馈包是内容提供者的原接入的路由器接收到样本推送数据包并将其中内容缓存完成后,向内容提供者反馈发送的确认包。The sample confirmation feedback packet is a confirmation packet sent back to the content provider after the original access router of the content provider receives the sample push data packet and caches the content in it.
本发明方法的创新特点是:内容提供者在移动切换之前,要记录其提供的每个内容的当前服务数量,并根据实际移动需求设定切换服务阈值——用于判断是否主动推送内容至其原接入的路由器而设定的阈值。并且,定义样本推送数据包和样本确认反馈包,当内容提供者提供的内容的当前服务数量大于或等于切换服务阈值时,内容提供者就通过发送样本推送数据包的方式将该内容的完整样本推送到内容提供者的原接入的路由器,从而使得在其移动切换期间,保证请求该内容的多个请求者通信过程的连续性。内容提供者移动切换完成后,内容服务请求根据当前的网络状态进行相应的处理:分别从该内容提供者的原接入的路由器、或者该内容提供者新位置处得到响应。The innovative feature of the method of the present invention is: before the mobile switching, the content provider should record the current service quantity of each content it provides, and set the switching service threshold according to the actual mobile demand—for judging whether to actively push the content to its The threshold set by the original access router. In addition, the sample push data package and the sample confirmation feedback package are defined. When the current service quantity of the content provided by the content provider is greater than or equal to the switching service threshold, the content provider sends a complete sample of the content by sending a sample push data package. Push to the original access router of the content provider, so that during its mobile switching, the continuity of the communication process of multiple requesters requesting the content is guaranteed. After the mobile switching of the content provider is completed, the content service request is processed according to the current network state: responses are obtained from the original router of the content provider or the new location of the content provider.
总之,本发明能够保证在内容提供者移动切换过程中,请求消息及时得到响应,并且多个内容请求者在整个通信过程中的连续性。In a word, the present invention can ensure that the request message is responded in time during the mobile switching process of the content provider, and the continuity of multiple content requesters in the whole communication process.
本发明方法的操作步骤简单、容易、便利,较好地解决了现有技术存在的弊病,具有很好的推广应用前景。The operation steps of the method of the present invention are simple, easy and convenient, better solve the disadvantages of the prior art, and have good prospects for popularization and application.
附图说明Description of drawings
图1是本发明内容中心网络的内容提供者移动切换方法的应用场景示意图。FIG. 1 is a schematic diagram of an application scenario of a mobile switching method for a content provider in a content-centric network of the present invention.
图2是本发明内容中心网络的内容提供者移动切换方法的操作步骤流程图。FIG. 2 is a flow chart of the operation steps of the content provider mobile switching method in the content-centric network of the present invention.
图3是本发明内容中心网络的内容提供者移动切换方法的时序图。Fig. 3 is a sequence diagram of the content provider mobile switching method in the content-centric network of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
参见图1,介绍本发明方法的应用场景:内容提供者服务器为多个请求者(图示为请求者1、请求者2…、请求者n)提供服务。内容提供者服务器移动切换之前的原接入的路由器是R1,内容提供者服务器移动切换后接入的路由器是R2。Referring to FIG. 1 , the application scenario of the method of the present invention is introduced: a content provider server provides services for multiple requesters (requester 1, requester 2..., requester n). The router that the content provider server is connected to before the mobile switching is R1, and the router that the content provider server is connected to after the mobile switching is R2.
内容提供者服务器在切换移动前,将当前服务数量大于或等于切换服务阈值的每个内容的完整样本采用样本推送数据包的方式推送到R1中,完成推送后,R1中就有相关内容的缓存。内容提供者服务器移动切换期间,请求者不知道内容提供者已经发生移动,请求消息仍然发向内容提供者服务器的原位置,这时,这些请求消息可以从R1中获得响应,可以保证请求者通信的连续性。内容提供者服务器移动切换完成后,未完成的请求和新的请求根据现有路由机制进行转发,可以从内容提供者服务器的原接入的路由器R1获得服务,也可以从内容提供者服务器的新位置得到响应。Before switching and moving, the content provider server pushes a complete sample of each content whose current service quantity is greater than or equal to the switching service threshold to R1 in the form of a sample push data packet. After the push is completed, there is a cache of relevant content in R1 . During the mobile switching of the content provider server, the requester does not know that the content provider has moved, and the request message is still sent to the original location of the content provider server. At this time, these request messages can get a response from R1, which can ensure the communication of the requester continuity. After the mobile switching of the content provider server is completed, the unfinished requests and new requests are forwarded according to the existing routing mechanism, and services can be obtained from the original access router R1 of the content provider server, or from the new router R1 of the content provider server. The location is responded to.
本发明是一种内容中心网络的内容提供者移动切换方法:内容提供者记录其提供的每个内容的当前服务数量,并根据实际移动需求设定切换服务阈值;所述切换服务阈值是内容提供者根据其提供的每个内容的当前服务数量,用于判断在其移动切换前,是否主动推送该内容至其原接入的路由器而设定的阈值;内容提供者移动之前,先判断此时每个内容的当前服务数量是否大于或等于切换服务阈值,若是,则将该当前服务数量大于或等于切换服务阈值的内容的完整样本,采用发送样本推送数据包的方式推送到该内容提供者的原接入的路由器,以使请求该内容的多个请求者能够通过该内容提供者的原接入的路由器继续获得服务,保证在该内容提供者移动过程中,该多个请求者通信的连续性;若否,即内容的当前服务数量小于切换服务阈值,则内容提供者对该内容不执行任何附加操作;内容提供者完成所有当前服务数量不小于切换服务阈值的内容的完整样本的推送后,完成移动切换过程。The present invention is a content provider mobile switching method in a content-centric network: the content provider records the current service quantity of each content it provides, and sets the switching service threshold according to the actual mobile demand; the switching service threshold is the content provider According to the current service quantity of each content provided by it, it is used to judge whether to actively push the content to the router it originally accessed before the mobile handover; Whether the current service quantity of each content is greater than or equal to the switching service threshold, and if so, push the complete sample of the content whose current service quantity is greater than or equal to the switching service threshold to the content provider by sending sample push data packets The original access router, so that multiple requesters who request the content can continue to obtain services through the original access router of the content provider, and ensure the continuity of communication between the multiple requesters during the movement of the content provider If not, that is, the current service quantity of the content is less than the switching service threshold, the content provider will not perform any additional operations on the content; after the content provider completes the push of all the complete samples of the content whose current service quantity is not less than the switching service threshold to complete the mobile switching process.
参见图2和图3,介绍本发明方法的下列具体操作步骤及其时序图:Referring to Fig. 2 and Fig. 3, introduce the following specific operation steps and sequence diagram thereof of the inventive method:
步骤1,内容提供者记录其提供的每个内容的当前服务数量,并根据实际移动需求设定切换服务阈值;Step 1. The content provider records the current service quantity of each content it provides, and sets the switching service threshold according to the actual mobile demand;
步骤2,内容提供者在移动之前,先判断此时每个内容的当前服务数量是否大于或等于切换服务阈值,若是,则执行后续步骤(3);若否,则内容提供者开始移动切换过程,并跳转执行步骤(7):Step 2, before the content provider moves, first judge whether the current service quantity of each content is greater than or equal to the switching service threshold, if so, then perform the subsequent step (3); if not, then the content provider starts the mobile switching process , and jump to step (7):
步骤3,内容提供者将当前服务数量大于或等于切换服务阈值的每个内容的完整样本,采用发送样本推送数据包的方式主动推送到该内容提供者的原接入的路由器;Step 3, the content provider actively pushes the complete sample of each content whose current service quantity is greater than or equal to the switching service threshold to the original access router of the content provider by sending a sample push data packet;
步骤4,内容提供者的原接入的路由器接收到样本推送数据包后,先将样本推送数据包中的内容缓存;然后向该内容提供者发送样本确认反馈包;Step 4: After receiving the sample push data packet, the original router of the content provider caches the content in the sample push data packet; then sends a sample confirmation feedback packet to the content provider;
步骤5,内容提供者完成所有当前服务数量不小于切换服务阈值的内容的完整样本的推送操作,并接收到全部内容的样本确认反馈包后,开始移动切换过程;Step 5: The content provider completes the push operation of all complete samples of content whose current service quantity is not less than the switching service threshold, and starts the mobile switching process after receiving the sample confirmation feedback package of all content;
步骤6,在内容提供者移动切换期间,因该内容提供者的原接入的路由器已经缓存当前服务数量大于或等于切换服务阈值的内容的完整样本,故请求这些内容的多个请求者仍然通过内容提供者的原接入的路由器继续获得服务,保证多请求者通信的连续性;Step 6: During the mobile handover of the content provider, because the original access router of the content provider has cached complete samples of the content whose current service quantity is greater than or equal to the switching service threshold, multiple requesters who request these contents still pass through The original access router of the content provider continues to obtain the service, ensuring the continuity of the multi-requester communication;
步骤7,内容提供者移动切换完成后,内容服务请求根据当前的网络状态进行处理:从该内容提供者的原接入的路由器或该内容提供者新位置处得到响应。Step 7: After the mobile switching of the content provider is completed, the content service request is processed according to the current network status: a response is obtained from the original router of the content provider or the new location of the content provider.
因为本发明方法定义了两种新的数据包:样本推送数据包和样本确认反馈包,下面分别对其进行详细介绍:Because the method of the present invention defines two new data packets: the sample push data packet and the sample confirmation feedback packet, which are described in detail below:
样本推送数据包是在传统数据包的基础上,增加选择项字段Sample Push Flag所组成:Sample Push Flag=1为样本推送数据包,Sample Push Flag=0为传统数据包。The sample push data packet is formed by adding an option field Sample Push Flag on the basis of the traditional data packet: Sample Push Flag=1 is a sample push data packet, and Sample Push Flag=0 is a traditional data packet.
样本推送数据包是内容提供者向该内容提供者的原接入的路由器发送的专用数据包,其用途是将当前服务数量大于或等于切换服务阈值的内容的完整样本推送至该内容提供者的原接入的路由器,以使该内容提供者的原接入的路由器接收到样本推送数据包后,缓存其中的内容信息。样本推送数据包的报头组成结构如下表所示:The sample push data packet is a dedicated data packet sent by the content provider to the original access router of the content provider. Its purpose is to push the complete sample of the content whose current service quantity is greater than or equal to the switching service threshold to the content provider. The original access router, so that the original access router of the content provider caches the content information therein after receiving the sample push data packet. The header structure of the sample push data packet is shown in the following table:
CCN机制中,当传统数据包到达路由器后,路由器首先查看PIT表,如果PIT表中存在与数据包中相同内容名字的表项,则路由器就将该数据包中的内容缓存,并将数据包按照表项中的接口转发出去;否则,丢弃该数据包。当路由器收到样本推送数据包后,因PIT表中没有与样本推送数据包中内容名字对应的记录,路由器执行的操作是将样本推送数据包中的内容缓存,然后丢弃该样本推送数据包。In the CCN mechanism, when a traditional data packet arrives at the router, the router first checks the PIT table. If there is an entry with the same content name as that in the data packet in the PIT table, the router caches the content in the data packet and saves the data packet Forward the packet according to the interface in the entry; otherwise, discard the packet. After the router receives the sample push data packet, because there is no record corresponding to the content name in the sample push data packet in the PIT table, the operation performed by the router is to cache the content in the sample push data packet, and then discard the sample push data packet.
样本确认反馈包也是在传统请求包的基础上,增加选择项字段Sample Ack Flag所组成:Sample Ack Flag=1为样本确认反馈包,Sample Ack Flag=0为传统请求包。样本确认反馈包是内容提供者的原接入的路由器接收到样本推送数据包并将其中内容缓存完成后,向内容提供者反馈发送的确认响应包。样本数据反馈包的报头组成结构如下表所示:The sample acknowledgment feedback packet is also based on the traditional request packet, and the option field Sample Ack Flag is added: Sample Ack Flag=1 is the sample acknowledgment feedback packet, and Sample Ack Flag=0 is the traditional request packet. The sample confirmation feedback packet is a confirmation response packet sent back to the content provider after the original access router of the content provider receives the sample push data packet and caches the content in it. The header structure of the sample data feedback packet is shown in the following table:
本发明方法已经进行了多次实施试验,这些试验的结果表明,本发明方法是成功的,实现了发明目的。The method of the present invention has carried out many implementation tests, and the results of these tests show that the method of the present invention is successful and realizes the purpose of the invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611197126.8A CN106603297B (en) | 2016-12-22 | 2016-12-22 | Content provider's mobile switch method of content center network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611197126.8A CN106603297B (en) | 2016-12-22 | 2016-12-22 | Content provider's mobile switch method of content center network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106603297A true CN106603297A (en) | 2017-04-26 |
| CN106603297B CN106603297B (en) | 2019-05-31 |
Family
ID=58602265
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611197126.8A Active CN106603297B (en) | 2016-12-22 | 2016-12-22 | Content provider's mobile switch method of content center network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106603297B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112351075A (en) * | 2020-10-21 | 2021-02-09 | 重庆邮电大学 | Combined mobile management method and system based on content-centric networking |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103581341A (en) * | 2013-11-25 | 2014-02-12 | 中国科学院计算机网络信息中心 | Distributed mobile data transmission method for CCN (Content-Centric Networking) |
| CN103581019A (en) * | 2013-10-10 | 2014-02-12 | 北京交通大学 | Information center network mobility management method based on content popularity |
| WO2015077992A1 (en) * | 2013-11-29 | 2015-06-04 | 华为技术有限公司 | Device, method, and communication system for data transmission based on content centric network |
-
2016
- 2016-12-22 CN CN201611197126.8A patent/CN106603297B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103581019A (en) * | 2013-10-10 | 2014-02-12 | 北京交通大学 | Information center network mobility management method based on content popularity |
| CN103581341A (en) * | 2013-11-25 | 2014-02-12 | 中国科学院计算机网络信息中心 | Distributed mobile data transmission method for CCN (Content-Centric Networking) |
| WO2015077992A1 (en) * | 2013-11-29 | 2015-06-04 | 华为技术有限公司 | Device, method, and communication system for data transmission based on content centric network |
Non-Patent Citations (1)
| Title |
|---|
| BO HU等: "PCVN:Proactive Caching of Vital Nodes to Support Provider Mobility in Content-Centric Networking", 《IEEE》 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112351075A (en) * | 2020-10-21 | 2021-02-09 | 重庆邮电大学 | Combined mobile management method and system based on content-centric networking |
| CN112351075B (en) * | 2020-10-21 | 2022-08-12 | 重庆邮电大学 | A content-centric network-based joint mobility management method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106603297B (en) | 2019-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8837511B2 (en) | Seamless mobility schemes in names-data networking using multi-path routing and content caching | |
| CN104025555B (en) | The Seamless Mobile scheme of Multi-path route and content caching is used in naming data network | |
| EP2638688B1 (en) | Traffic acceleration in mobile network | |
| JP5377770B2 (en) | Name address mapping system, data transmission method, and name address mapping maintenance method | |
| CN102075420B (en) | Location identifier and host identifier separation-based system and mobility management method thereof | |
| CN101925125B (en) | Method of multipath TCP having mobility and combined with mobile IP (internet protocol) | |
| CN103581341B (en) | A kind of distributed mobility data transmission method of CCN | |
| WO2010139115A1 (en) | Method and device for multiple rendezvous points processing multicast services of mobile multicast source jointly | |
| CN105357281B (en) | A mobile access network distributed content cache access control method and system | |
| WO2015062147A1 (en) | Data transmission method for mobile receiver in publish/subscribe system | |
| KR20170036610A (en) | System and method for eliminating undetected interest looping in information-centric networks | |
| JP2017143507A (en) | Network element system | |
| Rao et al. | NLBA: A novel provider mobility support approach in mobile NDN environment | |
| CN103415047B (en) | Mobile support method in a kind of content center network | |
| CN116347554B (en) | A data processing method, device and system | |
| CN107733948A (en) | The user mobility that content is distinguished in a kind of CCN networks supports method | |
| CN106603297A (en) | Content provider mobile switching method of content center network | |
| CN105429887B (en) | The method and system of internet group management protocol snooping processing during a kind of website roaming | |
| CN107396335B (en) | Mobile Handover Management Method in Heterogeneous Network | |
| CN101562561A (en) | Method for realizing mobile network routing and network thereof | |
| CN101047617B (en) | Method and device of mobile multicast switchover | |
| KR20150123401A (en) | A Cloud-based Routing Method Using Content Caching in Content-Centric Networking | |
| Huang et al. | Mobility support for content source in content-centric networking | |
| WO2014187416A1 (en) | Multicast group optimization method and anchor | |
| CN107733946B (en) | Content source mobility support method based on active forwarding in CCN (content centric network) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |