WO2014190690A1 - 信息为中心网络icn中转发报文的方法、装置及系统 - Google Patents

信息为中心网络icn中转发报文的方法、装置及系统 Download PDF

Info

Publication number
WO2014190690A1
WO2014190690A1 PCT/CN2013/087659 CN2013087659W WO2014190690A1 WO 2014190690 A1 WO2014190690 A1 WO 2014190690A1 CN 2013087659 W CN2013087659 W CN 2013087659W WO 2014190690 A1 WO2014190690 A1 WO 2014190690A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
container
identifier
entry
requested
Prior art date
Application number
PCT/CN2013/087659
Other languages
English (en)
French (fr)
Inventor
范灵源
戈文敏
严哲峰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2016515605A priority Critical patent/JP6116758B2/ja
Priority to EP13886062.2A priority patent/EP2993852A4/en
Publication of WO2014190690A1 publication Critical patent/WO2014190690A1/zh
Priority to US14/951,083 priority patent/US20160087876A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0272Virtual private networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • Embodiments of the present invention relate to the field of communications, and more particularly, to a method, apparatus, and system for forwarding a message in a central network ICN.
  • IP Internet Protocol
  • terminal is placed at the core position, with the destination IP address and source IP address.
  • IP is a terminal-centric network protocol.
  • the main purpose of the production, dissemination and sharing of various information is that people often do not care about where to obtain information when they obtain this information. This is a new mode of information or content-centricity.
  • the research community began to try to redefine the waist of the Internet hourglass model and study the new Internet architecture that is directly oriented to information and content.
  • NDN Named Data Network
  • CCN Content Centric Networking
  • the VPN service under the IP network uses the Multi-Protocol Label Switching ("MPLS") VPN as an example.
  • MPLS Multi-Protocol Label Switching
  • the Provider Edge referred to as the Provider Edge
  • the router can distinguish which local user interface sends VPN user routes. It needs to create a large number of virtual routers on the PE router. Each virtual router has its own routing table and forwarding table, which increases the burden on the network router. .
  • the Internet Protocol Secure IPSec encryption technology on MPLS VPN does a lot of work to maintain end-to-end security. These complicated security tasks make the entire VPN service complex, and IPSec needs more maintenance, in addition to the need to establish termination. Channel devices also require additional configuration and maintenance to support remote user groups.
  • the embodiments of the present invention provide a method, an apparatus, and a system for forwarding a message in a central network ICN, which can provide a VPN service in an ICN architecture.
  • the embodiment of the present invention provides a method for forwarding a packet in an ICN, where the method includes: receiving, by a first routing node in a public network, a content request packet sent by a first routing node in a virtual private network VPN, where The content request packet carries a content name of the requested content and a private identifier for identifying the requested content as private content; when it is determined that the content request packet carries the private identifier, acquiring a container identifier of the first container for storing the requested content; Determining, by the container identifier of the first container, the content request packet, so that the content request packet is forwarded to a second routing node in the VPN and the The second routing node in the VPN returns a content response packet carrying the requested content according to the content name of the requested content.
  • the first container is a storage space for storing a set of private content.
  • the first container includes at least one fourth routing node, by using the at least one fourth routing node One or more fourth routing nodes, the request content can be routed within the first container, or the requested content can be routed through the first container.
  • the content name of the requested content corresponds to one or more home containers, and the home container of the requested content is capable of Directly routed to the container for the requested content.
  • the first container is one or more An access container of the second container; and/or one or more third containers are access containers of the first container; wherein the access container is to include at least one container, and the content request packet is routed to the A container for forwarding entries for at least one container.
  • the content request packet is determined to carry the private When identifying, obtaining the container identifier of the first container for storing the content of the request, comprising: determining whether a receiving interface table item matching the receiving interface of the content request packet exists in the registration container table, and receiving the interface in the registration container table
  • the entry includes a preset receiving interface and a container identifier corresponding to the preset receiving interface.
  • the receiving container table has a receiving interface entry matching the receiving interface of the content request packet, the matching receiving interface is matched.
  • the container ID in the entry is the container ID of the first container.
  • the method further includes: adding the container identifier of the first container to the content request packet, so that the second routing node in the public network forwards the content request packet according to the container identifier of the first container.
  • the content request packet further carries the first The container identifier of the container; when determining that the content request packet carries the private identifier, obtaining the container identifier of the first container for storing the requested content, comprising: obtaining a container identifier of the first container carried in the content request packet.
  • the container identifier according to the first container And forwarding the content request packet, including: determining whether a forwarding entry matching the container identifier of the first container exists in the forwarding information table FIB, where the forwarding entry in the FIB includes a preset container identifier and the preset The interface corresponding to the container identifier; when there is a forwarding entry in the FIB that matches the container identifier of the first container, the content request packet is forwarded according to the interface in the matching forwarding entry.
  • the method further includes: receiving the VPN The content response packet returned by the second routing node, the content response packet carrying the request content, The content name of the request content and the private identifier; forwarding the content response packet according to the container identifier of the first container.
  • the second aspect provides a router in a public network, including: a receiving module, configured to receive a content request packet sent by a first router in a virtual private network VPN, where the content request packet carries a content name of the requested content and is used to identify The request content is a private identifier of the private content; the obtaining module is configured to: when determining that the content request packet received by the receiving module carries the private identifier, acquire a container identifier of the first container for storing the requested content; And forwarding, according to the container identifier of the first container acquired by the acquiring module, the content request packet, so that the content request packet is forwarded to a second router in the VPN, and the second router in the VPN is configured according to the request content.
  • the content name returns a content response package carrying the requested content.
  • the first container is a storage space for storing a set of private content.
  • the first container includes at least one fourth router, by using one of the at least one fourth router or A plurality of fourth routers, the request content can be routed within the first container, or the requested content can be routed through the first container.
  • the content name of the requested content corresponds to one or more home containers, and the home container of the requested content is capable of Directly routed to the container for the requested content.
  • the first container is one or more An access container of the second container; and/or one or more third containers are access containers of the first container; wherein the access container includes at least one container and includes routing the content request packet to the A container for forwarding entries for at least one container.
  • the acquiring module is specifically configured to determine whether a receiving interface table item matching the receiving interface of the content request packet exists in the registration container table, where the registration container table is The receiving interface entry includes a preset receiving interface and a container identifier corresponding to the preset receiving interface; and when there is a receiving interface entry in the registration container table that matches the receiving interface of the content request packet, The container identifier in the matching receiving interface entry is used as the container identifier of the first container.
  • the router in the public network further includes: an update module, configured to acquire, by the acquiring module, a container identifier of the first container Adding to the content request packet, so that the second router in the public network forwards the content request packet according to the container identifier of the first container.
  • the content request packet received by the receiving module is further The container identifier carrying the first container; the obtaining module is specifically configured to obtain the container identifier of the first container carried in the content request packet.
  • the sending module includes: a first determining unit And determining, in the forwarding information table FIB, a forwarding entry that matches the container identifier of the first container, where the forwarding entry in the FIB includes a preset container identifier and an interface corresponding to the preset container identifier; And a sending unit, configured to: when the first determining unit determines that the forwarding entry matching the container identifier of the first container exists in the FIB, forwarding the content request packet according to the interface in the matching forwarding entry.
  • the sending module further includes: a second determining unit, configured to determine, by the first determining unit, whether the FIB exists in the FIB Before the container of a container identifies the matching forwarding entry, it is determined whether there is a PIT entry in the resident information table PIT that matches the extended content name of the requested content, and the extended content name of the requested content Forming, by the content name of the request content and the container identifier of the first container; the updating unit, configured to: when the second determining unit determines that there is a PIT entry in the PIT that matches the extended content name of the requested content, the content is The receiving interface of the request packet is added to the matched PIT entry; the first determining unit is specifically configured to: when the second determining unit determines that there is no PIT entry in the PIT that matches the extended content name of the requested content, perform The step of determining whether there is a forwarding entry in the FIB that matches the container identifier of the first
  • the receiving module is further configured to receive the VPN The content response packet returned by the second router, the content response packet carrying the content of the request, the content name of the requested content, and the private identifier; the sending module is further configured to forward the receiving module according to the container identifier of the first container The content response packet received.
  • the third aspect provides a system for forwarding a message in an ICN, where the system includes: the first aspect or any one of the first to the tenth possible implementation manners of the first aspect
  • the router in the public network the first router in the virtual private network VPN, the second router in the VPN, and the third router in the VPN.
  • the third router in the VPN includes: a first receiving module, configured to receive the content request packet sent by the first router in the VPN; And determining, in the forwarding information table FIB, a forwarding entry that matches the content name of the request content carried by the content receiving packet received by the first receiving module, where the forwarding entry in the FIB includes a content name prefix and the An interface corresponding to the content name prefix, where the first sending module is configured to: when the first determining module determines that the forwarding entry matching the content name of the requested content exists in the FIB, according to the interface in the matching forwarding entry, Forward the content request package.
  • the third router in the VPN further includes: a second determining module, configured to: when the first determining module determines the FIB When there is no forwarding entry that matches the content name of the requested content, the content request is determined Whether the container carries the container information of the requested content, the container information of the requested content includes a container identifier for identifying the at least one fourth container storing the requested content, and a third determining module, configured to: when the second determining module determines the Whether there is a forwarding entry in the FIB that matches the container identifier in the container information of the requested content; the first sending module is further configured to: when the third determining module determines, the container in the container information that exists in the FIB and the requested content When the matching forwarding entry is identified, the content request packet is sent according to the interface in the matching forwarding entry.
  • a second determining module configured to: when the first determining module determines the FIB When there is no forwarding entry that matches the content name of the requested content, the content request is determined Whether
  • the third router in the VPN further includes: a fourth determining module, configured to be in the first determining module Before determining whether there is a forwarding entry in the FIB that matches the content name of the requested content, determining whether there is content matching the content name of the requested content in the content storage table CS; the first determining module is specifically configured to be the fourth When the determining module determines that there is no content matching the content name of the requested content in the CS, performing the step of determining whether there is a forwarding entry in the FIB that matches the content name of the requested content.
  • the third router in the VPN further includes: a fifth determining module, configured to: when the fourth determining module determines the CS When there is no content matching the content name of the requested content, determining whether there is a PIT entry in the PIT that matches the content name of the requested content; the first update module is configured to: when the fifth determining module determines that the PIT exists When the PIT entry matches the content name of the content of the request, the receiving interface of the content request packet is added to the matched PIT entry; the first determining module is specifically configured to: when the fifth determining module determines the PIT When there is no PIT entry matching the content name of the requested content, the step of determining whether there is a forwarding entry matching the content name of the requested content in the FIB is performed.
  • a fifth determining module configured to: when the fourth determining module determines the CS When there is no content matching the content name of the requested content, determining whether there is a PIT entry in the PIT that matches the content name of the requested content
  • the first update module
  • the first receiving module is further configured to receive the a content response packet sent by the second router, the content response packet carrying the content of the request, the content name of the requested content, and the private identifier;
  • the third router in the VPN further includes: a sixth determining module, configured to: And forwarding the content response packet according to the content name of the requested content carried by the content response packet received by the first receiving module.
  • the content response packet received by the first receiving module carries the requested user name of the requested content;
  • the sixth determining module includes: a first determining unit, configured to determine whether a forwarding entry matching the requesting user name exists in the FIB, and a first sending unit, configured to: when the first determining unit determines that the FIB has a matching match with the requested user name When the item is published, the content response packet is forwarded according to the interface in the matching forwarding entry.
  • the sixth determining module further includes: a second determining unit, configured to: when the first determining unit determines that the FIB does not exist When the forwarding entry matches the requesting user name, determining whether the content response packet carries the container information of the requesting user of the requested content, and the container information of the requesting user includes at least one fifth container for identifying the requesting user.
  • a third identifier configured to determine, when the second determining unit determines that the content response packet carries the container information of the requesting user, whether the FIB matches the container identifier in the container information of the requesting user.
  • the first sending unit is further configured to: when the third determining unit determines that there is a forwarding entry in the FIB that matches the container identifier in the container information of the requesting user, according to the interface in the matching forwarding entry , forward the content response package.
  • the sixth determining module includes: a fourth determining unit, configured to determine that the content name in the PIT matches the content content of the requested content a PIT entry, a second sending unit, configured to forward the content response packet according to the interface in the matched PIT entry determined by the fourth determining unit, and a storage unit, configured to carry the request that is carried by the content response packet The content is stored in the CS; and the removing unit is configured to remove the matched PIT entry determined by the fourth determining unit from the PIT.
  • the VPN service can be established under the ICN architecture, and the routing node in the public network is based on the container of the container corresponding to the VPN.
  • the identifier forwards the content request packet for requesting the content, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN without adding additional devices or routing tables.
  • High-quality services at low cost improve the user experience.
  • FIG. 1 is a schematic flowchart of a method for forwarding a message in an ICN according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a frame of a VPN network according to an embodiment of the present invention
  • FIG. 3 is another schematic flowchart of a method for forwarding a message in an ICN according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for forwarding a message in an ICN according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for forwarding a message in an ICN according to another embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a method for forwarding a message in an ICN according to another embodiment of the present invention
  • FIG. 8 is a schematic block diagram of a router in a public network according to an embodiment of the present invention
  • FIG. 9 is a schematic block diagram of a transmitting module of a router in a public network according to an embodiment of the present invention.
  • FIG. 10 is another schematic block diagram of a transmitting module of a router in a public network according to an embodiment of the present invention.
  • FIG. 11 is a schematic block diagram of a system for forwarding a message in an ICN according to an embodiment of the present invention
  • FIG. 12 is a third route in a VPN of a system for forwarding a message in an ICN according to an embodiment of the present invention
  • Schematic block diagram of the device
  • FIG. 13 is a schematic block diagram of a router in a public network according to another embodiment of the present invention
  • FIG. 14 is a schematic block diagram of a third router in a VPN of a system for forwarding a message in an ICN according to another embodiment of the present invention
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
  • ICN architecture for example: Named Data Network ("NDN”), Content Centric Networking (CCN), Network of Information (Netlnf), Data Centered network structure
  • DONA Data-Oriented Network Architecture
  • XIA expressive Internet Architecture
  • the user equipment may be called a terminal (Terminal), a mobile station (Mobile Station, referred to as "MS”), and a mobile terminal (Mobile Terminal). And so on, the user equipment can communicate with one or more core networks via a Radio Access Network (“RAN”), for example, the user equipment can be a mobile phone (or “cellular” phone) Computers with mobile terminals, etc., for example, the user devices can also be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange voice and/or data with the wireless access network.
  • RAN Radio Access Network
  • FIG. 1 is a schematic flowchart of a method 100 for forwarding a message in an information-centric network ICN according to an embodiment of the present invention.
  • the method of FIG. 1 may be performed by a routing node in a public network.
  • the method 100 includes:
  • the first routing node in the public network receives a content request packet sent by the first routing node in the virtual private network VPN, where the content request packet carries a content name of the requested content and a private identifier used to identify the requested content as private content.
  • the method for forwarding a message in the ICN of the embodiment of the present invention can establish a VPN service under the ICN architecture by adding the container information and the private attribute of the content to the content name to extend the attribute of the content in the ICN system, and
  • the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN.
  • there is no need to add additional equipment or routing tables thus achieving high-quality services at low cost and improving the user experience.
  • the container is a storage space for storing a set of content, wherein the set of content may be one or more contents.
  • a country's entire network can be thought of as a national-level container that is the storage space for all content within the country's network; similarly, a province's entire network can be viewed as a provincial container.
  • the national container is the storage space for all content located within the province's network.
  • the entire network of a company or organization can also be viewed as a storage space for all content within the network of the company or organization.
  • Mobile devices such as airplanes, trains, or ships, can be viewed as all content within the mobile device network.
  • the storage space of the mobile phone, the host, or other electronic device that stores the content may also be regarded as the storage space of all the content in the network.
  • the embodiment of the present invention is not limited thereto.
  • the container identifier of the container can be any content identifier prefix, ⁇ mouth fanlingyuan.com/blog, or a company or organization, ⁇ mouth: huawei.com, tsinghua.edu, It can also be a mobile network, such as an airplane, train, ship, such as airchina/cal314, or it can be a mobile phone, host or other electronic device for depositing content: 3 ⁇ 4.
  • Chinamobile/fanlingyuan can also be a network domain, such as cn, cn/gd, cn/sd, and so on.
  • a container may correspond to one container identifier, and may also correspond to two or more container identifiers, which is not limited in the embodiment of the present invention. However, for convenience of description, the following describes the container and the container identifier as corresponding examples, and the container identifier is used as an example. Refers to
  • a container may include another container in a topological relationship.
  • a state network is part of a national network, and therefore, the national container may be considered to include the provincial container in a topological relationship.
  • the container may also include an access container, the access container including at least one container on the topological relationship, and a container for routing the content request packet to the forwarding entry of the at least one container.
  • a container's access container is a container that logically includes the container and has a content request packet routed to the container.
  • the container B includes the container A, and the forwarding entry of the content request packet to the container A exists in the container B, the container B is defined as the access container of the container A, and the container B provides the access service for the container A.
  • One container may provide access services for one or more first containers, and one or more second containers may provide access services for the same container.
  • one container may be one or more access containers for the first container.
  • the one or more second containers may be access containers of the same container.
  • the container includes at least one routing node, and one or more routing nodes of the at least one routing node are responsible for forwarding the content request packet, and the container is referred to as a container to which the at least one routing node belongs.
  • the content request packet can be routed to the container through one or more of the at least one routing node included in the container's access container.
  • the national container “cn” includes the national containers “cn/gd” and “cn/sd” in the topological relationship, and the content can be passed through one or more routing nodes included in the national container “cn”
  • the request packet route arrives at the provincial containers “cn/gd” and “cn/sd”, etc., and the state-level container “cn” provides access to the national containers “cn/gd” and "cn/sd”
  • Containers huawei.com/cn” and “huawei.com/us” include containers in topological relationships "huawei.com", and through the one or more routing nodes included in the containers “huawei.com/cn” and “huawei.com/us", the content request packet can be routed to the container "huawei.com", shell 1
  • the J containers “huawei.com/cn” and “huawei.com/us” provide access services for the container "hu
  • the virtual private network VPN established on the ICN architecture can also be regarded as a VPN-level container, which is a storage space of all private content inside the VPN.
  • FIG. 2 shows a schematic diagram of a framework of a VPN network according to an embodiment of the present invention.
  • Site 1 and Site 2 are respectively a storage space of a set of private content, which can be regarded as Container 1 and Container 2, respectively, and Site 1 and Site 2 constitute a virtual private network VPN1, the virtual private network.
  • It can be regarded as the container VPN1
  • the container VPN1 provides the access service for the container 1 and the container 2.
  • the container identifiers of the container VPN1, the container 1 and the container 2 are respectively huawei.com, huawei.com/sitel and
  • the first container in the embodiment refers to a container composed of a VPN, such as VPN1 and VPN2 shown in FIG. 2.
  • VPN1 and VPN2 each site is connected to the Provider Edge Routers ("PE") through a User Edge Routers ("CE").
  • PE Provider Edge Routers
  • CE User Edge Routers
  • This port is connected to the public network routers PI and ⁇ 2.
  • the routing node and the CE in the VPN are the routing nodes in the VPN, and the routing node and the routing node are the routing nodes in the public network, but the embodiment of the present invention is not limited thereto.
  • the content name of the private content does not spread out of the VPN, and the private content is not cached in the routing node outside the VPN, and the container identifier of the container corresponding to the VPN may be spread. Out of the VPN. Therefore, when the content request packet for requesting the private content in the VPN is routed within the VPN, the content can be determined by the content name of the private content. If the content request packet is routed to the public network (PE routing node or P routing node), the forwarding entry corresponding to the content name of the private content does not exist in the routing node, and only The container identifier of the container storing the private content corresponds to the forwarding entry.
  • the routing node cannot use the content name of the private content to route the content request packet, but needs to route the content request packet through the container identifier of the container, so that On each PE routing node and P routing node, there is no need to maintain a large number of different routing tables for the VPN service.
  • the forwarding maintenance process is the same as the un-established VPN service.
  • the request content in S110 is private content in a VPN
  • the VPN may be regarded as a first container
  • the first container is a storage space for storing a set of private content
  • the first container includes at least one fourth routing node. Passing, by the one or more fourth routing nodes of the at least one fourth routing node, the requested content can be routed to the first container, or the requested content can be routed to the first container, where When the home container of the requested content is the first container, the requested content can be routed to the first container, and when the home container of the requested content is provided with access service by the first container, The request content can be routed to the first container; the fourth routing node can be the same node as the first routing node or the second routing node in the VPN, or can be different from the first routing node in the VPN.
  • the first container may be an access container of one or more second containers; and/or one or more third containers may be access containers of the first container; wherein the access container is At least one container is included, and there is a container that routes the content request packet to a forwarding entry of the at least one container.
  • “including” herein means logical inclusion, for example, inclusion in a topological relationship, and the like.
  • the content request packet may further carry the container information of the home container of the requested content, where the container information of the home container may include a partial container identifier of the home container, for example, as shown in FIG. It is shown that when the content of the request is the content in the site 2 of the VPN 1, the content request packet may carry the container information of the container 2, assuming that the content content of the requested content is Itlab/2012/JuneO 1 /test.ppt , the container ID of the container 1 is huawei.com/site2, then the content request package can carry ⁇ itlab/ 2 01 2 /June01/test.ppt
  • the content request packet may further include other information about the home container, for example, the solvability of the home container, to identify whether the home container is resolvable, that is, Whether the querying system can be queried to obtain the access container of the home container; for the security of the VPN, the content request packet sent by the first routing node in the VPN generally does not carry the container information of the first container, and when When the content request packet is routed to the PE routing node in the public network, the PE routing node obtains the container identifier of the first container and adds the container identifier of the first container to the content request packet, but the embodiment of the present invention
  • the content request package may further include a partial container identifier of the container corresponding to the requesting user of the request content, so that the content response packet carrying the requested content can be The container corresponding to the requesting user, wherein the container corresponding to the requesting user may be a container formed by the network of the requesting user, or may be a container composed of a network of the company or organization
  • the user name of the requesting user of the content that is, the requesting user name, the requesting user name belongs to the same name space as the content name of the requested content, and is similar to the content name of the requested content, and the requesting user name is only in the first container
  • the inner diffusion is unique within the first container, and the embodiment of the invention is not limited thereto.
  • the first routing node in the public network determines that the content of the request is private content, and the content name of the private content is not spread in the public network, so the number in the public network A routing node needs to obtain a container identifier of a first container (a container corresponding to the VPN) for storing the private content, and forward the content request packet according to the container identifier of the first container.
  • the PE routing node when the first routing node in the public network is a PE routing node, the PE routing node maintains a registration container table, where the receiving interface entry in the registration container table includes a preset receiving interface and a container identifier corresponding to the preset receiving interface, to determine the inside through the receiving interface of the content request packet And the container identifier of the first container for storing the content of the request, including:
  • the container identifier in the matching receiving interface entry is used as the container identifier of the first container.
  • the PE routing node in the public network may further add the container identifier of the first container to the content request packet, so that the P routing node in the public network may directly obtain the content from the content request packet.
  • the container identifier of the first container does not need to maintain the registration container table. Accordingly, the method 100 further includes:
  • the first routing node in the public network adds the container identifier of the first container to the content request packet, where the content request packet carries
  • the content request packet when the first routing node in the public network is a routing node, the content request packet further carries a container identifier of the first container;
  • S120 when determining that the content requesting package carries the private identifier, acquiring a container identifier of the first container for storing the requested content, including:
  • the first routing node in the public network matches the container identifier of the first container with the preset container identifier in the FIB to determine whether there is a rotation in the FIB that matches the container identifier of the first container. Publish the item, where the match is the longest match.
  • the routing node in the public network may forward the content request packet to a default interface, or drop the content request packet.
  • the first routing node in the public network forwards the content request packet to the matching forwarding entry.
  • the next hop interface correspondingly, as shown in FIG. 4, S130, forwarding the content request packet according to the container identifier of the first container, including:
  • the PE1 searches for a forwarding entry corresponding to the container identifier huawei.com/site2 in the FIB, optionally, the PE1
  • the FIB can be as shown in Table 1.
  • the PE 1 determines that the forwarding entry corresponding to the identifier of the container exists in the FIB. Therefore, the PE1 can send the content request packet to the interface 0, but the embodiment of the present invention is not limited thereto.
  • the content request packet received by the P1 and P2 routing nodes carries the container identifier.
  • the P1 and P2 can find the forwarding entry matching the container identifier in the FIB, and forward the content request packet to the PE2 routing node according to the interface in the matching forwarding entry.
  • the PE2 routing node may delete the container identifier huawei.com of the first container from the content request packet before forwarding the content request packet to the CE2, but the embodiment of the present invention is not limited thereto.
  • the first routing node in the public network can also be compatible with the Pending Information Table (PIT) in the NDN, and the PIT entries in the PIT can include the content.
  • PIT Pending Information Table
  • a request interface corresponding to the content name configured to record a request received by the first routing node in the public network for the content corresponding to the content name, and a receiving interface for requesting the content request packet of the content, The repeated lookup matching and forwarding of the same request content can be avoided, and the next hop interface of the returned request content can be determined. Therefore, optionally, as another embodiment, as shown in FIG. 5, the method 100 further includes:
  • the content of the request is private content of the first container, and is not spread in the public network. Therefore, the content name of the requested content may only have local uniqueness and not global uniqueness, that is, at the first Only the content of the request has the content name in the container, and the content name of the other content may be the same as the content name of the requested content in the external network, for example, the content name "itlab/2012/JimeOl/" in the container VPN2 in FIG. Test.ppt" can be the same as the content name in container VPN1, but they represent different content.
  • the content name of the requested content and the container identifier of the first container constitute an extended content name of the requested content to identify the uniqueness of the requested content.
  • the extended content name of the requested content may be accurately matched and searched in the PIT, and the content of the request exists in the PIT.
  • the receiving interface of the content request packet is added to the matched PIT entry; optionally, when the extended content name of the requested content does not exist in the PIT
  • S130 is executed, and information of the content request packet is added to the PIT to become a new PIT entry, where the new PIT entry includes an extended content name of the requested content and the content request packet.
  • the receiving interface but the embodiment of the present invention is not limited thereto.
  • the third routing node in the VPN may be based on the content name of the requested content.
  • the content request packet is forwarded, and the processing method of the content request packet carrying the private attribute is the same as the processing method of the content request packet not carrying the private attribute.
  • the third routing node in the VPN determines whether there is a forwarding entry in the FIB that matches the content name of the requested content; when there is no forwarding entry in the FIB that matches the content name of the requested content, Determining whether the FIB carries the container information of the requested content, the container information of the requested content includes a partial container identifier of the at least one fourth container for storing the requested content; when the content request packet carries the container information of the requested content Determining, in the FIB, whether there is a forwarding entry that matches the container identifier in the container information of the requested content; and when there is a forwarding entry in the FIB that matches the container identifier in the container information of the requested content, according to the forwarding entry The interface in the matching forwarding entry forwards the content request packet.
  • the partial container identifier of the at least one fourth container may include a partial container identifier of the home container of the requested content, and may also include a partial container identifier of the access container of the home container requesting the content, where the home container and the The container identifier of the access container of the home container may be prefixed with the container identifier of the first container, and the partial container identifier may be a portion after the complete container identifier strips the container identifier of the first container, and the embodiment of the present invention is not limited thereto. .
  • the container information of the requested content is used to assist the content name of the requested content to determine a forwarding route of the content request packet.
  • the determining, in the forwarding information table FIB, whether there is a forwarding entry that matches the content name of the requested content includes: prefixing the content name according to the content of the request, and prefixing the content name in the forwarding entry in the FIB Whether it is matched, determining whether there is a forwarding entry in the FIB that matches the content name of the requested content; and the third routing node in the VPN has a forwarding entry matching the content name of the requested content in the FIB. And forwarding the content request packet according to the interface in the matched forwarding entry.
  • the third routing node in the VPN may further cache the request content by using a content store (Content Store, referred to as "CS"), so that when the routing node receives the request for the same content, The requested content stored in the CS can be directly sent to the requesting user, thereby making the content requesting process simpler and faster.
  • CS Content Store
  • the third routing node in the VPN may also determine whether the request exists in the content storage table CS.
  • the matched content is forwarded to the sending end of the content request packet; and when the request does not exist in the CS
  • the step of determining whether there is a forwarding entry matching the content name of the requested content in the FIB is performed.
  • the third routing node in the VPN may further query the PIT after querying the CS to determine whether there is a request for the requested content.
  • the third routing node in the VPN may further determine, when the content matching the content name of the requested content does not exist in the CS, whether the content name of the requested content exists in the PIT. a matching PIT entry; when a PIT entry matching the content name of the requested content exists in the PIT, the receiving interface of the content request packet is added to the matched PIT entry; and when the PIT does not exist and When the content name of the request content matches the PIT entry, the step of determining whether there is a forwarding entry matching the content name of the requested content in the FIB is performed.
  • the third routing node in the VPN may match the content name of the requested content with the content name stored in the PIT, because the content name of the requested content is unique within the first container. If the PIT entry does not exist in the PIT, the third routing node in the VPN may add the information of the content request packet to the PIT to become a new PIT entry.
  • the new PIT entry may include a content name of the requested content and a receiving interface of the content request packet, but the embodiment of the present invention is not limited thereto.
  • the second routing node may Returning the content response packet carrying the content of the request, for example, the content request packet sent by the requesting user in the site 1 of the VPN 1 is forwarded to the site 2 of the VPN 1, and the routing node in the site 2 returns a content response packet, where
  • the content response packet may carry the content of the request, the content name of the requested content, and the private identifier, and may further carry a partial container identifier of the container corresponding to the requesting user of the requested content, for example, a partial container identifier of the container 1
  • embodiments of the invention are not limited thereto.
  • the third routing node in the VPN may forward the content according to the requesting user name of the requested content carried in the content response packet.
  • a response packet wherein the request user name belongs to the same name space as the content name of the requested content, and the request user name can only be spread in the first container.
  • the third routing node in the VPN determines whether there is a forwarding entry in the FIB that matches the requesting user name in the content response packet, where the FIB forwarding entry includes a content name prefix and a content name prefix. If the forwarding entry matching the requesting username exists in the FIB, the content response packet is sent according to the interface in the matching forwarding entry.
  • the third routing node of the VPN may match the prefix of the requesting username with the content name prefix in the FIB to determine whether a forwarding entry matching the requested username exists in the FIB, but the implementation of the present invention is implemented. The example is not limited to this.
  • the first node may further store the request content in the CS, so that the third routing node in the VPN receives the requested content. The request can be returned directly to the request.
  • the content response packet may further carry the container information of the requesting user, where the container information of the requesting user may include a partial container identifier of the container corresponding to the requesting user, and may further include access of the container corresponding to the requesting user.
  • a partial container identifier of the container, the container corresponding to the requesting user and the access container thereof may be prefixed with the container identifier of the first container, and the partial container identifier is the container identifier of the first container, and the container identifier of the first container is stripped The remainder of the invention, but the embodiment of the invention is not limited thereto.
  • the third routing node in the VPN may determine, according to the container identifier in the container information of the requested content, whether the FIB exists in the FIB.
  • the matching forwarding entry determines the forwarding route of the content request packet.
  • the third routing node in the VPN does not have a forwarding entry matching the requesting username in the FIB, it is determined whether there is a forwarding in the FIB that matches the container identifier in the container information of the requested content.
  • the content response packet is sent according to the interface in the matching forwarding entry.
  • the third routing node in the VPN may further store the request content in the CS, so that the first in the VPN The three routing nodes can directly return the requested content when receiving the request for the requested content.
  • the third routing node in the VPN when the third routing node in the VPN has a PIT, the content request packet received by the third routing node in the VPN for requesting a certain content may be recorded in the PIT.
  • the third routing node in the VPN may determine the forwarding route of the content response packet by determining whether the request record of the content exists in the PIT.
  • the third routing node in the VPN may further determine whether there is a PIT entry in the resident information table PIT that matches the content name of the requested content; when there is a PIT in the PIT that matches the content name of the requested content The entry is sent according to the interface in the matched PIT entry, and the matched PIT entry is removed from the PIT.
  • the first routing node in the public network when the first routing node in the public network receives the content response packet carrying the private identifier, the first routing node may obtain the container identifier of the first container, and according to the container identifier of the first container. Forwarding the content response packet, and correspondingly, the method 100 further includes:
  • S170 Receive the content response packet returned by the second routing node in the VPN, where the content response packet carries the content of the request, the content name of the requested content, and the private identifier.
  • the first routing node in the public network determines whether a forwarding entry matching the container identifier of the first container exists in the FIB, and a forwarding entry matching the container identifier of the first container exists in the FIB.
  • the content response packet is sent according to the interface in the matching forwarding entry.
  • the extended content name of the request content is composed of the content name of the request content and the container identifier of the first container; when there is a PIT entry in the PIT that matches the extended content name of the requested content, according to the matched PIT
  • the interface in the entry sends the content response packet, and the matched PIT entry is removed from the PIT, but the embodiment of the present invention is not limited thereto.
  • the method for forwarding a message in the ICN of the embodiment of the present invention can establish a VPN service under the ICN architecture by adding the container information and the private attribute of the content to the content name to extend the attribute of the content in the ICN system, and
  • the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN.
  • there is no need to add additional equipment or routing tables thus achieving high-quality services at low cost and improving the user experience.
  • FIG. 6 is a schematic flowchart of a method 200 for forwarding a message according to still another embodiment of the present invention.
  • the method may be performed by a first node in the network.
  • the method 200 includes: S201.
  • the first node receives a content request packet, where the content request packet carries a content name of the requested content.
  • the content request packet may further carry container information of the requested content, and the container information of the requested content includes a container identifier of at least one container for storing the requested content.
  • the content request packet may further carry a private attribute
  • the container information of the requested content carried by the content request packet sent by the requesting user of the requested content includes
  • the partial container identifier of the at least one container storing the requested content may include a partial container identifier of the home container of the requested content, and may further include a partial container identifier of the access container of the home container of the requested content, where the portion The container identifier may be a part of the container identifier after the complete container identifier is stripped of the first container of the VPN.
  • huawei.com/site2 strips some container labels f after huawei.com, and is site2;
  • the content request packet may also carry the user name of the requesting user of the requested content and the container identifier of the container corresponding to the requesting user.
  • the embodiment of the present invention is not limited thereto.
  • S202 The first node determines whether the content request packet carries a private attribute.
  • the behavior of the routing node at different locations in the network is different.
  • the first node is a routing node in the VPN
  • the first node forwards the process and forwarding of the content request packet.
  • the process of requesting a package without a private attribute is the same, and both are executed.
  • S203 When the first node is a PE node in the public network, the first node performs S206; when the first node is a P node in the public network, the first node performs S208.
  • the first node determines whether there is content in the CS that matches the content name of the requested content.
  • the first node executes
  • the first node sends a content response packet carrying the requested content to a receiving interface of the content request packet.
  • the content response package may carry a private attribute.
  • the first node determines whether a forwarding entry that matches the content name of the requested content exists in the FIB.
  • the forwarding entry in the FIB includes a content name prefix and an interface corresponding to the content name prefix, and the first node matches the prefix of the content name of the requested content with the content name prefix in the FIB to determine whether the FIB exists in the FIB.
  • a forwarding entry that matches the content name of the requested content When there is a forwarding entry in the FIB that matches the content name of the requested content, the first node performs S209, and the processing flow of the content request packet by the first node ends; otherwise, the first node performs S208.
  • the first node determines whether there is a receiving interface entry in the registration container table that matches the receiving interface of the content request packet.
  • the first node When there is a receiving interface entry that matches the receiving interface entry of the content request packet, the first node performs S207, that is, the container identifier in the matching receiving interface entry is used as the container of the first container. Identifying, adding the container identifier to the content request package, forming a complete container identifier for storing at least one container of the requested content, and then performing S208; otherwise, the first node performs S210.
  • the first node adds the container identifier in the matched receiving interface entry to the content request packet.
  • the first node determines whether there is a forwarding entry in the FIB that matches the container identifier in the container information of the requested content.
  • the forwarding entry in the FIB includes a preset container identifier and an interface corresponding to the preset container identifier.
  • the first node matches the container identifier of the at least one container in the container information of the requested content with the preset container identifier in the FIB to determine whether the FIB matches the container identifier in the container information of the requested content. Forward the entry.
  • the container identifier of the at least one container identifies a complete container identifier of the at least one container carried by the initial content request packet sent by the requesting user of the requested content; when the content request packet carries When the first node is a PE node and a P node, the container identifier of the at least one container is added. a complete container identifier after the container identifier of the first container. When the first node is a node in the VPN, the container identifier of the at least one container may be a complete container identifier after the container identifier of the first container is added.
  • the first node When there is a forwarding entry in the FIB that matches the container identifier in the container information of the requested content, the first node performs S209; otherwise, the first node performs S210, and the first node processes the content request packet. The process ends.
  • S209 The first node sends the content request packet according to an interface in the matched forwarding entry.
  • the first node sends the content request packet according to a default interface, or discards the content request packet.
  • the method for forwarding a message in the ICN of the embodiment of the present invention can establish a VPN service under the ICN architecture by adding the container information and the private attribute of the content to the content name to extend the attribute of the content in the ICN system, and
  • the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN.
  • there is no need to add additional equipment or routing tables thus achieving high-quality services at low cost and improving the user experience.
  • FIG. 7 is a schematic flow diagram of a method 300 of forwarding a message in an ICN, in accordance with still another embodiment of the present invention. As shown in FIG. 7, the method 300 includes:
  • the first node receives a content request packet.
  • the first node determines whether the content request packet carries a private attribute.
  • the first node When the content request packet carries a private attribute, the behavior of the routing node at different locations in the network is different.
  • the first node When the first node is a routing node in the VPN, the first node forwards the process and forwarding of the content request packet. If the first node is a PE node in the public network, the first node executes S307; when the first node is a P node in the public network, the process of requesting the packet is the same as that of the public network. The first node executes S309. 5303. The first node determines whether there is content in the CS that matches the content name of the requested content.
  • the first node executes S304, and the processing flow of the content request packet by the first node ends; otherwise, the first node performs S305.
  • S304 The first node sends a content response packet carrying the requested content to a receiving interface of the content request packet.
  • the first node determines whether there is a PIT entry in the PIT that matches the content name of the requested content.
  • the PIT entry in the PIT of the first node may include a content name prefix and a list of interfaces corresponding to the content name prefix, and the first node may match the prefix of the content name of the requested content with the content name prefix in the PIT , to determine whether there is a PIT entry in the PIT that matches the content name of the requested content.
  • the first node performs S310, and the processing flow of the content request packet by the first node ends; otherwise, the first node executes S306.
  • the first node determines whether a forwarding entry matching the content name of the requested content exists in the FIB.
  • the first node When there is a forwarding entry in the FIB that matches the content name of the requested content, the first node performs S313, and the processing of forwarding the content request packet by the first node ends; otherwise, the first node performs S311.
  • the first node determines whether there is a receiving interface entry in the registration container table that matches the receiving interface of the content request packet.
  • the first node When there is a receiving interface entry in the registration container table that matches the receiving interface entry of the content request packet, the first node performs S308, that is, the container identifier in the matching receiving interface entry is used as the container of the first container. Identifying, adding the container identifier to the content request package, forming a complete container identifier for storing at least one container of the requested content, and then executing S309; otherwise, the first A node executes S312.
  • the first node adds the container identifier in the matched receiving interface entry to the content request packet.
  • the first node determines whether there is a PIT entry in the PIT that matches the extended content name of the requested content.
  • the extended content name of the requested content consists of the content name of the requested content and the container identification of the first container.
  • the first node may first match the content name of the requested content with the PIT entry in the PIT.
  • the first The node continues to match the container identifier of the first container with the matched PIT entry to determine whether the matched PIT entry exactly matches the extended content name of the requested content.
  • the first node executes S310, and the processing flow of the content request packet by the first node ends; otherwise, the first node performs S311.
  • the first node updates the PIT.
  • the first node adds the information of the content request packet to the matched PIT entry. Specifically, when the first node executes 8303 and 8305 and executes 8310, the S310 specifically adds, by the first node, the content name of the requested content and the receiving interface of the content request packet to the PIT to become a new PIT entry; When the first node executes S309 and then executes S310, the S310 specifically adds the extended content name of the requested content and the receiving interface of the content request packet to the PIT to become a new PIT entry, but the embodiment of the present invention Not limited to this.
  • the first node determines whether there is a forwarding entry in the FIB that matches a container identifier in the container information of the requested content.
  • the first node executes S313, and the processing flow of the content request packet by the first node ends; otherwise, the first node performs S312. The processing flow of the content request packet by the first node ends.
  • the first node sends the content request packet according to a default interface, or the content request packet is lost. Discard.
  • the first node sends the content request packet according to an interface in the matched forwarding entry. Therefore, the method for forwarding a message in the ICN of the embodiment of the present invention can establish a VPN service under the ICN architecture by adding the container information and the private attribute of the content to the content name to extend the attribute of the content in the ICN system, and The routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN. At the same time, there is no need to add additional equipment or routing tables, thus achieving high-quality services at low cost and improving the user experience.
  • FIG. 6 and FIG. 7 are intended to assist those skilled in the art to better understand the embodiments of the present invention and not to limit the scope of the embodiments of the present invention.
  • a person skilled in the art will be able to make various modifications or changes in the embodiments according to the examples of FIG. 6 and FIG. 7. The modifications or variations are also within the scope of the embodiments of the present invention.
  • the method for forwarding a message in an ICN according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 7.
  • the device for forwarding a message in an ICN according to an embodiment of the present invention will be described in detail below with reference to FIG. 8 to FIG. And system.
  • FIG 8 is a schematic block diagram of a router 400 in a public network in accordance with an embodiment of the present invention. As shown in Figure 8, the router 400 includes:
  • the receiving module 410 is configured to receive a content request packet sent by the first router in the virtual private network VPN, where the content request packet carries a content name of the requested content and a private identifier used to identify that the requested content is a private content;
  • the obtaining module 420 is configured to: when determining that the content request packet received by the receiving module 410 carries the private identifier, acquire a container identifier of the first container for storing the requested content;
  • the sending module 430 is configured to forward the content request packet according to the container identifier of the first container acquired by the obtaining module 420, so that the content request packet is forwarded to the second router in the VPN and the second in the VPN
  • the router returns a content response packet carrying the requested content according to the content name of the requested content.
  • the router in the public network of the embodiment of the present invention can expand the attributes of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name, thereby establishing a VPN service under the ICN architecture, and the public network.
  • the routing node forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN. No additional equipment or routing tables are required, resulting in high-quality services at low cost and improved user experience.
  • the first container is a storage space for storing a set of private content.
  • the first container includes at least one fourth router, and the request content can be routed to the first container through one or more fourth routers of the at least one fourth router, or the requested content can pass the first A container is routed to.
  • the content name of the request content corresponds to one or more home containers, and the home container of the request content is a container that can be directly routed to the requested content.
  • the first container is an access container of one or more second containers; and/or the one or more third containers are access containers of the first container; wherein the access container is at least one container, and A container includes a forwarding entry that routes the content request packet to the at least one container.
  • the obtaining module 420 is specifically configured to determine whether a receiving interface entry that matches the receiving interface of the content request packet exists in the registration container table, where the receiving interface table entry in the registration container table includes a preset receiving interface and a container identifier corresponding to the preset receiving interface; and when the receiving container table has a receiving interface entry matching the receiving interface of the content request packet, the matching receiving interface entry
  • the container ID in the container is the container identifier of the first container.
  • the router 400 in the public network further includes:
  • the update module 440 is configured to add the container identifier of the first container acquired by the obtaining module 420 In the content request packet, the second router in the public network is forwarded to forward the content request packet according to the container identifier of the first container.
  • the content request packet received by the receiving module 410 further carries the container identifier of the first container
  • the obtaining module 420 is specifically configured to obtain a container identifier of the first container carried in the content request packet.
  • the sending module 430 includes:
  • the first determining unit 431 is configured to determine whether there is a forwarding entry in the forwarding information table FIB that matches the container identifier of the first container, where the forwarding entry in the FIB includes a preset container identifier and the preset container Identify the corresponding interface;
  • the sending unit 432 is configured to: when the first determining unit 431 determines that there is a forwarding entry in the FIB that matches the container identifier of the first container, forward the content request packet according to the interface in the matching forwarding entry.
  • the sending module 430 further includes: a second determining unit 433, configured to determine, in the first determining unit 431, whether a container corresponding to the first container exists in the FIB Before identifying the matching forwarding entry, determining whether there is a PIT entry in the resident information table PIT that matches the extended content name of the requested content, the extended content name of the requested content is determined by the content name of the requested content and the first container Container identification composition;
  • the updating unit 434 is configured to: when the second determining unit 433 determines that there is a PIT entry in the PIT that matches the extended content name of the requested content, add a receiving interface of the content request packet to the matched PIT entry;
  • the first determining unit 431 is specifically configured to: when the second determining unit 433 determines that there is no PIT entry in the PIT that matches the extended content name of the requested content, perform the determining whether the FIB exists in the FIB The step of the container identifying the matching forwarding entry.
  • the receiving module 410 is further configured to receive the second path in the VPN.
  • the sending module 430 is further configured to forward the content response packet received by the receiving module 410 according to the container identifier of the first container.
  • the router 400 may correspond to the first routing node in the public network in the method of forwarding a message in the ICN according to the embodiment of the present invention, and the foregoing and other operations of the respective modules in the router 400 and/or The functions are respectively implemented in order to implement the corresponding processes of the respective methods in FIG. 1 to FIG. 7. For brevity, details are not described herein again.
  • the router in the public network of the embodiment of the present invention can expand the attributes of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name, thereby establishing a VPN service under the ICN architecture, and the public network.
  • the routing node forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN. No additional equipment or routing tables are required, resulting in high-quality services at low cost and improved user experience.
  • FIG. 11 is a schematic block diagram of a system 500 for forwarding messages in an ICN, in accordance with an embodiment of the present invention.
  • the system 500 includes a router 510 in the public network as shown in FIG. 8 to FIG. 10, a first router 520 in the virtual private network VPN, a second router 530 in the VPN, and the VPN.
  • the third router 540 The third router 540.
  • the system for forwarding a message in the ICN in the embodiment of the present invention can expand the attribute of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name, thereby establishing a VPN service under the ICN architecture.
  • the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN.
  • the first router in the VPN sends the content of the content name and private attribute carrying the requested content.
  • the third router of the VPN routes the content request packet to the public network according to the content name of the request content
  • the PE node in the public network obtains the container identifier of the first container formed by the VPN through the container registry, and The container identifier of the first container is added to the content request packet, and the PE node forwards the content request packet to the P node according to the container identifier of the first container, and the P node requests the packet according to the content
  • the container identifier of a container routes the content request packet to the second router of the VPN that owns the requested content, and the second router in the VPN returns a content response packet carrying the requested content, and the content response packet can be returned through the original path.
  • the first router to the VPN but the embodiment of the present invention is not limited thereto.
  • the third router 540 in the VPN includes:
  • the first receiving module 541 is configured to receive the content request packet sent by the first router in the VPN;
  • the first determining module 542 is configured to determine whether there is a forwarding entry in the forwarding information table FIB that matches the content name of the content requested by the content receiving packet received by the first receiving module 541, where the forwarding entry in the FIB includes An interface corresponding to the content name prefix and the content name prefix;
  • the first sending module 543 is configured to: when the first determining module 542 determines that the forwarding entry matching the content name of the requested content exists in the FIB, forward the content request packet according to the interface in the matching forwarding entry .
  • the third router 540 in the VPN further includes: a second determining module 544, configured to: when the first determining module 543 determines that the content name of the requested content does not exist in the FIB, When forwarding the entry, determining whether the content request packet carries container information of the requested content, and the container information of the requested content includes a container identifier for identifying at least one fourth container storing the requested content;
  • a third determining module 545 configured to: when the second determining module 544 determines, whether there is a forwarding entry in the FIB that matches a container identifier in the container information of the requested content;
  • the first sending module 543 is further configured to: when the third determining module 545 determines that the FIB exists in the FIB When the container in the container information of the request content identifies the matching forwarding entry, the content request packet is sent according to the interface in the matching forwarding entry.
  • the third router 540 in the VPN further includes: a fourth determining module 546, configured to determine, by the first determining module 542, whether there is a content name matching the content of the requested content in the FIB. Before forwarding the entry, determining whether there is content matching the content name of the requested content in the content storage table CS;
  • the first determining module 542 is specifically configured to: when the fourth determining module 546 determines that there is no content matching the content name of the requested content in the CS, perform determining whether the FIB matches the content name of the requested content. The step of forwarding a table entry.
  • the third router 540 in the VPN further includes: a fifth determining module 547, configured to: when the fourth determining module 546 determines that the content name of the requested content does not exist in the CS, Content, determining whether there is a PIT entry in the PIT that matches the content name of the requested content;
  • the first update module 548 is configured to: when the fifth determining module 547 determines that there is a PIT entry in the PIT that matches the content name of the requested content, add the receiving interface of the content request packet to the matched PIT entry.
  • the first determining module 542 is specifically configured to: when the fifth determining module 547 determines that there is no PIT entry in the PIT that matches the content name of the requested content, perform the determining whether the content name of the requested content exists in the FIB. The step of matching the forwarding entry.
  • the first receiving module 541 is further configured to receive a content response packet sent by the second router in the VPN, where the content response packet carries the content of the request, the content name of the requested content, and the private identifier. ;
  • the third router 540 in the VPN further includes:
  • the sixth determining module 549 is configured to forward the content response packet according to the content name of the requested content carried by the content response packet received by the first receiving module 541.
  • the content response packet received by the first receiving module 541 carries the requested user name of the requested content;
  • the sixth determining module 549 includes:
  • a first determining unit 549a configured to determine whether there is a forwarding item matching the requested user name in the FIB
  • the first sending unit 549b is configured to: when the first determining unit 549a determines that the forwarding entry matching the requested user name exists in the FIB, forward the content response packet according to the interface in the matching forwarding entry.
  • the sixth determining module 549 further includes:
  • a second determining unit 549c configured to: when the first determining unit 549a determines that there is no forwarding entry matching the requested user name in the FIB, determine whether the content response packet carries the container information of the requesting user of the requested content,
  • the container information of the requesting user includes a container identifier for identifying at least one fifth container corresponding to the requesting user;
  • the first sending unit 549b is further configured to: when the third determining unit 549d determines that there is a forwarding entry in the FIB that matches the container identifier in the container information of the requesting user, according to the interface in the matching forwarding entry, Forward the content response package.
  • the sixth determining module 549 includes:
  • a fourth determining unit 549e configured to determine, in the PIT, a PIT entry that matches a content name of the requested content
  • the second sending unit 549f is configured to forward the content response packet according to the interface in the PIT entry matched by the fourth determining unit 549e;
  • a storage unit 549g configured to store the requested content carried in the content response packet into the CS;
  • the removing unit 549h is configured to remove the matched PIT entry determined by the fourth determining unit 549e from the PIT.
  • the system for forwarding a message in the ICN in the embodiment of the present invention can expand the attribute of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name, thereby establishing a VPN service under the ICN architecture.
  • the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN.
  • FIG. 13 is a schematic block diagram of a router 600 in a public network in accordance with another embodiment of the present invention.
  • the router 600 in the public network includes: a processor 610, a memory 620, a bus system 630, a receiver 640, and a transmitter 650.
  • the processor 610, the memory 620, the receiver 640, and the transmitter 650 are connected by a bus system 630.
  • the memory 620 is configured to store an instruction, and the processor 610 calls the instruction stored in the memory 620 through the bus system 630.
  • the receiver 610 is configured to receive a content request packet sent by a first router in a virtual private network VPN, where the content request packet carries a content name of the requested content and a private identifier used to identify the requested content as private content;
  • the device 610 is configured to: when determining that the content request packet received by the receiver 640 carries the private identifier, acquire a container identifier of a first container for storing the requested content;
  • the transmitter 650 is configured to acquire according to the processor 610 Determining, by the container identifier of the first container, the content request packet, so that the content request packet is forwarded to the second router in the VPN, and the second router in the VPN returns carrying the requested content according to the content name of the requested content.
  • the content response package is configured to receive a content request packet sent by a first router in a virtual private network VPN, where the content request packet carries a content name of the requested content and a private identifier used to identify the requested content as private content;
  • the device 610 is configured
  • the router in the public network that forwards the packet in the embodiment of the present invention can expand the attribute of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name.
  • Establishing a VPN service under the ICN architecture and the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby While ensuring the privacy of the content in the VPN, there is no need to add additional devices or routing tables, thereby achieving high-quality services at low cost and improving the user experience.
  • the processor 610 may be a central processing unit (Central)
  • the processor 610 can also be other general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic. Devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 620 can include read only memory and random access memory and provides instructions and data to the processor 610. A portion of memory 620 may also include non-volatile random access memory. For example, the memory 620 can also store information of the device type.
  • the bus system 630 can include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 630 in the figure.
  • the steps of the above method may be performed by an integrated logic circuit of hardware in the processor 610 or an instruction in the form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 620, and the processor 610 reads the information in the memory 620 and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the first container is a storage space for storing a set of private content.
  • the first container includes at least one fourth router, the request content can be routed in the first container through one or more fourth routers of the at least one fourth router, or the requested content can pass The first container is routed to.
  • the content name of the request content corresponds to one or more home containers, and the home container of the requested content is a container that can be directly routed to the requested content.
  • the first container is an access container of one or more second containers; and/or the one or more third containers are access containers of the first container; wherein the access container is at least one container, and A container includes a forwarding entry that routes the content request packet to the at least one container.
  • the processor 610 is specifically configured to determine, by using a registration container table, a receiving interface entry that matches a receiving interface of the content request packet, where the receiving interface table entry in the registration container table includes a preset receiving interface and a container identifier corresponding to the preset receiving interface; and when the receiving container table has a receiving interface entry matching the receiving interface of the content request packet, the matching receiving interface entry
  • the container ID in the container is the container identifier of the first container.
  • the processor 610 is further configured to add the container identifier of the first container to the content request packet, so that the second router in the public network is configured according to the container identifier of the first container. Forward the content request package.
  • the content request packet received by the receiver 640 further carries the container identifier of the first container
  • the processor 610 is specifically configured to obtain a container identifier of the first container carried in the content request packet.
  • the processor 610 is further configured to determine whether a forwarding entry that matches the container identifier of the first container exists in the forwarding information table FIB, where the forwarding entry in the FIB includes a preset a container identifier and an interface corresponding to the preset container identifier;
  • the transmitter 650 is specifically configured to forward the content request packet according to the interface in the matched forwarding entry when the processor 610 determines that there is a forwarding entry in the FIB that matches the container identifier of the first container.
  • the processor 610 is further configured to determine whether the presence information in the resident information table PIT exists before determining whether there is a forwarding entry in the FIB that matches the container identifier of the first container.
  • a PIT entry matching the extended content name of the requested content the extended content name of the requested content is composed of a content name of the requested content and a container identifier of the first container; and an extended content name of the requested content exists in the PIT
  • the matching PIT entry is added to the matching PIT entry of the content request packet; and when the PIT does not have a PIT entry matching the extended content name of the requested content, performing the determining FIB Whether there is a step of forwarding entries matching the container identifier of the first container.
  • the receiver 640 is further configured to receive the content response packet returned by the second router in the VPN, where the content response packet carries the content of the request, a content name of the requested content, and the private identifier.
  • the transmitter 650 is further configured to forward the content response packet received by the receiver 640 according to the container identifier of the first container.
  • the router 600 may correspond to the first routing node in the public network in the method of forwarding a message in the ICN according to the embodiment of the present invention, and the foregoing and other operations of each module in the router 600 and/or The functions are respectively implemented in order to implement the corresponding processes of the respective methods in FIG. 1 to FIG. 7. For brevity, details are not described herein again.
  • the router in the public network of the embodiment of the present invention can expand the attributes of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name, thereby establishing a VPN service under the ICN architecture, and the public network.
  • the routing node forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN. No additional equipment or routing tables are required, resulting in high-quality services at low cost and improved user experience.
  • the system 700 for forwarding a message in an ICN includes a router 710 in a public network as shown in FIG. 13, a first router 720 in the virtual private network VPN, a second router 730 in the VPN, and the like.
  • the third router 740 in the VPN includes a router 710 in a public network as shown in FIG. 13, a first router 720 in the virtual private network VPN, a second router 730 in the VPN, and the like.
  • the third router 740 in the VPN includes a router 710 in a public network as shown in FIG. 13, a first router 720 in the virtual private network VPN, a second router 730 in the VPN, and the like.
  • the third router 740 in the VPN includes a router 710 in a public network as shown in FIG. 13, a first router 720 in the virtual private network VPN, a second router 730 in the VPN, and the like.
  • the system for forwarding a message in the ICN in the embodiment of the present invention can expand the attribute of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name.
  • the VPN service is established under the ICN architecture, and the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby While ensuring the privacy of the content in the VPN, there is no need to add additional devices or routing tables, thereby achieving high-quality services at low cost and improving the user experience.
  • the third router 740 in the VPN includes: a processor 741, a memory 742, a bus system 743, a receiver 744, and a transmitter 745.
  • the processor 741, the memory 742, the receiver 744, and the transmitter 745 are connected by a bus system 743, where the memory 742 is used to store instructions, and the processor 741 calls the instruction stored in the memory 742 through the bus system 743.
  • the receiver 744 is configured to receive the content request packet sent by the first router in the VPN; the processor 741 is configured to determine whether the content request packet received by the receiver 744 is carried in the forwarding information table FIB.
  • the forwarding entry in the FIB includes a content name prefix and an interface corresponding to the content name prefix; the sender 745 is configured to determine, when the processor 741 exists in the FIB When the forwarding entry of the content name matching the content is requested, the content request packet is forwarded according to the interface in the matching forwarding entry.
  • the processor 741 is further configured to: when there is no forwarding entry in the FIB that matches the content name of the requested content, determine whether the content request packet carries the container of the requested content.
  • Information, the container information of the request content includes a container identifier for identifying at least one fourth container storing the requested content; and determining whether a forwarding entry matching the container identifier in the container information of the requested content exists in the FIB;
  • the transmitter 745 is further configured to: when the processor 741 determines that there is a forwarding entry in the FIB that matches the container identifier in the container information of the requested content, send the content request according to the interface in the matching forwarding entry. package.
  • the processor 741 is further configured to determine, before determining, in the FIB, whether a forwarding entry matching the content name of the requested content exists, whether the content of the requested content exists in the content storage table CS. Content matching content; and when there is no content in the CS with the requested content When the content matches, the step of determining whether there is a forwarding entry matching the content name of the requested content in the FIB is performed.
  • the processor 741 is further configured to: when there is no content in the CS that matches the content name of the requested content, determine whether there is a PIT in the PIT that matches the content name of the requested content. a table entry; when a PIT entry matching the content name of the request content exists in the PIT, adding a receiving interface of the content request packet to the matched PIT entry; and when the PIT does not exist and the request When the content name of the content matches the PIT entry, the step of determining whether there is a forwarding entry matching the content name of the requested content in the FIB is performed.
  • the receiver 744 is further configured to receive a content response packet sent by the second router in the VPN, where the content response packet carries the content of the request, the content name of the requested content, and the private identifier;
  • the processor 741 is further configured to forward the content response packet according to the content name of the requested content carried by the content response packet received by the receiver 744.
  • the content response packet received by the receiver 744 carries the requested user name of the requested content
  • the processor 741 is further configured to determine whether there is a forwarding entry in the FIB that matches the requested username.
  • the transmitter 745 is further configured to forward the content response packet according to the interface in the matched forwarding entry when the processor 741 determines that the forwarding entry matching the requested username exists in the FIB.
  • the processor 741 is further configured to: when there is no forwarding entry in the FIB that matches the requesting username, determine whether the content response packet carries the requesting user's container of the requested content.
  • Information, the container information of the requesting user includes a container identifier for identifying at least one fifth container corresponding to the requesting user; and determining, when the content response packet carries the container information of the requesting user, whether the request exists in the FIB The container identifier in the user's container information matches the forwarding entry;
  • the transmitter 745 is further configured to: when the processor 741 determines that the content of the requesting user exists in the FIB When the container in the device information identifies the matching forwarding entry, the content response packet is forwarded according to the interface in the matching forwarding entry.
  • the processor 741 is further configured to: determine, in the PIT, a PIT entry that matches a content name of the request content;
  • the transmitter 745 is further configured to forward the content response packet according to the interface in the matched PIT entry determined by the processor 741;
  • the processor 741 is further configured to store the requested content carried by the content response packet into the CS, and remove the matched PIT entry from the PIT.
  • the system for forwarding a message in the ICN in the embodiment of the present invention can expand the attribute of the content in the ICN system by adding the container information and the private attribute of the content on the basis of the content name, thereby establishing a VPN service under the ICN architecture.
  • the routing node in the public network forwards the content request packet for requesting the content according to the container identifier of the container corresponding to the VPN, so that the content name of the content in the VPN does not spread out of the VPN, thereby ensuring the privacy of the content in the VPN.
  • the term "and/or” is merely an association describing the associated object, indicating that there may be three relationships.
  • a and / or B can mean: A exists separately, there are A and B, and there are three cases of B alone.
  • the character "/" in this article generally means that the contextual object is an "or" relationship.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the storage medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a Read-Only Memory (“ROM”), a random access memory (“RAM”), a magnetic disk or an optical disk, and the like.
  • ROM Read-Only Memory
  • RAM random access memory
  • magnetic disk or an optical disk and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种ICN中转发报文的方法、装置及系统,该方法包括:公网中的第一路由节点接收虚拟私有网络VPN中的第一路由节点发送的内容请求包,该内容请求包携带请求内容的内容名和用于标识该请求内容为私有内容的私有标识;获取用于存储该请求内容的第一容器的容器标识;根据该第一容器的容器标识,转发该内容请求包,以使得该内容请求包被转发至该VPN中的第二路由节点且根据该请求内容的内容名返回携带该请求内容的内容响应包。本发明实施例的ICN中转发报文的方法、装置及系统,能够在ICN架构下建立VPN服务,并且在保证内容的私有性的同时,无需增加额外的设备或路由表,从而实现了低成本下的高质量服务,提高了用户体验。

Description

信息为中心网络 ICN中转发报文的方法、 装置及系统
技术领域 本发明实施例涉及通信领域, 并且更具体地, 涉及信息为中心网络 ICN中 转发报文的方法、 装置及系统。 背景技术 虽然互联网协议(Internet Protocol, 简称为 "IP" ) 已经取得极大的成功, 推动互联网无处不在, 但是 IP诞生之初将 "终端" 置于核心位置, 以目的 IP地址 和源 IP地址标识的一个个 IP包 载着两个终端之间的会话, 因此 IP是一种以终端 为中心的网络协议。 而今天人们使用互联网, 主要功能不是为了终端之间的会 话, 而是获取信息, 如网络新闻、 搜索引擎, 网络音乐、 网络视频、 博客、 微 博、 社交网站、 网络论坛等应用其实都是以各种信息的生产、 传播和共享为主 要目的, 且人们在获取这些信息时往往并不关心从哪里获取信息, 这是一种全 新的以信息或内容为中心的新模式。为了解决互联网应用以信息为中心模式和 IP 以终端为中心模式的不匹配问题, 研究界开始试图重新定义互联网沙漏模型的 腰部, 研究直接面向信息和内容的未来互联网新架构。
在所有信息为中心的网络 ( Information Centric Network , 简称为 "ICN" ) 架构中,命名数据网络 (Named Data Network, 简称为 "NDN" )的影响较大, NDN 是由 Van Jacobson领导的内容为中心网络 ( Content Centric Networking , 简称为 "CCN" )研究发展而来。 NDN和 CCN认为未来网络应该以直接基于内容的命 名和路由为基石出, 采用和 URL类似的结构化内容命名, 在 NDN路由器中通过内 容存储表(Content Store, 简称为 "CS" ) 实现緩存功能, 并通过请求内容的内 容名与转发信息表 ( Forwarding Information Base, 简称为 "FIB" ) 的内容名前 缀的最长匹配查找确定下一跳。 在这种信息为中心的网络架构研究热潮下, 各种运用在现有 IP网络上的应 用, 例如虚拟私有网络(Virtual Private Network, 简称为 "VPN" ),如何架设到 这种以信息为中心的未来网络,例如 NDN/CCN,成为研究领域关注的一个焦点。
IP网络下的 VPN服务, 以多协议标记交换 ( Multi-Protocol Label Switching , 简 称为 "MPLS" ) VPN为例, 当网络结构复杂存在多个 VPN时, 为了让提供商边 缘(Provider Edge, 简称为 "PE" )路由器能区分是哪个本地接口发送的 VPN 用户路由, 需要在 PE路由器上创建大量的虚拟路由器, 每个虚拟路由器都有各 自的路由表和转发表, 这就增加了网络路由器的负担。 此外, MPLS VPN上的网 际协议安全 IPSec加密技术为维护端到端的安全做了大量的工作, 这些繁杂的安 全性工作使整个 VPN服务变得复杂, 并且 IPSec需要更多的维护, 除了需要建立 终止通道的设备, 还需要额外的配置和维护来支持远程用户群。 这些大量的加 密和维护工作, 增加了 VPN服务的运作成本。 与 IP网络下的 VPN服务相比, 建立 在 ICN架构下的 VPN服务, 能够对内容本身进行保护, 从而可以避免专门为保护 VPN中传输的数据的安全而加入大量的加密和认证技术, 降低 VPN服务的运营 成本。 然而, 到现在为止, 还没有针对在 ICN架构下建立 VPN服务的成熟方案。 发明内容 本发明实施例提供了一种信息为中心网络 ICN中转发报文的方法、 装置 及系统, 能够在 ICN架构中提供 VPN服务。
第一方面, 本发明实施例提供了一种 ICN中转发报文的方法, 该方法包 括: 公网中的第一路由节点接收虚拟私有网络 VPN中的第一路由节点发送的 内容请求包, 该内容请求包携带请求内容的内容名和用于标识该请求内容为 私有内容的私有标识; 当确定该内容请求包携带该私有标识时, 获取用于存 储该请求内容的第一容器的容器标识; 根据该第一容器的容器标识, 转发该 内容请求包, 以使得该内容请求包被转发至该 VPN中的第二路由节点且该 VPN中的第二路由节点根据该请求内容的内容名返回携带该请求内容的内容 响应包。
结合第一方面, 在第一种可能的实现方式中, 该第一容器是用于存储一 组私有内容的存储空间。
结合第一方面或结合第一方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 该第一容器包括至少一个第四路由节点, 通过该至少一个第 四路由节点中的一个或多个第四路由节点, 该请求内容能够在该第一容器内 被路由到, 或该请求内容能够通过该第一容器被路由到。
结合第一方面或结合第一方面的第一种可能的实现方式, 在第三种可能 的实现方式中, 该请求内容的内容名对应一个或多个归属容器, 该请求内容 的归属容器是能够直接路由到该请求内容的容器。
结合第一方面或结合第一方面的第一种至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 该第一容器为一个或多 个第二容器的接入容器; 和 /或一个或多个第三容器为该第一容器的接入容 器; 其中, 该接入容器为包括至少一个容器, 且存在将该内容请求包路由到 该至少一个容器的转发表项的容器。
结合第一方面或结合第一方面的第一种至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 该当确定该内容请求包 携带该私有标识时,获取用于存储该请求内容的第一容器的容器标识, 包括: 确定注册容器表中是否存在与该内容请求包的接收接口匹配的接收接口表 项, 该注册容器表中的接收接口表项包括预设的接收接口以及与该预设的接 收接口对应的容器标识; 当该注册容器表中存在与该内容请求包的接收接口 匹配的接收接口表项时, 将该匹配的接收接口表项中的容器标识作为该第一 容器的容器标识。
结合第一方面的第五种可能的实现方式, 在第六种可能的实现方式中, 该方法还包括: 将该第一容器的容器标识添加到该内容请求包中, 以便于公 网中的第二路由节点根据该第一容器的容器标识转发该内容请求包。
结合第一方面或结合第一方面的第一种至第四种可能的实现方式中的任 一种可能的实现方式, 在第七种可能的实现方式中, 该内容请求包还携带该 第一容器的容器标识; 该当确定该内容请求包携带该私有标识时, 获取用于 存储该请求内容的第一容器的容器标识, 包括: 获取该内容请求包中携带的 该第一容器的容器标识。
结合第一方面或结合第一方面的第一种至第七种可能的实现方式中的任 一种可能的实现方式, 在第八种可能的实现方式中, 该根据该第一容器的容 器标识, 转发该内容请求包, 包括: 确定转发信息表 FIB中是否存在与该第 一容器的容器标识匹配的转发表项, 该 FIB中的转发表项包括预设的容器标 识以及与该预设的容器标识对应的接口; 当该 FIB中存在与该第一容器的容 器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内容请 求包。
结合第一方面的第八种可能的实现方式, 在第九种可能的实现方式中, 在该确定 FIB中是否存在与该第一容器的容器标识匹配的转发表项之前, 确 定驻留信息表 PIT中是否存在与该请求内容的扩展内容名匹配的 PIT表项, 该 请求内容的扩展内容名由该请求内容的内容名和该第一容器的容器标识组 成; 当该 PIT中存在与该请求内容的扩展内容名匹配的 PIT表项时,将该内容 请求包的接收接口添加到该匹配的 PIT表项; 当该 PIT中不存在与该请求内容 的扩展内容名匹配的 PIT表项时, 执行该确定 FIB中是否存在与该第一容器的 容器标识匹配的转发表项的步骤。
结合第一方面或结合第一方面的第一种至第九种可能的实现方式中的任 一种可能的实现方式, 在第十种可能的实现方式中, 该方法还包括: 接收该 VPN中的第二路由节点返回的该内容响应包,该内容响应包携带该请求内容、 该请求内容的内容名和该私有标识; 根据该第一容器的容器标识, 转发该内 容响应包。
第二方面, 提供了一种公网中的路由器, 包括: 接收模块, 用于接收虚 拟私有网络 VPN中的第一路由器发送的内容请求包, 该内容请求包携带请求 内容的内容名和用于标识该请求内容为私有内容的私有标识; 获取模块, 用 于当确定该接收模块接收的该内容请求包携带该私有标识时, 获取用于存储 该请求内容的第一容器的容器标识; 发送模块, 用于根据该获取模块获取的 该第一容器的容器标识, 转发该内容请求包, 以使得该内容请求包被转发至 该 VPN中的第二路由器且该 VPN中的第二路由器根据该请求内容的内容名返 回携带该请求内容的内容响应包。
结合第二方面, 在第一种可能的实现方式中, 该第一容器是用于存储一 组私有内容的存储空间。
结合第二方面或结合第二方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 该第一容器包括至少一个第四路由器, 通过该至少一个第四 路由器中的一个或多个第四路由器, 该请求内容能够在该第一容器内被路由 到, 或该请求内容能够通过该第一容器被路由到。
结合第二方面或结合第二方面的第一种可能的实现方式, 在第三种可能 的实现方式中, 该请求内容的内容名对应一个或多个归属容器, 该请求内容 的归属容器是能够直接路由到该请求内容的容器。
结合第二方面或结合第二方面的第一种至第三种可能的实现方式中的任 一种可能的实现方式, 在第四种可能的实现方式中, 该第一容器为一个或多 个第二容器的接入容器; 和 /或一个或多个第三容器为该第一容器的接入容 器; 其中, 该接入容器为包括至少一个容器, 且包括将该内容请求包路由到 该至少一个容器的转发表项的容器。
结合第二方面或结合第二方面的第一种至第四种可能的实现方式中的任 一种可能的实现方式, 在第五种可能的实现方式中, 该获取模块具体用于确 定注册容器表中是否存在与该内容请求包的接收接口匹配的接收接口表项, 该注册容器表中的接收接口表项包括预设的接收接口以及与该预设的接收接 口对应的容器标识; 以及当该注册容器表中存在与该内容请求包的接收接口 匹配的接收接口表项时, 将该匹配的接收接口表项中的容器标识作为该第一 容器的容器标识。
结合第二方面的第五种可能的实现方式, 在第六种可能的实现方式中, 该公网中的路由器还包括: 更新模块, 用于将该获取模块获取的该第一容器 的容器标识添加到该内容请求包中, 以便于公网中的第二路由器根据该第一 容器的容器标识转发该内容请求包。
结合第二方面或结合第二方面的第一种至第四种可能的实现方式中的任 一种可能的实现方式, 在第七种可能的实现方式中, 该接收模块接收的内容 请求包还携带该第一容器的容器标识; 该获取模块具体用于获取该内容请求 包中携带的该第一容器的容器标识。
结合第二方面或结合第二方面的第一种至第七种可能的实现方式中的任 一种可能的实现方式, 在第八种可能的实现方式中, 该发送模块包括: 第一 确定单元, 用于确定转发信息表 FIB中是否存在与该第一容器的容器标识匹 配的转发表项, 该 FIB中的转发表项包括预设的容器标识以及与该预设的容 器标识对应的接口; 发送单元, 用于当该第一确定单元确定该 FIB中存在与 该第一容器的容器标识匹配的转发表项时,根据该匹配的转发表项中的接口, 转发该内容请求包。
结合第二方面的第八种可能的实现方式, 在第九种可能的实现方式中, 该发送模块还包括: 第二确定单元, 用于在该第一确定单元确定 FIB中是否 存在与该第一容器的容器标识匹配的转发表项之前,确定驻留信息表 PIT中是 否存在与该请求内容的扩展内容名匹配的 PIT表项,该请求内容的扩展内容名 由该请求内容的内容名和该第一容器的容器标识组成; 更新单元,用于当该 第二确定单元确定该 PIT中存在与该请求内容的扩展内容名匹配的 PIT表项 时,将该内容请求包的接收接口添加到该匹配的 PIT表项; 该第一确定单元具 体用于当该第二确定单元确定该 PIT中不存在与该请求内容的扩展内容名匹 配的 PIT表项时, 执行该确定 FIB中是否存在与该第一容器的容器标识匹配的 转发表项的步骤。
结合第二方面或结合第二方面的第一种至第九种可能的实现方式中的任 一种可能的实现方式, 在第十种可能的实现方式中, 该接收模块还用于接收 该 VPN中的第二路由器返回的该内容响应包,该内容响应包携带该请求内容、 该请求内容的内容名和该私有标识; 该发送模块还用于根据该第一容器的容 器标识, 转发该接收模块接收的该内容响应包。
第三方面, 提供了一种 ICN中转发报文的系统, 该系统包括: 第一方面 或第一方面的第一种至第十种可能的实现方式中的任一种可能的实现方式中 的公网中的路由器、 该虚拟私有网络 VPN中的第一路由器、 该 VPN中的第二 路由器和该 VPN中的第三路由器。
结合第三方面, 在第一种可能的实现方式中, 该 VPN中的第三路由器包 括: 第一接收模块, 用于接收该 VPN中的第一路由器发送的该内容请求包; 第一确定模块, 用于确定转发信息表 FIB中是否存在与该第一接收模块接收 的该内容请求包携带的该请求内容的内容名匹配的转发表项, 该 FIB中的转 发表项包括内容名前缀和该内容名前缀对应的接口; 第一发送模块, 用于当 该第一确定模块确定该 FIB中存在与该请求内容的内容名匹配的转发表项 时, 根据该匹配的转发表项中的接口, 转发该内容请求包。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 该 VPN中的第三路由器还包括: 第二确定模块, 用于当该第一确定模块确定 该 FIB中不存在与该请求内容的内容名匹配的转发表项时, 确定该内容请求 包中是否携带该请求内容的容器信息, 该请求内容的容器信息包括用于标识 存储该请求内容的至少一个第四容器的容器标识; 第三确定模块, 用于当该 第二确定模块确定该 FIB中是否存在与该请求内容的容器信息中的容器标识 匹配的转发表项; 该第一发送模块还用于当该第三确定模块确定该 FIB中存 在与该请求内容的容器信息中的容器标识匹配的转发表项时, 根据该匹配的 转发表项中的接口, 发送该内容请求包。
结合第三方面的第一种或第二种可能的实现方式, 在第三种可能的实现 方式中, 该 VPN中的第三路由器还包括: 第四确定模块, 用于在该第一确定 模块确定 FIB中是否存在与该请求内容的内容名匹配的转发表项之前, 确定 内容存储表 CS中是否存在与该请求内容的内容名匹配的内容; 该第一确定模 块具体用于当该第四确定模块确定该 CS中不存在与该请求内容的内容名匹 配的内容时, 执行该确定 FIB中是否存在与该请求内容的内容名匹配的转发 表项的步骤。
结合第三方面的第三种可能的实现方式, 在第四种可能的实现方式中, 该 VPN中的第三路由器还包括: 第五确定模块, 用于当该第四确定模块确定 该 CS中不存在与该请求内容的内容名匹配的内容时, 确定 PIT中是否存在与 该请求内容的内容名匹配的 PIT表项; 第一更新模块, 用于当该第五确定模块 确定该 PIT中存在与该请求内容的内容名匹配的 PIT表项时, 将该内容请求包 的接收接口添加到该匹配的 PIT表项中;该第一确定模块具体用于当该第五确 定模块确定该 PIT中不存在与该请求内容的内容名匹配的 PIT表项时, 执行该 确定 FIB中是否存在与该请求内容的内容名匹配的转发表项的步骤。
结合第三方面的第一种至第四种可能的实现方式中的任一种可能的实现 方式, 在第五种可能的实现方式中, 该第一接收模块还用于接收该 VPN中的 第二路由器发送的内容响应包, 该内容响应包携带该请求内容、 请求内容的 内容名和该私有标识; 该 VPN中的第三路由器还包括: 第六确定模块, 用于 根据该第一接收模块接收的该内容响应包携带的该请求内容的内容名, 转发 该内容响应包。
结合第三方面的第五种可能的实现方式, 在第六种可能的实现方式中, 该第一接收模块接收的该内容响应包携带该请求内容的请求用户名; 该第六 确定模块包括: 第一确定单元, 用于确定该 FIB中是否存在与该请求用户名 匹配的转发表项; 第一发送单元, 用于当该第一确定单元确定该 FIB中存在 与该请求用户名匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发 该内容响应包。
结合第三方面的第六种可能的实现方式, 在第七种可能的实现方式中, 该第六确定模块还包括: 第二确定单元, 用于当该第一确定单元确定该 FIB 中不存在与该请求用户名匹配的转发表项时, 确定该内容响应包是否携带该 请求内容的请求用户的容器信息, 该请求用户的容器信息包括用于标识该请 求用户对应的至少一个第五容器的容器标识; 第三确定单元, 用于当该第二 确定单元确定该内容响应包携带该请求用户的容器信息时, 确定该 FIB中是 否存在与该请求用户的容器信息中的容器标识匹配的转发表项; 该第一发送 单元还用于当该第三确定单元确定该 FIB中存在与该请求用户的容器信息中 的容器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内 容响应包。
结合第三方面的第五种可能的实现方式, 在第八种可能的实现方式中, 该第六确定模块包括: 第四确定单元,用于确定该 PIT中存在与该请求内容的 内容名匹配的 PIT表项; 第二发送单元, 用于根据该第四确定单元确定的该 匹配的 PIT表项中的接口, 转发该内容响应包; 存储单元, 用于将该内容响应 包携带的该请求内容存储到该 CS中; 移除单元, 用于将该第四确定单元确定 的该匹配的 PIT表项从该 PIT中移除。
基于上述技术方案, 本发明实施例的 ICN中转发报文的方法、 装置及系 统, 通过在内容名的基础上增加内容的容器信息和私有属性以扩展 ICN系统 中的内容的属性, 能够在 ICN架构下建立 VPN服务, 并且公网中的路由节点 根据 VPN对应的容器的容器标识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散出该 VPN, 从而在保证 VPN中内容的私有性的 同时, 无需增加额外的设备或路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。 附图说明 为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例或 现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面所描述 的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是根据本发明实施例的 ICN中转发报文的方法的示意性流程图; 图 2是根据本发明实施例的 VPN网络的框架示意图;
图 3是根据本发明实施例的 ICN中转发报文的方法的另一示意性流程图; 图 4是根据本发明实施例的 ICN中转发报文的方法的再一示意性流程图; 图 5是根据本发明实施例的 ICN中转发报文的方法的再一示意性流程图; 图 6是根据本发明另一实施例的 ICN中转发报文的方法的示意性流程图; 图 7是根据本发明再一实施例的 ICN中转发报文的方法的示意性流程图; 图 8是根据本发明实施例的公网中的路由器的示意性框图;
图 9是根据本发明实施例的公网中的路由器的发送模块的示意性框图; 图 10是根据本发明实施例的公网中的路由器的发送模块的另一示意性框 图;
图 11是根据本发明实施例的 ICN中转发报文的系统的示意性框图; 图 12是根据本发明实施例的 ICN中转发报文的系统的 VPN中的第三路由 器的示意性框图;
图 13是根据本发明另一实施例的公网中的路由器的示意性框图; 图 14是根据本发明另一实施例的 ICN中转发报文的系统的 VPN中的第三 路由器的示意性框图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。
应理解, 本发明实施例的技术方案可以应用于各种信息为中心的网络
ICN架构, 例如: 命名数据网络 (Named Data Network, 简称为 "NDN" ), 内 容为中心网络( Content Centric Networking, 简称为 "CCN" ) , 信息网络 (Network of information, 简称为 "Netlnf ) , 数据为中心网络结构
( Data-Oriented Network Architecture, 简称为 "DONA" ) , 表现互联网结 构 ( expressive Internet Architecture, 简称为 "XIA" ) , 等等。
还应理解,在本发明实施例中,用户设备( User Equipment,简称为 "UE" ) 可称之为终端 (Terminal ) 、 移动台 ( Mobile Station, 简称为 "MS" ) 、 移 动终端( Mobile Terminal )等, 该用户设备可以经无线接入网 ( Radio Access Network, 简称为 "RAN" ) 与一个或多个核心网进行通信, 例如, 用户设 备可以是移动电话 (或称为 "蜂窝" 电话) 、 具有移动终端的计算机等, 例 如, 用户设备还可以是便携式、 袖珍式、 手持式、 计算机内置的或者车载的 移动装置, 它们与无线接入网交换语音和 /或数据。
图 1示出了根据本发明实施例的信息为中心网络 ICN中转发报文的方法 100的示意性流程图, 图 1的方法可以由公网中的路由节点执行。 如图 1所示, 该方法 100包括:
S110, 公网中的第一路由节点接收虚拟私有网络 VPN中的第一路由节点 发送的内容请求包, 该内容请求包携带请求内容的内容名和用于标识该请求 内容为私有内容的私有标识;
S120, 当确定该内容请求包携带该私有标识时, 获取用于存储该请求内 容的第一容器的容器标识;
S130, 根据该第一容器的容器标识, 转发该内容请求包, 以使得该内容 请求包被转发至该 VPN中的第二路由节点且该 VPN中的第二路由节点根据该 请求内容的内容名返回携带该请求内容的内容响应包。
因此, 本发明实施例的 ICN中转发报文的方法, 通过在内容名的基础上 增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性,能够在 ICN 架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容器标 识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散 出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设备或 路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
在本发明实施例中, 容器是用于存储一组内容的存储空间, 其中, 该一 组内容可以是一个或多个内容。 例如, 一个国家的整个网络可以看成是一个 国家级的容器, 该容器是位于该国网络内的所有内容的存储空间; 类似地, 一个省的整个网络可看成是一个省级的容器, 该省级容器是位于该省网络内 的所有内容的存储空间。 此外, 公司或组织的整个网络也可看成是位于该公 司或组织的网络内所有内容的存储空间, 移动设备, 如飞机、 火车或轮船等 的网络可以看成是该移动设备网络内所有内容的存储空间, 手机、 主机或其 他存储内容的电子设备的网络也可以看成该网络内所有内容的存储空间, 本 发明实施例不限于此。相对应的, 容器的容器标识可以是任意内容标识前缀, ^口 fanlingyuan.com/blog,也可以是公司或组织 , ^口: huawei.com 、 tsinghua.edu, 还可以是移动网络, 如飞机、 火车、 轮船, 如 airchina/cal314, 还可以是手 机、 主机或其它存者内容的电子设备 , :¾。chinamobile/fanlingyuan, 还可以 是网络域, 如 cn、 cn/gd 、 cn/sd, 等等。 一个容器可以对应一个容器标识, 也可以对应两个以上容器标识, 本发明实施例对此不作限定, 但为了便于描 述, 以下均以容器与容器标识——对应为例进行说明, 并且以容器标识指代
( 33
谷 。
此外, 一个容器可以在拓朴关系上包括另一个容器, 例如, 一个省级网 络是国家网络的一部分, 因此, 可认为该国家容器在拓朴关系上包括该省级 容器。 容器还可以包括接入容器, 接入容器为在拓朴关系上包括至少一个容 器, 且存在将该内容请求包路由到该至少一个容器的转发表项的容器。 也就 是说, 一个容器的接入容器是在逻辑关系上包括该容器且存在将内容请求包 路由到该容器的容器。 具体地, 当容器 B包括容器 A, 且容器 B中存在将该内 容请求包路由到容器 A的转发表项, 则定义容器 B是容器 A的接入容器, 容器 B为容器 A提供接入服务。 一个容器可以为一个或多个第一容器提供接入服 务, 一个或多个第二容器可以为同一个容器提供接入服务, 换言之, 一个容 器可以是一个或多个第一容器的接入容器, 一个或多个第二容器可以是同一 个容器的接入容器。
在网络架构中, 容器包括至少一个路由节点, 该至少一个路由节点中的 一个或多个路由节点负责内容请求包的转发, 该容器称为该至少一个路由节 点归属的容器。 通过容器的接入容器中包括的至少一个路由节点中的一个或 多个路由节点,可以将该内容请求包路由到达该容器。例如,国家级容器" cn" 在拓朴关系上包括省级容器 "cn/gd" 和 "cn/sd" , 且通过国家级容器 "cn" 中包括的一个或多个路由节点,可以将内容请求包路由到达省级容器 "cn/gd" 和 "cn/sd" 等, 则国家级容器 "cn" 为省级容器 "cn/gd" 和 "cn/sd" 等提供 接入月良务; 容器 huawei.com/cn" 和 "huawei.com/us" 在拓朴关系上包括容器 "huawei.com" , 且通过容器 "huawei.com/cn" 和 "huawei.com/us" 中包括 的一个或多个路由节点, 可以将内容请求包路由到达容器 "huawei.com" , 贝1 J容器 "huawei.com/cn" 和 "huawei.com/us" 为容器 "huawei.com" 提供接 入服务, 但本发明实施例不限于此。
相应地, 在本发明实施例中, 建立在 ICN架构上的虚拟私有网 VPN也可 以看成一个 VPN级容器, 该 VPN级容器是该 VPN内部的所有私有内容的存储 空间。 图 2示出了根据本发明实施例的 VPN网络的框架示意图。 其中, 如图 2 所示,站点 1和站点 2分别是一组私有内容的存储空间,其分别可以看成容器 1 和容器 2, 该站点 1和站点 2组成虚拟私有网络 VPN1 , 该虚拟私有网络可看成 容器 VPN1 , 容器 VPN1为容器 1和容器 2提供接入服务, 其中, 容器 VPN1、 容 器 1和容器 2的容器标识分另 ll为 huawei.com、 huawei.com/sitel和
huawei.com/site2; 站点 3和站点 4分别是一组私有内容的存储空间, 其分别可 以看成容器 3和容器 4 , 该站点 3和站点 4组成的 VPN2可看成容器 VPN2 , 容器 VPN2为容器 3和容器 4提供接入服务, 容器 VPN2、 容器 3和容器 4的容器标识 分另 ll为容器标识为 cisco.com、 cisco.com/site3和 cisco.com/site4 , 应理解, 在 本发明实施例中的第一容器是指由 VPN构成的容器, 例如图 2中所示的 VPN1 和 VPN2。 此外, 在 VPN1和 VPN2中, 每个站点均通过一个用户边缘路由节点 ( Customer Edge Routers,简称为 "CE" )连接到提供商边缘路由节点( Provider Edge Routers, 简称为 "PE" ) , 并由该 ΡΕ连接到公网路由器 PI和 Ρ2。 一般 地, 一个 VPN的各站点中的路由节点以及 CE为 VPN中的路由节点, ΡΕ路由节 点和 Ρ路由节点为公网内的路由节点, 但本发明实施例不限于此。
在本发明实施例中, 由于 VPN中的私有内容的私有性, 私有内容的内容 名不扩散出 VPN外, 私有内容也不在 VPN外的路由节点緩存, 而 VPN对应的 容器的容器标识则可以扩散出 VPN外。 因此, 当用于请求 VPN内的私有内容 的内容请求包在 VPN内被路由时, 可以通过私有内容的内容名确定该内容请 求包的转发路由; 而当该内容请求包被路由到公网中时 ( PE路由节点或 P路 由节点), 由于这些路由节点中不存在该私有内容的内容名对应的转发表项, 而只有存储该私有内容的容器的容器标识对应的转发表项, 因此, 这些路由 节点不能用该私有内容的内容名路由该内容请求包, 而需要通过容器的容器 标识来路由该内容请求包, 这样在各个 PE路由节点和 P路由节点上, 不需要 为 VPN服务特别维护大量不同的路由表, 其转发维护流程和未架设 VPN服务 是一样的。
S110中的请求内容是一个 VPN中的私有内容, 该 VPN可看成第一容器, 该第一容器是用于存储一组私有内容的存储空间, 且该第一容器包括至少一 个第四路由节点, 通过该至少一个第四路由节点中的一个或多个第四路由节 点, 该请求内容能够在该第一容器内被路由到, 或该请求内容能够通过该第 一容器被路由到, 其中, 当该请求内容的归属容器为该第一容器时, 该请求 内容能够在该第一容器内被路由到, 而当该请求内容的归属容器由该第一容 器为其提供接入服务时, 该请求内容能够通过该第一容器被路由到; 该第四 路由节点可以与 VPN中的第一路由节点或第二路由节点为同一个节点, 也可 以是不同于该 VPN中的第一路由节点和第二路由节点的节点, 本发明实施例 不限于此。 可选地, 该第一容器可以为一个或多个第二容器的接入容器; 和 / 或一个或多个第三容器可以为该第一容器的接入容器; 其中, 该接入容器为 包括至少一个容器, 且存在将该内容请求包路由到该至少一个容器的转发表 项的容器。 应理解, 这里的 "包括" 表示逻辑上的包括, 例如, 在拓朴关系 上的包括, 等等。
可选地, 在 S110中, 该内容请求包也可以进一步携带该请求内容的归属 容器的容器信息, 其中, 该归属容器的容器信息可以包括该归属容器的部分 容器标识, 例如, 如图 2所示, 当该请求内容为 VPN1的站点 2中的内容时, 该 内容请求包可以携带该容器 2的容器信息, 假设该请求内容的内容名为 itlab/2012/JuneO 1 /test.ppt , 该容器 1的容器标识为 huawei.com/site2, 则该内容 请求包可以携带 {itlab/2012/June01/test.ppt|site2} , 其中, 该 site2为容器 2的部 分容器标识, 可选地, 该内容请求包也可以进一步包括该归属容器的其它信 息, 例如, 该归属容器的解析性, 用于标识该归属容器是否可解析, 即是否 可以查询解析系统以获得该归属容器的接入容器; 出于 VPN的安全性考虑, 该 VPN中的第一路由节点发送的内容请求包一般不携带该第一容器的容器信 息, 而当该内容请求包被路由至公网中的 PE路由节点时, 由该 PE路由节点获 取该第一容器的容器标识并将该第一容器的容器标识添加到该内容请求包 中, 但本发明实施例不限于此; 可选地, 该内容请求包还可以包括该请求内 容的请求用户对应的容器的部分容器标识, 以便于携带该请求内容的内容响 应包能够被路由至该请求用户对应的容器, 其中, 该请求用户对应的容器可 以是该请求用户的网络构成的容器, 也可以是该请求用户所在的公司或组织 或公共场所的网络构成的容器, 本发明实施例不限于此, 例如图 2所示, 该 VPN1的站点 1中的用户发送的内容请求包可以携带容器 1的部分容器标识, sitel ; 可选地, 该内容请求包还可以进一步携带该请求内容的请求用户的用 户名, 即请求用户名, 该请求用户名与该请求内容的内容名属于同一名字空 间, 且与该请求内容的内容名相类似, 该请求用户名只在该第一容器内扩散 且在该第一容器内具有唯一性, 本发明实施例不限于此。
该公网中的第一路由节点在接收到携带私有属性的该内容请求包时, 确 定该请求内容为私有内容, 由于该私有内容的内容名不在公网中扩散, 所以 该公网中的第一路由节点需要获取用于存储该私有内容的第一容器 ( VPN对 应的容器)的容器标识, 并根据该第一容器的容器标识来转发该内容请求包。 可选地, 当该公网中的第一路由节点为 PE路由节点时, 该 PE路由节点上维护 一个注册容器表, 该注册容器表中的接收接口表项包括预设的接收接口和与 该预设的接收接口对应的容器标识, 以通过内容请求包的接收接口确定该内 容请求包是由哪个 VPN发出的, 相应地, 如图 3所示, S120, 当确定该内容 请求包携带该私有标识时,获取用于存储该请求内容的第一容器的容器标识, 包括:
5121 , 确定注册容器表中是否存在与该内容请求包的接收接口匹配的接 收接口表项, 该注册容器表中的接收接口表项包括预设的接收接口以及与该 预设的接收接口对应的容器标识;
5122, 当该注册容器表中存在与该内容请求包的接收接口匹配的接收接 口表项时, 将该匹配的接收接口表项中的容器标识作为该第一容器的容器标 识。
可选地, 该公网中的 PE路由节点还可以将该第一容器的容器标识添加到 该内容请求包中, 以使得该公网中的 P路由节点可以直接从该内容请求包中 获取该第一容器的容器标识, 而无需维护该注册容器表, 相应地, 该方法 100 还包括:
S140, 将该第一容器的容器标识添加到该内容请求包中, 以便于公网中 的第二路由节点根据该第一容器的容器标识转发该内容请求包。
其中, 继续以上述图 2的例子为例, 该公网中的第一路由节点将该第一容 器的容器标识添加到该内容请求包, 该内容请求包携带
{ itlab/2012/JuneO l/test.ppt|huawei.com/site2 } , 但本发明实施例不限于此。
可选地, 作为另一实施例, 当该公网中的第一路由节点为 Ρ路由节点时, 该内容请求包还携带该第一容器的容器标识;
相应地, S120, 当确定该内容请求包携带该私有标识时, 获取用于存储 该请求内容的第一容器的容器标识, 包括:
5123 , 获取该内容请求包中携带的该第一容器的容器标识。
该公网中的第一路由节点将该第一容器的容器标识与 FIB中预设的容器 标识进行匹配, 以确定该 FIB中是否存在与该第一容器的容器标识匹配的转 发表项, 其中, 该匹配为最长匹配。 可选地, 当该 FIB中不存在与该第一容 器的容器标识匹配的转发表项时, 该公网中的路由节点可以将该内容请求包 转发至默认接口, 或将该内容请求包丟弃, 可选地, 当该 FIB中存在与该第 一容器的容器标识匹配的转发表项时, 该公网中的第一路由节点将该内容请 求包转发至该匹配的转发表项中的下一跳接口, 相应地, 如图 4所示, S130, 根据该第一容器的容器标识, 转发该内容请求包, 包括:
S131 , 确定转发信息表 FIB中是否存在与该第一容器的容器标识匹配的 转发表项, 该 FIB中的转发表项包括预设的容器标识以及与该预设的容器标 识对应的接口;
S132, 当该 FIB中存在与该第一容器的容器标识匹配的转发表项时, 根 据该匹配的转发表项中的接口, 转发该内容请求包。
继续以图 2为例, 当该公网中的路由节点为 PE1路由节点时, 该 PE1在 FIB 中查找是否存在与容器标识 huawei.com/site2对应的转发表项,可选地,该 PE1 的 FIB可以如表 1所示, 该 PE 1确定该 FIB中存在与该容器标识对应的转发表 项, 因此, 该 PE1可以将该内容请求包发送至接口 0, 但本发明实施例不限于 此。 该 P1和 P2路由节点接收到的该内容请求包均携带容器标识
huawei.com/site2, 因此, 该 P1和 P2可以在 FIB中查找与该容器标识匹配的转 发表项, 并根据匹配的转发表项中的接口将该内容请求包转发至 PE2路由节 点, 可选地, 该 PE2路由节点在将该内容请求包转发至 CE2之前, 可以将该第 一容器的容器标识 huawei.com从该内容请求包中删除, 但本发明实施例不限 于此。
表 1 PE1的 FIB的可能形式
容器标识 接口
huawei.com/sitel 0
huawei.com/site2 2 cisco.com/site3 1
cisco.com/site4 2 可选地, 该公网中的第一路由节点还可以兼容 NDN中的驻留信息表 ( Pending Information Table, 简称为 "PIT" ) , PIT中的 PIT表项可以包括内 容名和与该内容名对应的请求接口, 用于记录该公网中的第一路由节点接收 到的对该内容名对应的内容的请求以及用于请求该内容的内容请求包的接收 接口, 这样既可避免对相同的请求内容的重复查找匹配和转发, 又可以确定 返回的请求内容的下一跳接口。 因此,可选地,作为另一实施例,如图 5所示, 该方法 100还包括:
S150, 在该确定 FIB中是否存在与该第一容器的容器标识匹配的转发表 项之前, 确定驻留信息表 PIT中是否存在与该请求内容的扩展内容名匹配的 PIT表项,该请求内容的扩展内容名由该请求内容的内容名和该第一容器的容 器标识组成;
S160, 当该 PIT中存在与该请求内容的扩展内容名匹配的 PIT表项时, 将 该内容请求包的接收接口添加到该匹配的 PIT表项;
S131 , 当该 PIT中不存在与该请求内容的扩展内容名匹配的 PIT表项时, 执行该确定 FIB中是否存在与该第一容器的容器标识匹配的转发表项的步 骤。
在本发明实施例中, 该请求内容为第一容器的私有内容, 不在公网内扩 散, 因此,该请求内容的内容名可能只具有局域唯一性而不具有全局唯一性, 即在第一容器内只有该请求内容具有该内容名, 而在外网中可能存在其它内 容的内容名与该请求内容的内容名相同, 例如, 图 2中的容器 VPN2中的内容 名 "itlab/2012/JimeOl/test.ppt" 与容器 VPN1中的内容名可以是相同的, 但它 们代表的是不同的内容。 因此, 在公网内, 即在第一容器外部, 需要使用该 请求内容的内容名和该第一容器的容器标识组成该请求内容的扩展内容名以 标识该请求内容的唯一性。 相应地, 该公网中的第一路由节点在接收到携带 私有属性的内容请求包时,可以将该请求内容的扩展内容名在 PIT中进行精确 匹配查找, 当该 PIT中存在与该请求内容的扩展内容名匹配的 PIT表项时, 则 将该内容请求包的接收接口添加到该匹配的 PIT表项中; 可选地, 当该 PIT中 不存在与该请求内容的扩展内容名匹配的 PIT表项时, 则执行 S130, 并将该 内容请求包的信息添加到该 PIT中成为新的 PIT表项,其中, 该新的 PIT表项包 括该请求内容的扩展内容名和该内容请求包的接收接口, 但本发明实施例不 限于此。
可选地, 当该内容请求包被路由至该第一容器内时, 由于该请求内容的 内容名可以在 VPN内扩散, 因此, 该 VPN中的第三路由节点可以根据该请求 内容的内容名转发该内容请求包, 其对该携带私有属性的内容请求包的处理 方法与对不携带私有属性的内容请求包的处理方法相同。 具体地, 该 VPN中 的第三路由节点确定该 FIB中是否存在与该请求内容的内容名匹配的转发表 项; 当该 FIB中不存在与该请求内容的内容名匹配的转发表项时, 确定该 FIB 中是否携带该请求内容的容器信息, 该请求内容的容器信息包括用于存储该 请求内容的至少一个第四容器的部分容器标识; 当该内容请求包携带该请求 内容的容器信息时, 确定该 FIB中是否存在与该请求内容的容器信息中的容 器标识匹配的转发表项; 以及当该 FIB中存在与该请求内容的容器信息中的 容器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内容 请求包。 其中, 该至少一个第四容器的部分容器标识可以包括该请求内容的 归属容器的部分容器标识, 也可以包括该请求内容的归属容器的接入容器的 部分容器标识, 其中, 该归属容器和该归属容器的接入容器的容器标识可以 以该第一容器的容器标识为前缀, 且该部分容器标识可以是完整容器标识剥 离了第一容器的容器标识之后的部分, 本发明实施例不限于此。 在该第一容器内, 该请求内容的容器信息用于辅助该请求内容的内容名 确定该内容请求包的转发路由。 可选地, 该确定转发信息表 FIB中是否存在 与该请求内容的内容名匹配的转发表项, 包括: 根据该请求内容的内容名的 前缀与该 FIB中的转发表项中的内容名前缀是否匹配, 确定该 FIB中是否存在 与该请求内容的内容名匹配的转发表项; 且该 VPN中的第三路由节点在当该 FIB中存在与该请求内容的内容名匹配的转发表项时, 根据该匹配的转发表 项中的接口, 转发该内容请求包。
可选地,该 VPN中的第三路由节点还可以通过内容存储表( Content Store, 简称为 "CS" )对该请求内容进行緩存, 以便当该路由节点接收到对相同的 内容的请求时, 可以直接将 CS中存储的该请求内容发送至请求用户, 从而使 得该内容请求过程更简单快速。 相应地, 作为另一实施例, 在该 VPN中的第 三路由节点确定 FIB中是否存在与该请求内容的内容名匹配的转发表项之 前, 还可以确定内容存储表 CS中是否存在与该请求内容的内容名匹配的内 容; 当该 CS中存在与该请求内容的内容名匹配的内容时, 将该匹配的内容转 发至该内容请求包的发送端; 以及当该 CS中不存在与该请求内容的内容名匹 配的内容时, 执行该确定 FIB中是否存在与该请求内容的内容名匹配的转发 表项的步骤。
可选地, 该 VPN中的第三路由节点还可以在查询 CS后查询 PIT, 以确定 是否存在对该请求内容的请求。 相应地, 作为另一实施例, 该 VPN中的第三 路由节点还可以在当该 CS中不存在与该请求内容的内容名匹配的内容时, 确 定 PIT中是否存在与该请求内容的内容名匹配的 PIT表项;当该 PIT中存在与该 请求内容的内容名匹配的 PIT表项时,将该内容请求包的接收接口添加到该匹 配的 PIT表项; 以及当该 PIT中不存在与该请求内容的内容名匹配的 PIT表项 时, 执行该确定 FIB中是否存在与该请求内容的内容名匹配的转发表项的步 骤。 其中, 由于该请求内容的内容名在该第一容器内的唯一性, 因此,该 VPN 中的第三路由节点可以将该请求内容的内容名与该 PIT中存储的内容名进行 匹配, 可选地, 当该 PIT中不存在与该请求内容的内容名匹配的 PIT表项时, 该 VPN中的第三路由节点可以将该内容请求包的信息添加至该 PIT中成为新 的 PIT表项, 其中, 该新的 PIT表项可以包括该请求内容的内容名和该内容请 求包的接收接口, 但本发明实施例不限于此。
可选地, 作为另一实施例, 当该 VPN的第一路由节点发送的内容请求包 被路由至该请求内容的拥有者, 即该 VPN中的第二路由节点时, 该第二路由 节点可以返回携带该请求内容的内容响应包, 例如, VPN1的站点 1中的请求 用户发送的内容请求包被转发至该 VPN 1的站点 2中,该站点 2中的路由节点返 回内容响应包, 其中, 可选地, 该内容响应包可以携带该请求内容、 该请求 内容的内容名和私有标识, 也可以进一步携带该请求内容的请求用户对应的 容器的部分容器标识, 例如, 容器 1的部分容器标识 sitel , 但本发明实施例不 限于此。 该 VPN中的第三路由节点接收到携带私有标识和该请求内容的该内 容响应包时, 该 VPN中的第三路由节点可以根据该内容响应包携带的该请求 内容的请求用户名转发该内容响应包, 其中, 该请求用户名与该请求内容的 内容名属于同一名字空间, 且该请求用户名也只能在该第一容器内扩散。 具 体地, 该 VPN中的第三路由节点确定该 FIB中是否存在与该内容响应包中的 请求用户名匹配的转发表项, 该 FIB的转发表项包括内容名前缀和该内容名 前缀对应的接口; 当该 FIB中存在与该请求用户名匹配的转发表项时, 根据 该匹配的转发表项中的接口, 发送该内容响应包。 其中, 该 VPN的第三路由 节点可以将该请求用户名的前缀与该 FIB中的内容名前缀进行匹配, 以确定 该 FIB中是否存在与该请求用户名匹配的转发表项, 但本发明实施例不限于 此。 可选地, 当 VPN中的第三路由节点具有 CS时, 第一节点还可以将该请求 内容存储至该 CS中, 以使得该 VPN中的第三路由节点在接收到对该请求内容 的请求时可以直接返回该请求内容。
可选地, 该内容响应包还可以携带该请求用户的容器信息, 该请求用户 的容器信息可以包括该请求用户对应的容器的部分容器标识, 也可以进一步 包括该请求用户对应的容器的接入容器的部分容器标识, 该请求用户对应的 容器和其接入容器可以以该第一容器的容器标识为前缀, 且该部分容器标识 为上述容器的完整容器标识剥离了该第一容器的容器标识的剩余部分, 但本 发明实施例不限于此。 可选地, 当该 FIB中不存在与该请求用户的用户名匹 配的转发表项时, 该 VPN中的第三路由节点可以根据该 FIB中是否存在与该 请求内容的容器信息中的容器标识匹配的转发表项, 来确定该内容请求包的 转发路由。 相应地, 该 VPN中的第三路由节点在当该 FIB中不存在与该请求 用户名匹配的转发表项时, 确定该 FIB中是否存在与该请求内容的容器信息 中的容器标识匹配的转发表项; 当该 FIB中存在与该请求内容的容器信息中 的容器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 发送该内 容响应包。
可选地,作为另一实施例,当该 VPN中的第三路由节点具有 CS时,该 VPN 中的第三路由节点还可以将该请求内容存储至该 CS中, 以使得该 VPN中的第 三路由节点在接收到对该请求内容的请求时可以直接返回该请求内容。
可选地, 作为另一实施例, 当该 VPN中的第三路由节点具有 PIT时, 由于 PIT中可以记录该 VPN中的第三路由节点接收到的用于请求某内容的内容请 求包的接收接口, 因此, 该 VPN中的第三路由节点可以通过确定该 PIT中是否 存在该内容的请求记录, 来确定该内容响应包的转发路由。 相应地, 该 VPN 中的第三路由节点还可以确定驻留信息表 PIT中是否存在与该请求内容的内 容名匹配的 PIT表项; 当该 PIT中存在与该请求内容的内容名匹配的 PIT表项 时, 根据该匹配的 PIT表项中的接口, 发送该内容响应包, 并将该匹配的 PIT 表项从该 PIT中移除。 可选地, 作为另一实施例, 该公网中的第一路由节点接收到携带私有标 识的该内容响应包时, 可以获取该第一容器的容器标识, 并根据该第一容器 的容器标识转发该内容响应包, 相应地, 该方法 100还包括:
S170, 接收该 VPN中的第二路由节点返回的该内容响应包, 该内容响应 包携带该请求内容、 该请求内容的内容名和该私有标识;
S180, 根据该第一容器的容器标识, 转发该内容响应包。
具体地,该公网中的第一路由节点确定 FIB中是否存在与该第一容器的容 器标识匹配的转发表项, 且当该 FIB中存在与该第一容器的容器标识匹配的 转发表项时, 根据该匹配的转发表项中的接口, 发送该内容响应包。 可选地, 作为另一实施例, 当该公网中的第一路由节点具有 PIT时,该公网中的第一路 由节点可以 PIT中是否存在与该请求内容的扩展内容名匹配的 PIT表项, 该请 求内容的扩展内容名由该请求内容的内容名和该第一容器的容器标识组成; 当该 PIT中存在与该请求内容的扩展内容名匹配的 PIT表项时, 根据该匹配的 PIT表项中的接口,发送该内容响应包,并将该匹配的 PIT表项从该 PIT中移除, 但本发明实施例不限于此。
因此, 本发明实施例的 ICN中转发报文的方法, 通过在内容名的基础上 增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性,能够在 ICN 架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容器标 识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散 出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设备或 路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。 详细的说明。 图 6是根据本发明再一实施例的转发报文的方法 200的示意性流 程图。 该方法可以由网络中的第一节点执行, 如图 6所示, 该方法 200包括: S201 , 第一节点接收内容请求包, 该内容请求包携带请求内容的内容名。 该内容请求包也可以进一步携带该请求内容的容器信息, 该请求内容的 容器信息包括用于存储该请求内容的至少一个容器的容器标识。 可选地, 当 该请求内容为 VPN中的私有内容时, 该内容请求包还可以携带私有属性, 此 时, 该请求内容的请求用户发送的内容请求包携带的该请求内容的容器信息 包括用于存储该请求内容的至少一个容器的部分容器标识, 可以包括该请求 内容的归属容器的部分容器标识, 也可以进一步包括该请求内容的归属容器 的接入容器的部分容器标识, 其中, 该部分容器标识可以是完整容器标识剥 离了 VPN构成的第一容器的容器标识之后的部分, 例如, 如上述例子中 huawei.com/site2剥离了 huawei.com之后的部分容器标 f、为 site2; 可选地, 该 内容请求包还可以携带该请求内容的请求用户的用户名和该请求用户对应容 器的容器标识, 本发明实施例不限于此。
5202, 该第一节点确定该内容请求包是否携带私有属性。
当该内容请求包携带私有属性时, 网络中处于不同位置的路由节点的行 为有所不同, 当该第一节点为该 VPN中的路由节点时, 第一节点转发该内容 请求包的流程与转发不携带私有属性的内容请求包的流程相同, 均执行
S203; 当该第一节点为公网中的 PE节点时, 该第一节点执行 S206; 当该第一 节点为公网中的 P节点时, 该第一节点执行 S208。
5203 , 该第一节点确定 CS中是否存在与该请求内容的内容名匹配的内 容。
当该 CS中存在与该请求内容的内容名匹配的内容时, 该第一节点执行
S204, 该第一节点对该内容请求包的处理流程结束; 否则, 该第一节点执行 S205。
5204 , 该第一节点向该内容请求包的接收接口发送携带该请求内容的内 容响应包。
其中, 当该请求内容为私有内容时, 该内容响应包可以携带私有属性。 5205 , 该第一节点确定该 FIB中是否存在与该请求内容的内容名匹配的 转发表项。
FIB中的转发表项包括内容名前缀和与该内容名前缀对应的接口,第一节 点将该请求内容的内容名的前缀与该 FIB中的内容名前缀进行匹配, 以确定 该 FIB中是否存在与该请求内容的内容名匹配的转发表项。 当该 FIB中存在与 该请求内容的内容名匹配的转发表项时, 该第一节点执行 S209, 该第一节点 对该内容请求包的处理流程结束; 否则, 该第一节点执行 S208。
5206, 该第一节点确定注册容器表中是否存在与该内容请求包的接收接 口匹配的接收接口表项。
当该注册容器表中存在与该内容请求包的接收接口表项匹配的接收接口 表项时, 该第一节点执行 S207, 即将该匹配的接收接口表项中的容器标识作 为第一容器的容器标识, 并将该容器标识添加到内容请求包中, 组成用于存 储该请求内容的至少一个容器的完整容器标识, 然后执行 S208; 否则, 该第 一节点执行 S210。
S207, 该第一节点将该匹配的接收接口表项中的容器标识添加到内容请 求包。
S208, 该第一节点确定 FIB中是否存在与该请求内容的容器信息中的容 器标识匹配的转发表项。
该 FIB中的转发表项包括预设的容器标识和与该预设的容器标识对应的 接口。 该第一节点将该请求内容的容器信息中的至少一个容器的容器标识与 FIB中的预设的容器标识匹配, 以确定该 FIB中是否存在与该请求内容的容器 信息中的容器标识匹配的转发表项。 其中, 当该内容请求包不携带私有属性 时, 该至少一个容器的容器标识为该请求内容的请求用户发送的初始内容请 求包携带的至少一个容器的完整的容器标识; 当该内容请求包携带私有属性 时, 当该第一节点为 PE节点和 P节点时, 该至少一个容器的容器标识为添加 了该第一容器的容器标识之后的完整容器标识, 当该第一节点为 VPN内的节 点时, 该至少一个容器的容器标识可以为添加了该第一容器的容器标识之后 的完整容器标识, 也可以为未添加该第一容器的容器标识的部分容器标识, 本发明实施例不限于此。 当该 FIB中存在与该请求内容的容器信息中的容器 标识匹配的转发表项时, 该第一节点执行 S209; 否则, 该第一节点执行 S210, 该第一节点对该内容请求包的处理流程结束。
5209, 该第一节点根据匹配的转发表项中的接口发送该内容请求包。
5210, 该第一节点根据默认接口发送该内容请求包, 或将该内容请求包 丟弃。
因此, 本发明实施例的 ICN中转发报文的方法, 通过在内容名的基础上 增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性,能够在 ICN 架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容器标 识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散 出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设备或 路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
可选地, 第一节点还可以维护 PIT, 并通过 PIT确定该内容请求包的转发 路由。 图 7是根据本发明再一实施例的 ICN中转发报文的方法 300的示意性流 程图。 如图 7所示, 该方法 300包括:
S301 , 第一节点接收内容请求包。
S302, 该第一节点确定该内容请求包是否携带私有属性。
当该内容请求包携带私有属性时, 网络中处于不同位置的路由节点的行 为有所不同, 当该第一节点为该 VPN中的路由节点时, 第一节点转发该内容 请求包的流程与转发不携带私有属性的内容请求包的流程相同, 均执行 S303; 当该第一节点为公网中的 PE节点时, 该第一节点执行 S307; 当该第一 节点为公网中的 P节点时, 该第一节点执行 S309。 5303 , 该第一节点确定 CS中是否存在与该请求内容的内容名匹配的内 容。
当该 CS中存在与该请求内容的内容名匹配的内容时, 该第一节点执行 S304, 该第一节点对该内容请求包的处理流程结束; 否则, 该第一节点执行 S305。
5304, 该第一节点向该内容请求包的接收接口发送携带该请求内容的内 容响应包。
5305 , 该第一节点确定 PIT中是否存在与该请求内容的内容名匹配的 PIT 表项。
第一节点的 PIT中的 PIT表项可以包括内容名前缀和与该内容名前缀对应 的接口列表,该第一节点可以将该请求内容的内容名的前缀与该 PIT中的内容 名前缀进行匹配, 以确定该 PIT中是否存在与该请求内容的内容名匹配的 PIT 表项。 当该 PIT中存在与该请求内容的内容名匹配的 PIT表项时, 该第一节点 执行 S310, 第一节点对该内容请求包的处理流程结束; 否则, 该第一节点执 行 S306。
5306, 该第一节点确定该 FIB中是否存在与该请求内容的内容名匹配的 转发表项。
当 FIB中存在与该请求内容的内容名匹配的转发表项时, 第一节点执行 S313 , 第一节点转发该内容请求包的处理结束; 否则, 该第一节点执行 S311。
S307, 该第一节点确定注册容器表中是否存在与该内容请求包的接收接 口匹配的接收接口表项。
当该注册容器表中存在与该内容请求包的接收接口表项匹配的接收接口 表项时, 该第一节点执行 S308, 即将该匹配的接收接口表项中的容器标识作 为第一容器的容器标识, 并将该容器标识添加到内容请求包中, 组成用于存 储该请求内容的至少一个容器的完整容器标识, 然后执行 S309; 否则, 该第 一节点执行 S312。
5308, 该第一节点将该匹配的接收接口表项中的容器标识添加到内容请 求包。
5309,该第一节点确定 PIT中是否存在与该请求内容的扩展内容名匹配的 PIT表项。
该请求内容的扩展内容名由该请求内容的内容名与该第一容器的容器标 识组成。 可选地, 第一节点可以首先将该请求内容的内容名与该 PIT中的 PIT 表项进行匹配, 当该 PIT中存在 PIT表项的前一部分与该请求内容的内容名匹 配时, 第一节点将该第一容器的容器标识与该匹配的 PIT表项继续进行匹配, 以确定该匹配的 PIT表项与该请求内容的扩展内容名是否精确匹配。 当该 PIT 中存在与该请求内容的扩展内容名匹配的转发表项时, 第一节点执行 S310 , 第一节点对该内容请求包的处理流程结束; 否则, 第一节点执行 S311。
5310, 该第一节点更新 PIT。
第一节点将该内容请求包的信息添加至匹配的 PIT表项中。 具体地, 当第 一节点执行8303和8305后执行8310时, 该 S310具体为第一节点将该请求内容 的内容名和该内容请求包的接收接口添加到该 PIT中成为新的 PIT表项; 而当 第一节点执行 S309后执行 S310时, 该 S310具体为第一节点将该请求内容的扩 展内容名和该内容请求包的接收接口添加到该 PIT中成为新的 PIT表项, 但本 发明实施例不限于此。
S311 , 该第一节点确定该 FIB中是否存在与该请求内容的容器信息中的 容器标识匹配的转发表项。
当该 FIB中存在与该请求内容的容器信息中的容器标识匹配的转发表项 时, 第一节点执行 S313 , 第一节点对该内容请求包的处理流程结束; 否则, 第一节点执行 S312, 第一节点对该内容请求包的处理流程结束。
S312, 第一节点根据默认接口发送该内容请求包, 或将该内容请求包丟 弃。
S313 , 该第一节点根据匹配的转发表项中的接口发送该内容请求包。 因此, 本发明实施例的 ICN中转发报文的方法, 通过在内容名的基础上 增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性,能够在 ICN 架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容器标 识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散 出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设备或 路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
应理解, 上述各过程的序号的大小并不意味着执行顺序的先后, 各过程 的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例的实施过程 构成任何限定。
还应理解, 图 6和图 7的例子是为了帮助本领域技术人员更好地理解本发 明实施例, 而非要限制本发明实施例的范围。 本领域技术人员根据所给出的 图 6和图 7的例子, 显然可以进行各种等价的修改或变化, 这样的修改或变化 也落入本发明实施例的范围内。
上文中结合图 1至图 7 , 详细描述了根据本发明实施例的 ICN中转发报文 的方法, 下面将结合图 8至图 14, 详细描述根据本发明实施例的 ICN中转发报 文的装置及系统。
图 8是根据本发明实施例的公网中的路由器 400的示意性框图。 如图 8所 示, 该路由器 400包括:
接收模块 410,用于接收虚拟私有网络 VPN中的第一路由器发送的内容请 求包, 该内容请求包携带请求内容的内容名和用于标识该请求内容为私有内 容的私有标识;
获取模块 420, 用于当确定该接收模块 410接收的该内容请求包携带该私 有标识时, 获取用于存储该请求内容的第一容器的容器标识; 发送模块 430, 用于根据该获取模块 420获取的该第一容器的容器标识, 转发该内容请求包, 以使得该内容请求包被转发至该 VPN中的第二路由器且 该 VPN中的第二路由器根据该请求内容的内容名返回携带该请求内容的内容 响应包。
因此, 本发明实施例的公网中的路由器, 通过在内容名的基础上增加内 容的容器信息和私有属性以扩展 ICN系统中的内容的属性,能够在 ICN架构下 建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容器标识转发 用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设备或路由 表, 从而实现了低成本下的高质量服务, 提高了用户体验。
可选地, 该第一容器是用于存储一组私有内容的存储空间。 该第一容器 包括至少一个第四路由器, 通过该至少一个第四路由器中的一个或多个第四 路由器, 该请求内容能够在该第一容器内被路由到, 或该请求内容能够通过 该第一容器被路由到。 该请求内容的内容名对应一个或多个归属容器, 该请 求内容的归属容器是能够直接路由到该请求内容的容器。 该第一容器为一个 或多个第二容器的接入容器; 和 /或一个或多个第三容器为该第一容器的接入 容器; 其中, 该接入容器为包括至少一个容器, 且包括将该内容请求包路由 到该至少一个容器的转发表项的容器。
可选地,作为另一实施例, 该获取模块 420具体用于确定注册容器表中是 否存在与该内容请求包的接收接口匹配的接收接口表项, 该注册容器表中的 接收接口表项包括预设的接收接口以及与该预设的接收接口对应的容器标 识; 以及当该注册容器表中存在与该内容请求包的接收接口匹配的接收接口 表项时,将该匹配的接收接口表项中的容器标识作为该第一容器的容器标识。
可选地, 作为另一实施例, 该公网中的路由器 400还包括:
更新模块 440, 用于将该获取模块 420获取的该第一容器的容器标识添加 到该内容请求包中, 以便于公网中的第二路由器根据该第一容器的容器标识 转发该内容请求包。
可选地,作为另一实施例, 该接收模块 410接收的内容请求包还携带该第 一容器的容器标识;
相应地,该获取模块 420具体用于获取该内容请求包中携带的该第一容器 的容器标识。
可选地, 作为另一实施例, 如图 9所示, 该发送模块 430包括:
第一确定单元 431 , 用于确定转发信息表 FIB中是否存在与该第一容器的 容器标识匹配的转发表项, 该 FIB中的转发表项包括预设的容器标识以及与 该预设的容器标识对应的接口;
发送单元 432,用于当该第一确定单元 431确定该 FIB中存在与该第一容器 的容器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内 容请求包。
可选地, 作为另一实施例, 如图 10所示, 该发送模块 430还包括: 第二确定单元 433 ,用于在该第一确定单元 431确定 FIB中是否存在与该第 一容器的容器标识匹配的转发表项之前,确定驻留信息表 PIT中是否存在与该 请求内容的扩展内容名匹配的 PIT表项,该请求内容的扩展内容名由该请求内 容的内容名和该第一容器的容器标识组成;
更新单元 434,用于当该第二确定单元 433确定该 PIT中存在与该请求内容 的扩展内容名匹配的 PIT表项时,将该内容请求包的接收接口添加到该匹配的 PIT表项;
该第一确定单元 431具体用于当该第二确定单元 433确定该 PIT中不存在 与该请求内容的扩展内容名匹配的 PIT表项时, 执行该确定 FIB中是否存在与 该第一容器的容器标识匹配的转发表项的步骤。
可选地, 作为另一实施例, 该接收模块 410还用于接收该 VPN中的第二路 由器返回的该内容响应包, 该内容响应包携带该请求内容、 该请求内容的内 容名和该私有标识;
该发送模块 430还用于根据该第一容器的容器标识, 转发该接收模块 410 接收的该内容响应包。
根据本发明实施例的路由器 400可对应于根据本发明实施例的 ICN中转 发报文的方法中的公网中的第一路由节点,并且路由器 400中的各个模块的上 述和其它操作和 /或功能分别为了实现图 1至图 7中的各个方法的相应流程, 为 了简洁, 在此不再贅述。
因此, 本发明实施例的公网中的路由器, 通过在内容名的基础上增加内 容的容器信息和私有属性以扩展 ICN系统中的内容的属性,能够在 ICN架构下 建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容器标识转发 用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设备或路由 表, 从而实现了低成本下的高质量服务, 提高了用户体验。
图 11是根据本发明实施例的在 ICN中转发报文的系统 500的示意性框图。 如图 11所示, 该系统 500包括如图 8至图 10所示的公网中的路由器 510、该虚拟 私有网络 VPN中的第一路由器 520、 该 VPN中的第二路由器 530和该 VPN中的 第三路由器 540。
因此, 本发明实施例的在 ICN中转发报文的系统, 通过在内容名的基础 上增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性, 能够在 ICN架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容 器标识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不 扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设 备或路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
该 VPN中的第一路由器发送携带请求内容的内容名和私有属性的内容请 求包, 该 VPN的第三路由器根据该请求内容的内容名将该内容请求包路由至 公网, 该公网中的 PE节点通过容器注册表获取该 VPN构成的第一容器的容器 标识, 并将该第一容器的容器标识添加到该内容请求包中, 此外, 该 PE节点 根据该第一容器的容器标识将该内容请求包转发至 P节点, 该 P节点根据该内 容请求包携带的该第一容器的容器标识将该内容请求包路由至拥有该请求内 容的该 VPN的第二路由器, 该 VPN中的第二路由器返回携带该请求内容的内 容响应包, 该内容响应包可以经原路返回至该 VPN的第一路由器, 但本发明 实施例不限于此。
可选地, 如图 12所示, 该 VPN中的第三路由器 540包括:
第一接收模块 541 , 用于接收该 VPN中的第一路由器发送的该内容请求 包;
第一确定模块 542, 用于确定转发信息表 FIB中是否存在与该第一接收模 块 541接收的该内容请求包携带的请求内容的内容名匹配的转发表项, 该 FIB 中的转发表项包括内容名前缀和该内容名前缀对应的接口;
第一发送模块 543,用于当该第一确定模块 542确定该 FIB中存在与该请求 内容的内容名匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该 内容请求包。
可选地, 作为另一实施例, 该 VPN中的第三路由器 540还包括: 第二确定模块 544,用于当该第一确定模块 543确定该 FIB中不存在与该请 求内容的内容名匹配的转发表项时, 确定该内容请求包中是否携带该请求内 容的容器信息, 该请求内容的容器信息包括用于标识存储该请求内容的至少 一个第四容器的容器标识;
第三确定模块 545,用于当该第二确定模块 544确定该 FIB中是否存在与该 请求内容的容器信息中的容器标识匹配的转发表项;
该第一发送模块 543还用于当该第三确定模块 545确定该 FIB中存在与该 请求内容的容器信息中的容器标识匹配的转发表项时, 根据该匹配的转发表 项中的接口, 发送该内容请求包。
可选地, 作为另一实施例, 该 VPN中的第三路由器 540还包括: 第四确定模块 546,用于在该第一确定模块 542确定 FIB中是否存在与该请 求内容的内容名匹配的转发表项之前, 确定内容存储表 CS中是否存在与该请 求内容的内容名匹配的内容;
该第一确定模块 542具体用于当该第四确定模块 546确定该 CS中不存在 与该请求内容的内容名匹配的内容时, 执行该确定 FIB中是否存在与该请求 内容的内容名匹配的转发表项的步骤。
可选地, 作为另一实施例, 该 VPN中的第三路由器 540还包括: 第五确定模块 547 , 用于当该第四确定模块 546确定该 CS中不存在与该请 求内容的内容名匹配的内容时,确定 PIT中是否存在与该请求内容的内容名匹 配的 PIT表项;
第一更新模块 548,用于当该第五确定模块 547确定该 PIT中存在与该请求 内容的内容名匹配的 PIT表项时,将该内容请求包的接收接口添加到该匹配的 PIT表项中;
该第一确定模块 542具体用于当该第五确定模块 547确定该 PIT中不存在 与该请求内容的内容名匹配的 PIT表项时, 执行该确定 FIB中是否存在与该请 求内容的内容名匹配的转发表项的步骤。
可选地, 作为另一实施例, 该第一接收模块 541还用于接收该 VPN中的第 二路由器发送的内容响应包, 该内容响应包携带该请求内容、 请求内容的内 容名和该私有标识;
相应地, 该 VPN中的第三路由器 540还包括:
第六确定模块 549, 用于根据该第一接收模块 541接收的该内容响应包携 带的该请求内容的内容名, 转发该内容响应包。 可选地,作为另一实施例, 该第一接收模块 541接收的该内容响应包携带 该请求内容的请求用户名;
相应地, 该第六确定模块 549包括:
第一确定单元 549a,用于确定该 FIB中是否存在与该请求用户名匹配的转 发表项;
第一发送单元 549b,用于当该第一确定单元 549a确定该 FIB中存在与该请 求用户名匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内容 响应包。
可选地, 作为另一实施例, 该第六确定模块 549还包括:
第二确定单元 549c,用于当该第一确定单元 549a确定该 FIB中不存在与该 请求用户名匹配的转发表项时, 确定该内容响应包是否携带该请求内容的请 求用户的容器信息, 该请求用户的容器信息包括用于标识该请求用户对应的 至少一个第五容器的容器标识;
第三确定单元 549d, 用于当该第二确定单元 549c确定该内容响应包携带 该请求用户的容器信息时, 确定该 FIB中是否存在与该请求用户的容器信息 中的容器标识匹配的转发表项;
该第一发送单元 549b还用于当该第三确定单元 549d确定该 FIB中存在与 该请求用户的容器信息中的容器标识匹配的转发表项时, 根据该匹配的转发 表项中的接口, 转发该内容响应包。
可选地, 作为另一实施例, 该第六确定模块 549包括:
第四确定单元 549e,用于确定该 PIT中存在与该请求内容的内容名匹配的 PIT表项;
第二发送单元 549f, 用于根据该第四确定单元 549e匹配的 PIT表项中的接 口, 转发该内容响应包;
存储单元 549g, 用于将该内容响应包携带的该请求内容存储到该 CS中; 移除单元 549h,用于将该第四确定单元 549e确定的该匹配的 PIT表项从该 PIT中移除。
根据本发明实施例的在 ICN中转发报文的系统 500的各个模块的上述和 其它操作和 /或功能分别为了实现图 1至图 7中的各个方法的相应流程, 为了简 洁, 在此不再赘述。
因此, 本发明实施例的在 ICN中转发报文的系统, 通过在内容名的基础 上增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性, 能够在 ICN架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容 器标识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不 扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设 备或路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
图 13是根据本发明另一实施例的公网中的路由器 600的示意性框图。如图 13所示, 该公网中的路由器 600包括: 处理器 610、 存储器 620、 总线系统 630、 接收器 640和发送器 650。 其中, 处理器 610、 存储器 620、 接收器 640和发送器 650通过总线系统 630相连, 该存储器 620用于存储指令, 该处理器 610通过该 总线系统 630, 调用该存储器 620中存储的该指令, 具体地, 该接收器 610用于 接收虚拟私有网络 VPN中的第一路由器发送的内容请求包, 该内容请求包携 带请求内容的内容名和用于标识该请求内容为私有内容的私有标识; 该处理 器 610用于当确定该接收器 640接收的该内容请求包携带该私有标识时, 获取 用于存储该请求内容的第一容器的容器标识;该发送器 650用于根据该处理器 610获取的该第一容器的容器标识, 转发该内容请求包, 以使得该内容请求包 被转发至该 VPN中的第二路由器且该 VPN中的第二路由器根据该请求内容的 内容名返回携带该请求内容的内容响应包。
因此, 本发明实施例的转发报文的公网中的路由器, 通过在内容名的基 础上增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性, 能够 在 ICN架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的 容器标识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名 不扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的 设备或路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
应理解, 在本发明实施例中, 该处理器 610可以是中央处理单元( Central
Processing Unit, 简称为 "CPU" ) , 该处理器 610还可以是其他通用处理器、 数字信号处理器( DSP )、专用集成电路( ASIC )、现成可编程门阵列 ( FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件等。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器 620可以包括只读存储器和随机存取存储器, 并向处理器 610提 供指令和数据。存储器 620的一部分还可以包括非易失性随机存取存储器。例 如, 存储器 620还可以存储设备类型的信息。
该总线系统 630除包括数据总线之外, 还可以包括电源总线、控制总线和 状态信号总线等。 但是为了清楚说明起见, 在图中将各种总线都标为总线系 统 630。
在实现过程中,上述方法的各步骤可以通过处理器 610中的硬件的集成逻 辑电路或者软件形式的指令完成。 结合本发明实施例所公开的方法的步骤可 以直接体现为硬件处理器执行完成, 或者用处理器中的硬件及软件模块组合 执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只读 存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 该 存储介质位于存储器 620,处理器 610读取存储器 620中的信息, 结合其硬件完 成上述方法的步骤。 为避免重复, 这里不再详细描述。
可选地, 该第一容器是用于存储一组私有内容的存储空间。 该第一容器 包括至少一个第四路由器, 通过该至少一个第四路由器中的一个或多个第四 路由器, 该请求内容能够在该第一容器内被路由到, 或该请求内容能够通过 该第一容器被路由到。 该请求内容的内容名对应一个或多个归属容器, 该请 求内容的归属容器是能够直接路由到该请求内容的容器。 该第一容器为一个 或多个第二容器的接入容器; 和 /或一个或多个第三容器为该第一容器的接入 容器; 其中, 该接入容器为包括至少一个容器, 且包括将该内容请求包路由 到该至少一个容器的转发表项的容器。
可选地,作为另一实施例, 该处理器 610具体用于确定注册容器表中是否 存在与该内容请求包的接收接口匹配的接收接口表项, 该注册容器表中的接 收接口表项包括预设的接收接口以及与该预设的接收接口对应的容器标识; 以及当该注册容器表中存在与该内容请求包的接收接口匹配的接收接口表项 时, 将该匹配的接收接口表项中的容器标识作为该第一容器的容器标识。
可选地,作为另一实施例, 该处理器 610还用于将该第一容器的容器标识 添加到该内容请求包中, 以便于公网中的第二路由器根据该第一容器的容器 标识转发该内容请求包。
可选地,作为另一实施例, 该接收器 640接收的内容请求包还携带该第一 容器的容器标识;
相应地,该处理器 610具体用于获取该内容请求包中携带的该第一容器的 容器标识。
可选地, 作为另一实施例, 该处理器 610还用于确定转发信息表 FIB中是 否存在与该第一容器的容器标识匹配的转发表项, 该 FIB中的转发表项包括 预设的容器标识以及与该预设的容器标识对应的接口;
该发送器 650具体用于当该处理器 610确定该 FIB中存在与该第一容器的 容器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内容 请求包。
可选地, 作为另一实施例, 该处理器 610还用于在确定 FIB中是否存在与 该第一容器的容器标识匹配的转发表项之前 ,确定驻留信息表 PIT中是否存在 与该请求内容的扩展内容名匹配的 PIT表项,该请求内容的扩展内容名由该请 求内容的内容名和该第一容器的容器标识组成;当该 PIT中存在与该请求内容 的扩展内容名匹配的 PIT表项时,将该内容请求包的接收接口添加到该匹配的 PIT表项; 以及当该 PIT中不存在与该请求内容的扩展内容名匹配的 PIT表项 时, 执行该确定 FIB中是否存在与该第一容器的容器标识匹配的转发表项的 步骤。
可选地, 作为另一实施例, 该接收器 640还用于接收该 VPN中的第二路由 器返回的该内容响应包, 该内容响应包携带该请求内容、 该请求内容的内容 名和该私有标识; 该发送器 650还用于根据该第一容器的容器标识, 转发该接 收器 640接收的该内容响应包。
根据本发明实施例的路由器 600可对应于根据本发明实施例的 ICN中转 发报文的方法中的公网中的第一路由节点,并且路由器 600中的各个模块的上 述和其它操作和 /或功能分别为了实现图 1至图 7中的各个方法的相应流程, 为 了简洁, 在此不再贅述。
因此, 本发明实施例的公网中的路由器, 通过在内容名的基础上增加内 容的容器信息和私有属性以扩展 ICN系统中的内容的属性,能够在 ICN架构下 建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容器标识转发 用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设备或路由 表, 从而实现了低成本下的高质量服务, 提高了用户体验。
根据本发明实施例的 ICN中转发报文的系统 700包括如图 13所示的公网 中的路由器 710、 该虚拟私有网络 VPN中的第一路由器 720、 该 VPN中的第二 路由器 730和该 VPN中的第三路由器 740。
因此, 本发明实施例的在 ICN中转发报文的系统, 通过在内容名的基础 上增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性, 能够在 ICN架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容 器标识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不 扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设 备或路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
可选地, 如图 14所示, 该 VPN中的第三路由器 740包括: 处理器 741、 存 储器 742、 总线系统 743、 接收器 744和发送器 745。 其中, 处理器 741、 存储器 742、接收器 744和发送器 745通过总线系统 743相连, 该存储器 742用于存储指 令, 该处理器 741通过该总线系统 743 , 调用该存储器 742中存储的该指令, 具 体地, 该接收器 744用于接收该 VPN中的第一路由器发送的该内容请求包; 该 处理器 741用于确定转发信息表 FIB中是否存在与该接收器 744接收的该内容 请求包携带的请求内容的内容名匹配的转发表项, 该 FIB中的转发表项包括 内容名前缀和该内容名前缀对应的接口; 该发送器 745用于当该处理器 741确 定该 FIB中存在与该请求内容的内容名匹配的转发表项时, 根据该匹配的转 发表项中的接口, 转发该内容请求包。
可选地, 作为另一实施例, 该处理器 741还用于当该 FIB中不存在与该请 求内容的内容名匹配的转发表项时, 确定该内容请求包中是否携带该请求内 容的容器信息, 该请求内容的容器信息包括用于标识存储该请求内容的至少 一个第四容器的容器标识; 以及确定该 FIB中是否存在与该请求内容的容器 信息中的容器标识匹配的转发表项;
该发送器 745还用于当该处理器 741确定该 FIB中存在与该请求内容的容 器信息中的容器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 发送该内容请求包。
可选地, 作为另一实施例, 该处理器 741还用于在确定 FIB中是否存在与 该请求内容的内容名匹配的转发表项之前, 确定内容存储表 CS中是否存在与 该请求内容的内容名匹配的内容; 以及当该 CS中不存在与该请求内容的内容 名匹配的内容时, 执行该确定 FIB中是否存在与该请求内容的内容名匹配的 转发表项的步骤。
可选地, 作为另一实施例, 该处理器 741还用于当该 CS中不存在与该请 求内容的内容名匹配的内容时,确定 PIT中是否存在与该请求内容的内容名匹 配的 PIT表项; 当该 PIT中存在与该请求内容的内容名匹配的 PIT表项时,将该 内容请求包的接收接口添加到该匹配的 PIT表项中; 以及当该 PIT中不存在与 该请求内容的内容名匹配的 PIT表项时, 执行该确定 FIB中是否存在与该请求 内容的内容名匹配的转发表项的步骤。
可选地, 作为另一实施例, 该接收器 744还用于接收该 VPN中的第二路由 器发送的内容响应包, 该内容响应包携带该请求内容、 请求内容的内容名和 该私有标识; 相应地, 该处理器 741还用于根据该接收器 744接收的该内容响 应包携带的该请求内容的内容名, 转发该内容响应包。
可选地,作为另一实施例, 该接收器 744接收的该内容响应包携带该请求 内容的请求用户名;
相应地, 该处理器 741还用于确定该 FIB中是否存在与该请求用户名匹配 的转发表项;
该发送器 745还用于当该处理器 741确定该 FIB中存在与该请求用户名匹 配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内容响应包。
可选地, 作为另一实施例, 该处理器 741还用于当该 FIB中不存在与该请 求用户名匹配的转发表项时, 确定该内容响应包是否携带该请求内容的请求 用户的容器信息, 该请求用户的容器信息包括用于标识该请求用户对应的至 少一个第五容器的容器标识; 以及当该内容响应包携带该请求用户的容器信 息时, 确定该 FIB中是否存在与该请求用户的容器信息中的容器标识匹配的 转发表项;
该发送器 745还用于当该处理器 741确定该 FIB中存在与该请求用户的容 器信息中的容器标识匹配的转发表项时, 根据该匹配的转发表项中的接口, 转发该内容响应包。
可选地, 作为另一实施例, 该处理器 741还用于确定该 PIT中存在与该请 求内容的内容名匹配的 PIT表项;
该发送器 745还用于根据该处理器 741确定的该匹配的 PIT表项中的接口, 转发该内容响应包;
该处理器 741还用于将该内容响应包携带的该请求内容存储到该 CS中, 以及将该匹配的 PIT表项从该 PIT中移除。
根据本发明实施例的在 ICN中转发报文的系统 700的各个模块的上述和 其它操作和 /或功能分别为了实现图 1至图 7中的各个方法的相应流程, 为了简 洁, 在此不再赘述。
因此, 本发明实施例的在 ICN中转发报文的系统, 通过在内容名的基础 上增加内容的容器信息和私有属性以扩展 ICN系统中的内容的属性, 能够在 ICN架构下建立 VPN服务, 并且公网中的路由节点根据 VPN对应的容器的容 器标识转发用于请求该内容的内容请求包, 使得该 VPN中的内容的内容名不 扩散出该 VPN, 从而在保证 VPN中内容的私有性的同时, 无需增加额外的设 备或路由表, 从而实现了低成本下的高质量服务, 提高了用户体验。
应理解, 在本发明实施例中, 术语 "和 /或" 仅仅是一种描述关联对象的 关联关系, 表示可以存在三种关系。 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符 "/" , 一般表示 前后关联对象是一种 "或" 的关系。
本领域普通技术人员可以意识到, 结合本文中所公开的实施例中描述的 各方法步骤和单元, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性 地描述了各实施例的步骤及组成。这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特定应用和设计约束条件。 本领域普通技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为 超出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 上述 描述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再贅述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、 装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在一个 单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能 单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本 发明的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术方案 的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一 个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步 骤。而前述的存储介质包括: U盘、移动硬盘、只读存储器( Read-Only Memory, 简称为 " ROM" ) 、 随机存取存储器 ( Random Access Memory, 简称为 " RAM" ) 、 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权 利 要 求
1. 一种信息为中心网络 ICN中转发报文的方法, 其特征在于, 包括: 公网中的第一路由节点接收虚拟私有网络 VPN中的第一路由节点发送 的内容请求包,所述内容请求包携带请求内容的内容名和用于标识所述请求 内容为私有内容的私有标识;
当确定所述内容请求包携带所述私有标识时, 获取用于存储所述请求内 容的第一容器的容器标识;
根据所述第一容器的容器标识, 转发所述内容请求包, 以使得所述内容 请求包被转发至所述 VPN中的第二路由节点且所述 VPN中的第二路由节点 根据所述请求内容的内容名返回携带所述请求内容的内容响应包。
2. 根据权利要求 1所述的方法, 其特征在于, 所述第一容器是用于存储 一组私有内容的存储空间。
3. 根据权利要求 1或 2所述的方法, 其特征在于, 所述第一容器包括至 少一个第四路由节点,通过所述至少一个第四路由节点中的一个或多个第四 路由节点, 所述请求内容能够在所述第一容器内被路由到, 或所述请求内容 能够通过所述第一容器被路由到。
4. 根据权利要求 1或 2所述的方法, 其特征在于, 所述请求内容的内容 名对应一个或多个归属容器,所述请求内容的归属容器是能够直接路由到所 述请求内容的容器。
5. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述第一容 器为一个或多个第二容器的接入容器; 和 /或
一个或多个第三容器为所述第一容器的接入容器;
其中, 所述接入容器为包括至少一个容器, 且包括将所述内容请求包路 由到所述至少一个容器的转发表项的容器。
6. 根据权利要求 1至 5中任一项所述的方法, 其特征在于, 所述当确定 所述内容请求包携带所述私有标识时,获取用于存储所述请求内容的第一容 器的容器标识, 包括:
确定注册容器表中是否存在与所述内容请求包的接收接口匹配的接收 接口表项,所述注册容器表中的接收接口表项包括预设的接收接口以及与所 述预设的接收接口对应的容器标识;
当所述注册容器表中存在与所述内容请求包的接收接口匹配的接收接 口表项时,将所述匹配的接收接口表项中的容器标识作为所述第一容器的容 器标识。
7. 根据权利要求 6所述的方法, 其特征在于, 所述方法还包括: 将所述第一容器的容器标识添加到所述内容请求包中, 以便于公网中的 第二路由节点根据所述第一容器的容器标识转发所述内容请求包。
8. 根据权利要求 1至 5中任一项所述的方法, 其特征在于, 所述内容请 求包还携带所述第一容器的容器标识;
所述当确定所述内容请求包携带所述私有标识时, 获取用于存储所述请 求内容的第一容器的容器标识, 包括:
获取所述内容请求包中携带的所述第一容器的容器标识。
9. 根据权利要求 1至 8中任一项所述的方法, 其特征在于, 所述根据所 述第一容器的容器标识, 转发所述内容请求包, 包括:
确定转发信息表 FIB中是否存在与所述第一容器的容器标识匹配的转发 表项, 所述 FIB中的转发表项包括预设的容器标识以及与所述预设的容器标 识对应的接口;
当所述 FIB中存在与所述第一容器的容器标识匹配的转发表项时, 根据 所述匹配的转发表项中的接口, 转发所述内容请求包。
10. 根据权利要求 9所述的方法, 其特征在于, 所述方法还包括: 在所述确定 FIB中是否存在与所述第一容器的容器标识匹配的转发表项 之前, 确定驻留信息表 PIT中是否存在与所述请求内容的扩展内容名匹配的 PIT表项, 所述请求内容的扩展内容名由所述请求内容的内容名和所述第一 容器的容器标识组成;
当所述 PIT中存在与所述请求内容的扩展内容名匹配的 PIT表项时,将所 述内容请求包的接收接口添加到所述匹配的 PIT表项;
当所述 PIT中不存在与所述请求内容的扩展内容名匹配的 PIT表项时,执 行所述确定 FIB中是否存在与所述第一容器的容器标识匹配的转发表项的步 骤。
11. 根据权利要求 1至 10中任一项所述的方法, 其特征在于, 所述方法 还包括:
接收所述 VPN中的第二路由节点返回的所述内容响应包, 所述内容响应 包携带所述请求内容、 所述请求内容的内容名和所述私有标识;
根据所述第一容器的容器标识, 转发所述内容响应包。
12. 一种公网中的路由器, 其特征在于, 包括:
接收模块, 用于接收虚拟私有网络 VPN中的第一路由器发送的内容请求 包,所述内容请求包携带请求内容的内容名和用于标识所述请求内容为私有 内容的私有标识;
获取模块, 用于当确定所述接收模块接收的所述内容请求包携带所述私 有标识时, 获取用于存储所述请求内容的第一容器的容器标识;
发送模块, 用于根据所述获取模块获取的所述第一容器的容器标识, 转 发所述内容请求包,以使得所述内容请求包被转发至所述 VPN中的第二路由 器且所述 VPN中的第二路由器根据所述请求内容的内容名返回携带所述请 求内容的内容响应包。
13. 根据权利要求 12所述的公网中的路由器, 其特征在于, 所述第一容 器是用于存储一组私有内容的存储空间。
14. 根据权利要求 12或 13所述的公网中的路由器, 其特征在于, 所述第 一容器包括至少一个第四路由器,通过所述至少一个第四路由器中的一个或 多个第四路由器, 所述请求内容能够在所述第一容器内被路由到, 或所述请 求内容能够通过所述第一容器被路由到。
15. 根据权利要求 12或 13所述的公网中的路由器, 其特征在于, 所述请 求内容的内容名对应一个或多个归属容器,所述请求内容的归属容器是能够 直接路由到所述请求内容的容器。
16.根据权利要求 12至 15中任一项所述的公网中的路由器,其特征在于, 所述第一容器为一个或多个第二容器的接入容器; 和 /或
一个或多个第三容器为所述第一容器的接入容器;
其中, 所述接入容器为包括至少一个容器, 且包括将所述内容请求包路 由到所述至少一个容器的转发表项的容器。
17.根据权利要求 12至 16中任一项所述的公网中的路由器,其特征在于, 所述获取模块具体用于确定注册容器表中是否存在与所述内容请求包的接 收接口匹配的接收接口表项,所述注册容器表中的接收接口表项包括预设的 接收接口以及与所述预设的接收接口对应的容器标识; 以及当所述注册容器 表中存在与所述内容请求包的接收接口匹配的接收接口表项时,将所述匹配 的接收接口表项中的容器标识作为所述第一容器的容器标识。
18. 根据权利要求 17所述的公网中的路由器, 其特征在于, 所述公网中 的路由器还包括:
更新模块, 用于将所述获取模块获取的所述第一容器的容器标识添加到 所述内容请求包中,以便于公网中的第二路由器根据所述第一容器的容器标 识转发所述内容请求包。
19.根据权利要求 12至 16中任一项所述的公网中的路由器,其特征在于, 所述接收模块接收的内容请求包还携带所述第一容器的容器标识; 所述获取模块具体用于获取所述内容请求包中携带的所述第一容器的 容器标识。
20.根据权利要求 12至 19中任一项所述的公网中的路由器,其特征在于, 所述发送模块包括:
第一确定单元, 用于确定转发信息表 FIB中是否存在与所述第一容器的 容器标识匹配的转发表项, 所述 FIB中的转发表项包括预设的容器标识以及 与所述预设的容器标识对应的接口;
发送单元, 用于当所述第一确定单元确定所述 FIB中存在与所述第一容 器的容器标识匹配的转发表项时, 根据所述匹配的转发表项中的接口, 转发 所述内容请求包。
21. 根据权利要求 20所述的公网中的路由器, 其特征在于, 所述发送模 块还包括:
第二确定单元, 用于在所述第一确定单元确定 FIB中是否存在与所述第 一容器的容器标识匹配的转发表项之前, 确定驻留信息表 PIT中是否存在与 所述请求内容的扩展内容名匹配的 PIT表项, 所述请求内容的扩展内容名由 所述请求内容的内容名和所述第一容器的容器标识组成;
更新单元, 用于当所述第二确定单元确定所述 PIT中存在与所述请求内 容的扩展内容名匹配的 PIT表项时, 将所述内容请求包的接收接口添加到所 述匹配的 PIT表项;
所述第一确定单元具体用于当所述第二确定单元确定所述 PIT中不存在 与所述请求内容的扩展内容名匹配的 PIT表项时,执行所述确定 FIB中是否存 在与所述第一容器的容器标识匹配的转发表项的步骤。
22.根据权利要求 12至 21中任一项所述的公网中的路由器,其特征在于, 所述接收模块还用于接收所述 VPN中的第二路由器返回的所述内容响应包, 所述内容响应包携带所述请求内容、 所述请求内容的内容名和所述私有标 识;
所述发送模块还用于根据所述第一容器的容器标识, 转发所述接收模块 接收的所述内容响应包。
23. 一种在信息为中心网络 ICN中转发报文的系统, 其特征在于, 包括: 如权利要求 12至 22中任一项所述的公网中的路由器、所述虚拟私有网络 VPN 中的第一路由器、 所述 VPN中的第二路由器和所述 VPN中的第三路由器。
24. 根据权利要求 23所述的系统, 其特征在于, 所述 VPN中的第三路由 器包括:
第一接收模块, 用于接收所述 VPN中的第一路由器发送的所述内容请求 包;
第一确定模块, 用于确定转发信息表 FIB中是否存在与所述第一接收模 块接收的所述内容请求包携带的所述请求内容的内容名匹配的转发表项,所 述 FIB中的转发表项包括内容名前缀和所述内容名前缀对应的接口;
第一发送模块, 用于当所述第一确定模块确定所述 FIB中存在与所述请 求内容的内容名匹配的转发表项时, 根据所述匹配的转发表项中的接口, 转 发所述内容请求包。
25. 根据权利要求 24所述的系统, 其特征在于, 所述 VPN中的第三路由 器还包括:
第二确定模块, 用于当所述第一确定模块确定所述 FIB中不存在与所述 请求内容的内容名匹配的转发表项时,确定所述内容请求包中是否携带所述 请求内容的容器信息,所述请求内容的容器信息包括用于标识存储所述请求 内容的至少一个第四容器的容器标识;
第三确定模块, 用于当所述第二确定模块确定所述 FIB中是否存在与所 述请求内容的容器信息中的容器标识匹配的转发表项;
所述第一发送模块还用于当所述第三确定模块确定所述 FIB中存在与所 述请求内容的容器信息中的容器标识匹配的转发表项时,根据所述匹配的转 发表项中的接口, 发送所述内容请求包。
26. 根据权利要求 24或 25所述的系统, 其特征在于, 所述 VPN中的第三 路由器还包括:
第四确定模块, 用于在所述第一确定模块确定 FIB中是否存在与所述请 求内容的内容名匹配的转发表项之前, 确定内容存储表 CS中是否存在与所 述请求内容的内容名匹配的内容;
所述第一确定模块具体用于当所述第四确定模块确定所述 CS中不存在 与所述请求内容的内容名匹配的内容时, 执行所述确定 FIB中是否存在与所 述请求内容的内容名匹配的转发表项的步骤。
27. 根据权利要求 26所述的系统, 其特征在于, 所述 VPN中的第三路由 器还包括:
第五确定模块,用于当所述第四确定模块确定所述 CS中不存在与所述请 求内容的内容名匹配的内容时, 确定 PIT中是否存在与所述请求内容的内容 名匹配的 PIT表项;
第一更新模块, 用于当所述第五确定模块确定所述 PIT中存在与所述请 求内容的内容名匹配的 PIT表项时, 将所述内容请求包的接收接口添加到所 述匹配的 PIT表项中;
所述第一确定模块具体用于当所述第五确定模块确定所述 PIT中不存在 与所述请求内容的内容名匹配的 PIT表项时,执行所述确定 FIB中是否存在与 所述请求内容的内容名匹配的转发表项的步骤。
28. 根据权利要求 24至 27中任一项所述的系统, 其特征在于, 所述第一 接收模块还用于接收所述 VPN中的第二路由器发送的内容响应包,所述内容 响应包携带所述请求内容、 请求内容的内容名和所述私有标识;
所述 VPN中的第三路由器还包括: 第六确定模块, 用于根据所述第一接收模块接收的所述内容响应包携带 的所述请求内容的内容名, 转发所述内容响应包。
29. 根据权利要求 28所述的系统, 其特征在于, 所述第一接收模块接收 的所述内容响应包携带所述请求内容的请求用户名;
所述第六确定模块包括:
第一确定单元, 用于确定所述 FIB中是否存在与所述请求用户名匹配的 转发表项;
第一发送单元, 用于当所述第一确定单元确定所述 FIB中存在与所述请 求用户名匹配的转发表项时, 根据所述匹配的转发表项中的接口, 转发所述 内容响应包。
30. 根据权利要求 29所述的系统, 其特征在于, 所述第六确定模块还包 括:
第二确定单元, 用于当所述第一确定单元确定所述 FIB中不存在与所述 请求用户名匹配的转发表项时,确定所述内容响应包是否携带所述请求内容 的请求用户的容器信息,所述请求用户的容器信息包括用于标识所述请求用 户对应的至少一个第五容器的容器标识;
第三确定单元, 用于当所述第二确定单元确定所述内容响应包携带所述 请求用户的容器信息时, 确定所述 FIB中是否存在与所述请求用户的容器信 息中的容器标识匹配的转发表项;
所述第一发送单元还用于当所述第三确定单元确定所述 FIB中存在与所 述请求用户的容器信息中的容器标识匹配的转发表项时,根据所述匹配的转 发表项中的接口, 转发所述内容响应包。
31. 根据权利要求 28所述的系统,其特征在于, 所述第六确定模块包括: 第四确定单元, 用于确定所述 PIT中存在与所述请求内容的内容名匹配 的 PIT表项; 第二发送单元, 用于根据所述第四确定单元确定的所述匹配的 PIT表项 中的接口, 转发所述内容响应包;
存储单元, 用于将所述内容响应包携带的所述请求内容存储到所述 CS 中;
移除单元, 用于将所述第四确定单元确定的所述匹配的 PIT表项从所述 PIT中移除。
PCT/CN2013/087659 2013-05-31 2013-11-22 信息为中心网络icn中转发报文的方法、装置及系统 WO2014190690A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2016515605A JP6116758B2 (ja) 2013-05-31 2013-11-22 情報中心ネットワーク(icn)においてパケットを転送するための方法、機器およびシステム
EP13886062.2A EP2993852A4 (en) 2013-05-31 2013-11-22 METHOD, DEVICE AND SYSTEM FOR RETRIEVING PACKAGES IN A INFORMATION CENTER NETWORK (ICN)
US14/951,083 US20160087876A1 (en) 2013-05-31 2015-11-24 Method, equipment and system for forwarding packets in information centric network (icn)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310211695.3 2013-05-31
CN201310211695.3A CN104219125B (zh) 2013-05-31 2013-05-31 信息为中心网络icn中转发报文的方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/951,083 Continuation US20160087876A1 (en) 2013-05-31 2015-11-24 Method, equipment and system for forwarding packets in information centric network (icn)

Publications (1)

Publication Number Publication Date
WO2014190690A1 true WO2014190690A1 (zh) 2014-12-04

Family

ID=51987934

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087659 WO2014190690A1 (zh) 2013-05-31 2013-11-22 信息为中心网络icn中转发报文的方法、装置及系统

Country Status (5)

Country Link
US (1) US20160087876A1 (zh)
EP (1) EP2993852A4 (zh)
JP (1) JP6116758B2 (zh)
CN (2) CN104219125B (zh)
WO (1) WO2014190690A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9935831B1 (en) * 2014-06-03 2018-04-03 Big Switch Networks, Inc. Systems and methods for controlling network switches using a switch modeling interface at a controller
KR102185350B1 (ko) * 2014-06-10 2020-12-01 삼성전자주식회사 네트워크 노드 및 네트워크 노드의 동작 방법
EP3518113B1 (en) * 2016-09-21 2021-01-06 KDDI Corporation Transfer device for a content distribution system
US10785341B2 (en) * 2016-11-21 2020-09-22 Intel Corporation Processing and caching in an information-centric network
CN106911570B (zh) * 2017-03-29 2019-05-17 常熟理工学院 一种可靠的网络数据通信方法
WO2018189352A1 (en) * 2017-04-14 2018-10-18 Koninklijke Kpn N.V. Transmitting and receiving an interest message specifying an aggregation parameter
CN111953805B (zh) * 2017-09-30 2022-08-26 华为云计算技术有限公司 传输数据的方法和装置
CN108337148B (zh) * 2018-02-07 2019-10-18 北京百度网讯科技有限公司 用于获取信息的方法及装置
WO2019227902A1 (zh) * 2018-05-28 2019-12-05 中国科学院声学研究所 一种icn报文转发方法
CN110807160A (zh) * 2018-07-20 2020-02-18 华为技术有限公司 内容获取方法及装置
US11140132B1 (en) * 2019-12-10 2021-10-05 Amazon Technologies, Inc. Network flow management

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317416A (zh) * 2005-07-14 2008-12-03 雅虎公司 内容路由器
CN102143199A (zh) * 2010-10-19 2011-08-03 华为技术有限公司 获取内容的方法、节点及内容网络
US20120317307A1 (en) * 2011-06-07 2012-12-13 Futurewei Technologies, Inc. Method and Apparatus for Content Identifier Based Radius Constrained Cache Flooding to Enable Efficient Content Routing

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797382B2 (en) * 2005-12-02 2010-09-14 Alcatel Lucent Virtual private network publish-subscribe multicast service
US9456054B2 (en) * 2008-05-16 2016-09-27 Palo Alto Research Center Incorporated Controlling the spread of interests and content in a content centric network
EP2356803A1 (en) * 2008-10-20 2011-08-17 Telefonaktiebolaget L M Ericsson (PUBL) Methods and devices for a client node to access an information object located at a node of a secured network via a network of information
US8918835B2 (en) * 2010-12-16 2014-12-23 Futurewei Technologies, Inc. Method and apparatus to create and manage virtual private groups in a content oriented network
US8863227B2 (en) * 2011-01-05 2014-10-14 Futurewei Technologies, Inc. Method and apparatus to create and manage a differentiated security framework for content oriented networks
US9379970B2 (en) * 2011-05-16 2016-06-28 Futurewei Technologies, Inc. Selective content routing and storage protocol for information-centric network
WO2013029569A1 (en) * 2011-09-01 2013-03-07 Huawei Technologies Co., Ltd. A Generalized Dual-Mode Data Forwarding Plane for Information-Centric Network
FR2982974A1 (fr) * 2011-11-22 2013-05-24 France Telecom Procede de traitement d'une requete dans un reseau de communication centre sur les informations
CN103988458B (zh) * 2011-12-09 2017-11-17 华为技术有限公司 基于内容中心网络的网络中编码网络报文的方法
US8762477B2 (en) * 2012-02-28 2014-06-24 Futurewei Technologies, Inc. Method for collaborative caching for content-oriented networks
US9276850B2 (en) * 2012-07-18 2016-03-01 Electronics And Telecommunications Research Institute Packet processing device for IP-based information-centric network
US9178806B2 (en) * 2012-07-31 2015-11-03 Alcatel Lucent High-speed content routing
CN103118013B (zh) * 2013-01-16 2015-12-23 西安电子科技大学 内容中心网络中数据包捎带反向兴趣包的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317416A (zh) * 2005-07-14 2008-12-03 雅虎公司 内容路由器
CN102143199A (zh) * 2010-10-19 2011-08-03 华为技术有限公司 获取内容的方法、节点及内容网络
US20120317307A1 (en) * 2011-06-07 2012-12-13 Futurewei Technologies, Inc. Method and Apparatus for Content Identifier Based Radius Constrained Cache Flooding to Enable Efficient Content Routing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2993852A4 *

Also Published As

Publication number Publication date
EP2993852A4 (en) 2016-03-30
JP6116758B2 (ja) 2017-04-19
CN104219125B (zh) 2017-12-05
JP2016520274A (ja) 2016-07-11
CN104219125A (zh) 2014-12-17
US20160087876A1 (en) 2016-03-24
CN108063717A (zh) 2018-05-22
EP2993852A1 (en) 2016-03-09

Similar Documents

Publication Publication Date Title
WO2014190690A1 (zh) 信息为中心网络icn中转发报文的方法、装置及系统
WO2017162095A1 (zh) 基于流规则协议的通信方法、设备和系统
US9948557B2 (en) Methods and apparatuses for routing and forwarding, establishing routing table, and acquiring content
EP2793434B1 (en) Method for processing data source movement, method for forwarding packet, and devices thereof
US8898334B2 (en) System for network deployment and method for mapping and data forwarding thereof
CN106789526B (zh) 多系统网络连接的方法及装置
CN104579954B (zh) 报文跨域转发方法、装置及通信设备
WO2013123847A1 (zh) 报文发送方法和网络设备
WO2015014177A1 (zh) 一种流表交互方法、交换机及系统
TW201212603A (en) Enabling IPV6 mobility with NAT64
WO2013056680A1 (zh) 虚拟私云接入虚拟专用网的方法、装置和系统
WO2017107814A1 (zh) 一种传播QoS策略的方法、装置及系统
WO2014194523A1 (zh) 路由转发方法、装置及系统
WO2013120406A1 (en) Construct Large-scale DVPN
WO2015109478A1 (zh) 实现arp的方法、交换设备及控制设备
WO2011035710A1 (zh) 面向用户的通信方法和路由注册方法及设备及通信系统
WO2011044808A1 (zh) 一种匿名通信的溯源方法及系统
WO2013107245A1 (zh) 在透明多链路互联(trill)网络中实现组播的方法、装置及系统
WO2014166073A1 (zh) 报文转发方法和网络设备
WO2013139270A1 (zh) 实现三层虚拟专用网络的方法、设备及系统
WO2013040997A1 (zh) 多拓扑网络中转发报文的方法、装置和系统
JP2014150364A (ja) アドレス生成装置
WO2012068854A1 (zh) 一种mac地址更新方法及装置
CN113726653B (zh) 报文处理方法及装置
WO2023035836A1 (zh) 一种报文处理方法及相关装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13886062

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016515605

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013886062

Country of ref document: EP