CN103747083A - Content pushing method based on CCN (Content Centric Network) - Google Patents

Content pushing method based on CCN (Content Centric Network) Download PDF

Info

Publication number
CN103747083A
CN103747083A CN201410002223.1A CN201410002223A CN103747083A CN 103747083 A CN103747083 A CN 103747083A CN 201410002223 A CN201410002223 A CN 201410002223A CN 103747083 A CN103747083 A CN 103747083A
Authority
CN
China
Prior art keywords
pit
content
bag
interest
interest bag
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
Application number
CN201410002223.1A
Other languages
Chinese (zh)
Other versions
CN103747083B (en
Inventor
黄韬
刘江
王利
董美姣
许光军
王国卿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201410002223.1A priority Critical patent/CN103747083B/en
Publication of CN103747083A publication Critical patent/CN103747083A/en
Application granted granted Critical
Publication of CN103747083B publication Critical patent/CN103747083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a content pushing method based on a CCN (Content Centric Network). A content pusher actively initiates communication, so that content can be directly pushed to a receiving user without a user request, multiple times of interaction are not needed, and reverse pushing paths of multiple contents can be established through triggering of a specific interest packet, so that the communication delay and the link load are greatly reduced. The content pushing method can be applied to many application scenes, such as a micro blog, which is frequently used at present, big file transfer, stocks and weather forecasting, so that the actual application of the CCN network is enriched.

Description

A kind of content delivery method based on CCN
Technical field
The invention belongs to technical field of the computer network, be specifically related to a kind of content delivery method based on CCN.
Background technology
Along with the development applied on the Internet changes, the existing the Internet based on TCP/IP also exposes many inadaptable gradually, and current, the problem mainly exposing on the Internet has: dangerous, poor mobility, poor reliability, very flexible.The extensibility of the Internet and effectively contents distribution problem have caused nerve of a covering (Overlay Network) and content distributing network (Content Delivery Network) scholars' research boom.The Internet is just progressively changed to content center by host center.CCN(content centric network, content center network) be the current comparatively research direction of main flow.
Summary of the invention
For overcoming above-mentioned the deficiencies in the prior art, the present invention proposes a kind of content delivery method based on CCN, thereby effectively promote the performance of CCN network, it is characterized in that:
Propelling movement side's structure special interests bag also sends this special interests bag;
Intermediate node is resolved interest bag, and judges in interest bag, whether to comprise PIT specific fields;
If intermediate node detects PIT specific fields, revise PIT entry;
Intermediate node is revised port, sets up reverse PIT;
Intermediate node is forwarded to next node according to FIB route by described special interests bag;
Recipient sets up reverse PIT;
Propelling movement side triggers interest bag inquiry PIT coupling entry;
The port repeating that propelling movement side records content from PIT.
Preferably, if described, judge that the result that whether comprises PIT specific fields in interest bag is no, according to normal CCN flow process, continue to process.
Preferably, described normal CCN flow process is specially:
When requesting party needs request content, initiatively send interest bag; Intermediate node is understood query contents buffer memory (CS), PIT and FIB successively after receiving interest bag;
If the content that does not have requesting party to ask in CS, intermediate node records the port numbers that receives interest bag on PIT;
Intermediate node forwards this interest bag according to FIB; Each interest is surrounded by a random number (nonce); Each CCN node, when receiving interest bag, judges the title of interest bag, and when receiving one with title but the interest bag of different nonce, CCN adds the port that this interest bag is come in PIT; If the two is all identical for the interest bag title and nonce received, CCN node will abandon this repetition interest bag;
Content source receives the CS that searches oneself after interest bag, if the content that exists requesting party to ask in CS is pressed original route according to the port information of PIT record; Via intermediate node, turn round this content;
The intermediate node of content process is buffered in copy of content in local CS.
Content recipient title in the special interests bag of preferably, constructing, need one or more in the burst quantity that pushes and initial burst number and content name.
Preferably, if described intermediate node detects PIT specific fields, revise PIT entry and further comprise: remove the assembly that PIT flag bit above and last represent PIT quantity;
Build several new continuous interest bags;
Search the forwarding port of interest bag, interest bag is forwarded to port and add in PIT entry;
Added after PIT entry, do not forwarded this several interest bags, directly interest bag has been abandoned.
Preferably, the port repeating that described propelling movement side records content from PIT further comprises:
Search CS and found after matching content, directly according to the PIT setting up, carried out the forwarding of content.
Preferably, described intermediate node is forwarded to next node according to FIB route by described special interests bag and further comprises:
Intermediate node forwards special interests bag, until arrive the reception of content, stops forwarding just now.
Preferably, intermediate node does not forward for adding several interest bags that build during reverse PIT, at reverse PIT, after setting up, is abandoning.
Preferably, described recipient sets up reverse PIT and is specially:
When special interests bag arrives recipient, recipient sets up PIT, and name prefix is consistent with intermediate node handles, but PIT port numbers is recipient's local port number;
When packet arrives user B, searching PIT port is local port, will can not continue to forward content but is directly stored in local CS.
Preferably, described reverse PIT, is that the incoming face in PIT and outgoing face are exchanged to placement.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, below with preferred embodiment of the present invention and coordinate accompanying drawing to be described in detail as follows.
Accompanying drawing explanation
Fig. 1 shows CCN protocol stack model;
Fig. 2 shows CCN packet format;
Fig. 3 shows CCN inter-node communication flow chart;
Fig. 4 shows the flow chart that content pushes of realizing in CCN according to an embodiment of the invention.
Embodiment
Technological means and the effect for further setting forth the present invention, for reaching predetermined goal of the invention, taked, below in conjunction with accompanying drawing and preferred embodiment, to a kind of its embodiment of the content delivery method based on CCN, feature and the effect thereof that propose according to the present invention, be described in detail as follows.In following explanation, the not necessarily same embodiment that different " embodiment " or " embodiment " refer to.In addition, special characteristic, structure or the feature in one or more embodiment can be combined by any suitable form.
Fig. 1 shows the model of CCN protocol stack.Protocol stack structure based on CCN is similar with the protocol stack structure based on TCP/IP, is all hourglass model.Wherein not being both of maximum, is used Content chunk (content blocks) agreement to replace IP agreement.From the angle of network, in network, numerical nomenclature is replaced physical entity is named.In addition, built-in memory function in network, is used for the packet of buffer memory process, in order to accelerate the response time of other user's access cache packets, can reduce the flow in network simultaneously.
CCN communication is driven by data consumer, and data can be carried out the transmission of piece level.In CCN, comprise the bag of two types: interest bag (Interest Packet) and packet (Data Packet).Fig. 2 shows the packet format of CCN.Interest bag (Interest Packet) comprises finger content name (Content Name), for unique identification content; Selector (Selector), comprises some optional parameters, for determining the processing method of interest bag, and for example Scope=0, interest bag can not forward to other application programs of this main frame, and Scope=1 can not forward to the main frame of initiating interest bag; Random number (Nonce), for unique identification interest bag, avoids repetition.Packet comprises, content name (Content Name), for unique identification content name; Signature (Signature), for unique identification content sources and content name; Signing messages (Signed Info), comprises the time, and the information such as key, for arranging content parameters; Data (Data) refer to the data content of real transmission.Need the user of related content by node, to multiple directions, by interest bag, to send request according to the FIB of self, if any, receive that the node of this request has the content that can meet this request, by packet, to requesting node, send response data.This corresponding relation is to be based upon on the basis that content is identified, and each content has a concrete sign.Interest bag and packet location-independent, on a broadcast medium, has the request of same content demand can share identical content and Internet Transmission, thereby has saved Internet resources, has improved network transmission efficiency.
The sign of content is exactly the address of CCN in fact.This sign is structurized, conventionally by several assemblies (being also component), formed, wherein between each assembly by/separate by this structurized address, can utilize to be similar to IP address prefix mechanism and to locate rapidly needed information.For example/catr.cn/videos/WidgetA.mpg/_v<timestampGrea tT.GreaT.GT/_s3, wherein catr.cn is that the whole network distinguished name claims, videos is content type, WidgetA.mpg is content name, _ v<timestamp> is that the information, _ s3 such as version time are the information such as segmentation.
If the content name of interest bag (Content name) is the prefix of the content name (Content name) of packet, represent that this packet meets request.Content name can dynamically generate, and allows while not existing being applied in of this request content to receive interest bag interim this content that produces.Be similar to, Dynamic Web, static content and Dynamic Generation mix support.
Term Face(face) refer to the interface that is coupled to application or network on CCN transponder.Face can be based on hardware or software.Such CCN interface is called as Face to make them to play differentiation effect with the interface (interface) of the physical network interface in router term.
When a bag arrives a Face, by utilizing content name to carry out longest prefix match, search, wherein will use three critical datas and complete forwarding (FIB, content caching, PIT).FIB(Forwarding information base, forwarding information base) be equivalent to the routing table in IP agreement, but allow multiple outlets, rather than only limit to one.Content caching (Content store) can be used LRU(least recently used) strategy and life span (TTL, time to live) etc. access vector cache forward packet, for other consumers, use, improve the hit rate of packet.PIT(Pending Interesting Table, interest table undetermined) for recording content name and the port numbers of the interest bag having forwarded, thus allow the packet of response arrive its corresponding requestor according to port numbers.After the packet of response interest utilizes certain entry of PIT to forward or life span expire, this entry is deleted.
When an Interest bag (interest bag) arrives a certain node, first according to interest bag matching content buffer memory, if there is the content matching, utilize the content response request of coupling and abandon Interest bag; If there is no the content matching, description is not buffered or cache-time expires and is replaced, now start to mate PIT, if there is the PIT entry of coupling, explanation may other users be asked same content not long ago, can carry out PIT polymerization herein, in the corresponding entry of PIT, increase Face, and abandon Interest bag; If there is no the content matching, according to interest bag longest prefix match FIB, arrives Face except Interest wraps according to the Face(of all couplings) forward Interest bag, if still there is not the Face matching, abandon this Interest bag.
The processing of data bag (packet) is relatively simple, when packet arrives, the first Content Name(content name to packet) field carries out longest prefix match, first at Content Store(content caching) in mate, if there is the content of coupling, the content of returning is invalid content, and the interest bag of request should be responded before, therefore abandon this packet; If there is no the content of coupling, start in PIT, to continue coupling, if there is the entry of coupling, the port numbers content being recorded from PIT forwards, be buffered in Content Store(content caching simultaneously), if there is no the entry of coupling, abandons this packet.
Fig. 3 shows CCN inter-node communication flow chart.Between user A and content source B, may there is several intermediate nodes C, for for purpose of brevity, in Fig. 3, exemplarily only show an intermediate node C.Wherein user A also can be known as node A, and same content source B also can be known as Node B or user is B.As shown in 301, when user A needs request content, initiatively send interest bag; Intermediate node C can inquire about CS(Content Store, content caching after receiving interest bag successively), PIT and FIB.If the content that does not have user A to ask in CS, intermediate node C records the port numbers that receives interest bag on PIT; As shown in 302, intermediate node C forwards this interest bag according to FIB; Each interest is surrounded by a nonce(random number); Each CCN node, when receiving interest bag, will judge the title of interest bag, and when receiving one with title but the interest bag of different nonce, CCN is by the port that adds this interest bag come in PIT; If the two is all identical for the interest bag title and nonce received, CCN node will abandon this repetition interest bag; As shown in step 303, content source B receives the CS that first searches oneself after interest bag, if the content that exists user A to ask in CS is pressed original route according to the port information of PIT record, as shown in step 304, via intermediate node C, turns round this content.Meanwhile, the intermediate node C of content process can be buffered in copy of content in local CS.
The form of PIT entry is as shown in table 1 below, and wherein Face0 refers to the port that interest bag enters.
Interest?name?prefix Incoming?faces
name Face0
Table 1:PIT entry format
The form of FIB entry is as shown in table 2 below, and wherein Face1 refers to the port that interest is contracted out.
Interest?name?prefix Outcoming?faces
name Face1,Face2
Table 2:FIB entry format
Under normal circumstances, only have by user and initiatively send interest bag, could trigger and obtain corresponding contents.But a lot of application scenarioss need to directly be pushed to user by content, such as present widely used microblogging, real-time speech communicating, large file transmission, stock, weather forecast etc.
In CCN, can set up a PIT path by sending the triggering of interest bag, when content need to be returned, can return by searching PIT path.If user A needs the content of initiatively initiating to user B to push, need between user A and user B, set up a PIT path make can be correct without the content of user B request be pushed to user B.User A can directly search CS and carry out the propelling movement of content, and without starting to search CS receiving interest Bao Shicai.Correspondingly user B can allow to receive and store the content without oneself request.
In a specific embodiment of the present invention, user A sends a special interests bag, intermediate node C between user A and user B receives after special interests bag, by interpolation PIT entry and revise PIT middle port direction, between user A and user B, directly set up a reverse PIT path, make not have requested content to forward according to reverse PIT path, thereby without the active request of user B, content just can directly be pushed to user B from user A by packet.
In a specific embodiment of the present invention, oppositely PIT, exchanges placement the incoming face in normal PIT and outgoing face.By building reverse PIT, can " cheat " PIT, when propelling movement side user A has this content, just can be by this content active push to recipient user B.
In a specific embodiment of the present invention, the normal interest bag of mentioning in scheme of the invention in addition refers to the interest bag that does not comprise specific fields " PIT ", and special interests bag refers to the interest bag that comprises specific fields " PIT ", for example ccnx:/B/PIT/B/name/%FD%versionnumber/%pushnumber/n is special interests bag, and ccnx:/B/name/%FD%versionnumber/%pushnumber is normal interest bag." PIT " is herein only exemplary explanation, can under the prerequisite that does not depart from design of the present invention, use other specific fields.It should be noted that, due to the bag of two types of interesting bag and packets only in CCN, in some scenes, in order to enrich the application of CCN, can in CCN wraps, add specific fields to be different from common interest bag and packet.In CCN, specific fields generally all refers to and in interest bag name, adds a field that is similar to " PIT ", make this interest bag can complete different functions, such as adding " Video " field to construct special interests bag in interest bag in order to optimize on-demand process in video request-program process.
(when the interest sending comprises specific fields PIT) under normal circumstances, user A sends interest bag to user B, at intermediate node C place, can first inquire about CS and there is no buffer memory, if then inquire about in PIT PIT and do not have occurrence, start to set up PIT entry, suppose that interest bag arrives and forwards from the Face1 of intermediate node C from the Face2 of intermediate node C, the PIT entry of adding at intermediate node C place is interest bag name and Face2(, and PIT entry is as shown in table 3 below under normal circumstances), after having added PIT, according to the Face1 port of FIB record, forward, like this when content turns back to intermediate node C from user B, inquiry PIT is directly transmitted to user A from Face2, complete the process of obtaining content.
Interest?name?prefix Incoming?faces
ccnx:/B/name/%FD%versionnumber/%pushnumber Face2
Table 3: PIT entry under normal circumstances
Oppositely PIT refers to, while adding port, by add forwarding port Face1 rather than interest bag entry port Face2(in PIT entry, still suppose that interest bag forwards and arrives user B from Face1 from the Face2 arrival of intermediate node C herein), the PIT entry of adding at C place is as shown in table 4 below.When needs push content to user B from user A, during through user C, can directly content be forwarded from Face1 by the PIT of prior setting like this, make content can arrive user B, thereby realize the technique effect that pushes content.
Interest?name?prefix Incoming?faces
ccnx:/B/name/%FD%versionnumber/%pushnumber Face1
Table 4: PIT entry under inversion condition
The FIB entry of user A and intermediate node C is as shown in following table 5 and table 6:
Interest?name?prefix Outcoming?faces
B Face1
[0067] table 5: the FIB entry of user A
Interest?name?prefix Outcoming?faces
B Face1
Table 6: the FIB entry of user C
Establish after FIB entry as above, from user A, issue the interest bag of user B and can search the correct Node B that is forwarded to FIB.
Fig. 4 flow chart of realizing content propelling movement in CCN according to an embodiment of the invention.Step 401, user A(i.e. the side of propelling movement A) construct special interests bag and send this special interests bag, the reason of constructing special interests bag is herein to consider that this interest bag is different with the handling process of normal interest bag, consider that this special interests wraps in subsequent processes different with the handling process of normal interest bag, therefore in the interest bag constructed can: 1), add content recipient B(user B) title present embodiment in be B, object be interest bag can by search FIB correct be routed to content recipient; 2), explanation needs the burst quantity and the initial burst number that push, large file has all carried out the burst of content in transmitting procedure, therefore in particular interest bag, needs to illustrate that burst quantity and initial burst number can push the complete content of needs successfully; 3), description name.In view of above some consideration, interest bag (Interest bag) form of constructing is as follows:
ccnx:/B/PIT/B/name/%FD%versionnumber/%pushnumber/n
In Interest bag, each field implication is as follows:
/ B/PIT/:B is as communication receiver, and " PIT " is as the detected field of setting up reverse PIT
/ B/name:/B/name is the title that is about to the content that is pushed to B in the CS of propelling movement side A.
/ pushnum:pushnum refers to the initial fragment number of content sending, and due in large file push, is all to start to push from segmentation 0, and therefore in large file push, pushnum is 0; For other scenes, determine as the case may be initial fragment number.In the present embodiment take large file transfer as application scenarios.
/ n:n is the quantity that wish is set up reverse PIT entry, and during large file transmits, A determines by the CS of inquiry oneself the segmentation number that pushes content.
The assembly (component) of " %FD%versionnumber " this expression version number is optional.And the form of special interests bag can also be defined as follows: ccnx:/B/PIT/name/%FD%versionnumber/%pushnumber/n, because "/B " this component is just for route, when wrapping in inquiry FIB with the interest of "/B " beginning, by longest prefix match, can inquire the Face corresponding to user B, what make that interest bag can be correct is routed to user B, therefore in special interests bag, can only need one "/B ", if like this, when receiving particular interest bag, will only need to remove "/PIT ".
Step 402, resolves interest bag, and judges in interest bag, whether to comprise specific fields.
In a specific embodiment of the present invention, specific fields i.e. " PIT " field; The interest Bao Ze that correspondingly includes " PIT " field is called as special interests bag; And the interest Bao Ze that does not contain " PIT " field is called as normal interest bag.
The resolving of special interests bag is specific as follows:
Intermediate node C between user A and user A and user B receives the specific interest bag that user A sends, while resolving interest bag, utilize string matching to judge whether second component is " PIT ", judge whether thus to detect " PIT " specific fields, if " PIT " specific fields do not detected, continue execution step 404, according to the flow processing interest bag shown in Fig. 3; If " PIT " specific fields detected, continue execution step 404, remove two compnent:/B above and/PIT and last component; Step 405, builds n new continuous interest bag:
ccnx:/B/name/%FD%versionnumber/%pushnumber
ccnx:/B/name/%FD%versionnumber/%pushnumber+1
ccnx:/B/name/%FD%versionnumber/%pushnumber+2
............
ccnx:/B/name/%FD%versionnumber/%pushnumber+n-1;
The flow processing of this n interest bag and common interest bag is different, common interest bag is all to search directly forwarding after forwarding port, and establish after this n interest bag herein, according to normal flow process, search the forwarding port of interest bag, then interest bag is forwarded to port and add (normal flow process is that the port that interest bag is come in adds PIT entry to) in PIT entry to, added after PIT entry, do not needed to forward this n interest bag, directly interest bag has been abandoned.
The n building a new interest comprises PIT character string, and this node neither really need to obtain this content, builds the object of interest bag just in order to create reverse PIT, makes the side of propelling movement A content to be pushed to recipient B according to correct path.If downward interest bag one or more nodes are forwarded, may there is the situation that original unwanted content is returned, wasted Internet resources and may cause network congestion.For instance: if the side of propelling movement A need to be pushed to recipient B by n piece content, need to build at intermediate node C place n PIT entry of mating with content blocks, just can make the content at A place pushed, therefore can build the interest bag of n at C Nodes for building reverse PIT, but C node does not need to get content, therefore need not forward this n interest bag yet.
Specific implementation process is as follows:
According to n the interest bag building, determine and need the entry of adding in PIT to be:
ccnx:/B/name/%FD%versionnumber/%pushnumber;
ccnx:/B/name/%FD%versionnumber/%pushnumber+1;
ccnx:/B/name/%FD%versionnumber/%pushnumber+2;
...
ccnx:/B/name/%FD%versionnumber/%pushnumber+n-1。
Step 406, has added that to start to realize port after interest bag entry reverse, and adds reverse port, completes the interpolation of reverse PIT entry.Record interest bag and forward port Forwarding face, and Forwarding face is added in newly-established PIT entry, because interest bag routing direction is consistent with the direction that content pushes, that is to say that it is all from user A to user B that interest bag routing direction and content push direction, path and the port of middle process are all the same, so the forwarding port of locating namely user A be pushed to the forwarding port of the content of user B.In PIT entry, add after correct port, when user A pushes content to user B, can make content can, by the reverse PIT of inquiry, content be correctly forwarded to target node b (that is, recipient B) at user A and intermediate node C place.The reverse PIT form of intermediate node is as follows: (wherein, Face1 is that the outgoing face of interest bag is also forwarding face, and A is as propelling movement side, and B is as recipient, but when adding PIT, as incoming face, add, realize thus the reverse of port).
Interest?name?prefix Incoming?faces
[0099]?
Figure DEST_PATH_GDA0000470545390000121
Table 7: the reverse PIT form of intermediate node
Intermediate node also needs special interests bag to continue to forward to next node when processing special interests bag except adding reverse PIT, mainly to consider that user B also needs to process accordingly receiving after special interests bag, content can, by buffer memory correctly, therefore wrapping in intermediate node, special interests all be needed to forward until content reception stops forwarding just now when arriving user B.And do not forward for adding n the interest bag building during reverse PIT, oppositely after PIT foundation, abandoning.When packet is forwarded to destination node B along reverse PIT, if do not carry out special processing, according to CCN agreement B, can abandon the data of not asking and not carry out buffer memory (main cause is that PIT entry can be searched by content arrival user B place, if there is no mates PIT and directly abandons).
For avoiding packet directly to be deleted at user B place, in a specific embodiment of the present invention, step 407, when special interests bag arrives user B, user B sets up PIT, and name prefix is consistent with intermediate node handles, and different is that PIT port numbers is user B local port number herein.When packet arrives user B, searching PIT port is local port, will can not continue to forward content but is directly stored in local CS.The PIT entry of setting up for user B place has been shown in table 8.
Figure DEST_PATH_GDA0000470545390000122
Figure DEST_PATH_GDA0000470545390000131
Table 8: the reverse PIT form of content recipient
In another embodiment of the present invention, for avoiding packet directly to be deleted at Node B place, can further revise CCN strategy, content is arrived do not search during node PIT, directly by content caching in local CS.
In order to make user A that the CS content of oneself is gone out according to the port repeat recording in PIT, step 408, after oppositely PIT establishes, node A by ccngetfile ccnx:/B/name get file in local CS trigger search CS(and please supplement particular content), ccngetfile order is that under CCN emulation platform gets file command, by carrying out this order, make user in local CS or other user CS, to get content to leave this locality in, but this operation of getting file remains by interest bag, packet completes, while using ccngetfile order, can initiatively according to the burst situation of file, send multiple interest bags to content source (also comprising local CS), then from content source, obtaining multiple content segments returns and leaves this locality in.Herein, when using ccngetfile ccnx:/B/name order at node A place, owing to not comprising " PIT " specific fields in " ccnx:/B/name ", therefore node A can send request to the local port of oneself the normal interest bag of content, this interest bag will no longer comprise " PIT " specific fields, the CS that the interest Bao Shihui that node A receives in processing first looks into oneself finds matching content, the port repeating of then searching PIT coupling entry and content being recorded from PIT; Step 409, owing to being cached with content in propelling movement side CS, and has established PIT entry in advance, has searched after CS finds matching content and just can directly according to the PIT setting up, carry out the forwarding of content, triggers thus the propelling movement of content.Step 410, content is transmitted according to the PIT path having established at intermediate node place, arrive after recipient because recipient also has specific PIT entry (port is local face) or direct cache policy, recipient can push the content of coming by direct cache user A in a word, can by the packet capturing of packet capturing software or directly use ccndumpnames order check CS content learn recipient B buffer memory content, at user A place, use ccngetfile to trigger while searching CS, open the packet capturing software at user B place, start to grab the bag through user B place, and analyze packet capturing result, can see and in packet capturing, show n the content segments from node C to user B, illustrate that user A has successfully been pushed to content user C, next need to check that whether user C is by content caching, at user C place, use ccndumpnames to check that the content in CS also can see n content segments, illustrate that user C is successfully by content caching.In addition, if in order to verify whether content propelling movement process occurs that the situation of packet loss can be at user B place use ccngetfile ccnx:/B/name, if user B place can successfully get content, description pushes successfully.
By technical scheme disclosed in this invention, content propelling movement person is initiating communication initiatively, without user's request, just content directly can be pushed to and receive user, without repeatedly mutual, by the triggering of a special interests bag, the reverse propelling movement path that can set up multiple contents, has greatly reduced communication delay and link load.The present invention can be applied in numerous application scenarioss, for example often use now make a phone call, microblogging, large file transmission, stock, weather forecast etc., enriched the practical application of CCN network.
The above, it is only preferred embodiment of the present invention, not the present invention is done to any pro forma restriction, although the present invention discloses as above with preferred embodiment, but not in order to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, when can utilizing the technology contents of above-mentioned announcement to make a little change or being modified to the equivalent embodiment of equivalent variations, in every case be the content that does not depart from technical solution of the present invention, any simple modification of above embodiment being done according to technical spirit of the present invention, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (10)

1. the content delivery method based on CCN, is characterized in that:
Propelling movement side's structure special interests bag also sends this special interests bag;
Intermediate node is resolved interest bag, and judges in interest bag, whether to comprise PIT specific fields;
If intermediate node detects PIT specific fields, revise PIT entry;
Intermediate node is revised port, sets up reverse PIT;
Intermediate node is forwarded to next node according to FIB route by described special interests bag;
Recipient sets up reverse PIT;
Propelling movement side triggers interest bag inquiry PIT coupling entry;
The port repeating that propelling movement side records content from PIT.
2. according to the method for claim 1, it is characterized in that:
If described, judge that the result that whether comprises PIT specific fields in interest bag is no, according to normal CCN flow process, continue to process.
3. according to the method for claim 2, it is characterized in that:
Described normal CCN flow process is specially:
When requesting party needs request content, initiatively send interest bag; Intermediate node is understood query contents buffer memory (CS), PIT and FIB successively after receiving interest bag;
If the content that does not have requesting party to ask in CS, intermediate node records the port numbers that receives interest bag on PIT;
Intermediate node forwards this interest bag according to FIB; Each interest is surrounded by a random number (nonce); Each CCN node, when receiving interest bag, judges the title of interest bag, and when receiving one with title but the interest bag of different nonce, CCN adds the port that this interest bag is come in PIT; If the two is all identical for the interest bag title and nonce received, CCN node will abandon this repetition interest bag;
Content source receives the CS that searches oneself after interest bag, if the content that exists requesting party to ask in CS is pressed original route according to the port information of PIT record; Via intermediate node, turn round this content;
The intermediate node of content process is buffered in copy of content in local CS.
4. according to the method for claim 1 or 3, it is characterized in that:
Content recipient title in the special interests bag of constructing, need the burst quantity that pushes and
One or more in initial burst number and content name.
5. according to the method for claim 4, it is characterized in that:
If described intermediate node detects PIT specific fields, revise PIT entry and further comprise:
Remove the assembly that PIT flag bit above and last represent PIT quantity;
Build several new continuous interest bags;
Search the forwarding port of interest bag, interest bag is forwarded to port and add in PIT entry;
Added after PIT entry, do not forwarded this several interest bags, directly interest bag has been abandoned.
6. according to the method for claim 5, it is characterized in that:
The port repeating that described propelling movement side records content from PIT further comprises:
Search CS and found after matching content, directly according to the PIT setting up, carried out the forwarding of content.
7. according to the method for claim 6, it is characterized in that:
Described intermediate node is forwarded to next node according to FIB route by described special interests bag and further comprises:
Intermediate node forwards special interests bag, until arrive the reception of content, stops forwarding just now.
8. according to the method for claim 7, it is characterized in that: intermediate node does not forward for adding several interest bags that build during reverse PIT, at reverse PIT, after setting up, abandoning.
9. method according to Claim 8, is characterized in that:
Described recipient sets up reverse PIT and is specially:
When special interests bag arrives recipient, recipient sets up PIT, and name prefix is consistent with intermediate node handles, but PIT port numbers is recipient's local port number;
When packet arrives user B, searching PIT port is local port, will can not continue to forward content but is directly stored in local CS.
10. according to the method for claim 9, it is characterized in that:
Described reverse PIT is that the incoming face in PIT and outgoing face are exchanged to placement.
CN201410002223.1A 2014-01-02 2014-01-02 A kind of content delivery method based on CCN Active CN103747083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410002223.1A CN103747083B (en) 2014-01-02 2014-01-02 A kind of content delivery method based on CCN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410002223.1A CN103747083B (en) 2014-01-02 2014-01-02 A kind of content delivery method based on CCN

Publications (2)

Publication Number Publication Date
CN103747083A true CN103747083A (en) 2014-04-23
CN103747083B CN103747083B (en) 2015-10-14

Family

ID=50504069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410002223.1A Active CN103747083B (en) 2014-01-02 2014-01-02 A kind of content delivery method based on CCN

Country Status (1)

Country Link
CN (1) CN103747083B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394207A (en) * 2014-11-19 2015-03-04 东北大学秦皇岛分校 Self-adaptive recovery method and self-adaptive recovery system for intelligent power grid data based on information center network
CN104539715A (en) * 2014-12-31 2015-04-22 中山大学 Network multi-content request response method
WO2017028734A1 (en) * 2015-08-14 2017-02-23 Huawei Technologies Co., Ltd. Method and apparatus for pushing data in a content-centric networking (ccn) network
CN106489258A (en) * 2014-07-13 2017-03-08 思科技术公司 Use information central site network is linked to content
CN106657181A (en) * 2015-10-30 2017-05-10 中国科学院声学研究所 CCN (Content center network) based data push method
CN106878310A (en) * 2017-02-22 2017-06-20 吉林大学 A kind of method of real-time streaming data distribution under name data network
CN106888171A (en) * 2015-12-15 2017-06-23 中国移动通信集团公司 A kind of processing method and processing device of data service
CN107071015A (en) * 2017-03-30 2017-08-18 北京工业大学 A kind of document transmission method and device applied to vehicular ad hoc network
CN108965479A (en) * 2018-09-03 2018-12-07 中国科学院深圳先进技术研究院 A kind of domain collaboration caching method and device based on content center network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638405A (en) * 2012-04-12 2012-08-15 清华大学 Routing method of content-centric network strategy layer
CN102821039A (en) * 2011-06-09 2012-12-12 三星电子株式会社 Apparatus and method preventing overflow of pending interest table in name based network system
CN102917287A (en) * 2012-11-21 2013-02-06 北京邮电大学 Intelligent optical network exchange device and edge cashing method facing content center
CN103001870A (en) * 2012-12-24 2013-03-27 中国科学院声学研究所 Collaboration caching method and system for content center network
CN103023768A (en) * 2013-01-11 2013-04-03 中国科学院声学研究所 Edge routing node and method for prefetching content from multisource by edge routing node
CN103118013A (en) * 2013-01-16 2013-05-22 西安电子科技大学 Method of sending data package and incidentally sending reverse interest package in content center network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821039A (en) * 2011-06-09 2012-12-12 三星电子株式会社 Apparatus and method preventing overflow of pending interest table in name based network system
CN102638405A (en) * 2012-04-12 2012-08-15 清华大学 Routing method of content-centric network strategy layer
CN102917287A (en) * 2012-11-21 2013-02-06 北京邮电大学 Intelligent optical network exchange device and edge cashing method facing content center
CN103001870A (en) * 2012-12-24 2013-03-27 中国科学院声学研究所 Collaboration caching method and system for content center network
CN103023768A (en) * 2013-01-11 2013-04-03 中国科学院声学研究所 Edge routing node and method for prefetching content from multisource by edge routing node
CN103118013A (en) * 2013-01-16 2013-05-22 西安电子科技大学 Method of sending data package and incidentally sending reverse interest package in content center network

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106489258A (en) * 2014-07-13 2017-03-08 思科技术公司 Use information central site network is linked to content
CN106489258B (en) * 2014-07-13 2021-02-02 思科技术公司 Linking to content using an information centric network
US10742552B2 (en) 2014-07-13 2020-08-11 Cisco Technology, Inc. Representational state transfer operations using information centric networking
CN104394207A (en) * 2014-11-19 2015-03-04 东北大学秦皇岛分校 Self-adaptive recovery method and self-adaptive recovery system for intelligent power grid data based on information center network
CN104394207B (en) * 2014-11-19 2017-12-19 许继集团有限公司 Intelligent grid data adaptive restoration methods and system based on information centre's network
CN104539715B (en) * 2014-12-31 2018-07-20 中山大学 A kind of more content request responses methods of network
CN104539715A (en) * 2014-12-31 2015-04-22 中山大学 Network multi-content request response method
WO2017028734A1 (en) * 2015-08-14 2017-02-23 Huawei Technologies Co., Ltd. Method and apparatus for pushing data in a content-centric networking (ccn) network
US10757213B2 (en) 2015-08-14 2020-08-25 Futurewei Technologies, Inc. Method and apparatus for pushing data in a content-centric networking (CCN) network
CN106657181A (en) * 2015-10-30 2017-05-10 中国科学院声学研究所 CCN (Content center network) based data push method
CN106888171B (en) * 2015-12-15 2019-10-18 中国移动通信集团公司 A kind of processing method and processing device of data service
CN106888171A (en) * 2015-12-15 2017-06-23 中国移动通信集团公司 A kind of processing method and processing device of data service
CN106878310B (en) * 2017-02-22 2020-02-14 吉林大学 Method for real-time streaming data distribution in named data network
CN106878310A (en) * 2017-02-22 2017-06-20 吉林大学 A kind of method of real-time streaming data distribution under name data network
CN107071015A (en) * 2017-03-30 2017-08-18 北京工业大学 A kind of document transmission method and device applied to vehicular ad hoc network
CN108965479A (en) * 2018-09-03 2018-12-07 中国科学院深圳先进技术研究院 A kind of domain collaboration caching method and device based on content center network
CN108965479B (en) * 2018-09-03 2021-04-20 中国科学院深圳先进技术研究院 Domain collaborative caching method and device based on content-centric network

Also Published As

Publication number Publication date
CN103747083B (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN103747083B (en) A kind of content delivery method based on CCN
CN100479415C (en) System for realizing data communication and its method
US9203734B2 (en) Optimized bi-directional communication in an information centric network
CN103339901B (en) Terminal in content guiding network environment and the communication means of intermediate node and terminal and intermediate node
US8837511B2 (en) Seamless mobility schemes in names-data networking using multi-path routing and content caching
CN101656765B (en) Address mapping system and data transmission method of identifier/locator separation network
CN103916311B (en) A kind of information transmission and control method, Apparatus and system
CN103581341B (en) A kind of distributed mobility data transmission method of CCN
CN101222414A (en) Device, system and method for implementing multicast communication
CN105872008A (en) System and method for on-demand content exchange with adaptive naming in information-centric networks
CN103119964B (en) Information in wireless communication system selects
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
CN104509073A (en) Discovering ip multicast group memberships in software defined networks
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
TWI599201B (en) Network system and method for establishing data connection
CN103561442A (en) Data transmission method for mobile receiver in publish-subscribe internet technology
CN101651626B (en) Traffic-forwarding method and device
US20120134313A1 (en) Access point, l2 switch and method of supporting multicast handover using the access point and l2 switch
US20140019549A1 (en) Control System for Conferencing Applications in Named-Data Networks
CN105376292A (en) Explicit strategy feedback in name-based forwarding
US10536368B2 (en) Network-aware routing in information centric networking
CN102111608A (en) Communication method and device of video monitoring system
US9338230B2 (en) Method, network entity and network system for forwarding resources
US10602416B2 (en) Seamless consumer mobility in information centric networks using forwarding labels
CN103139076A (en) Distributive hash table intercommunicative network system, inter-domain nodes and implement method

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