WO2020118571A1 - Method and system for transmitting ip data packet by using content centric network as tunnel - Google Patents

Method and system for transmitting ip data packet by using content centric network as tunnel Download PDF

Info

Publication number
WO2020118571A1
WO2020118571A1 PCT/CN2018/120686 CN2018120686W WO2020118571A1 WO 2020118571 A1 WO2020118571 A1 WO 2020118571A1 CN 2018120686 W CN2018120686 W CN 2018120686W WO 2020118571 A1 WO2020118571 A1 WO 2020118571A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
receiving
sending
ccn
agent
Prior art date
Application number
PCT/CN2018/120686
Other languages
French (fr)
Chinese (zh)
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 PCT/CN2018/120686 priority Critical patent/WO2020118571A1/en
Publication of WO2020118571A1 publication Critical patent/WO2020118571A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • Name of the invention A method and system for transmitting IP data packets using a content-centric network as a tunnel
  • the present invention belongs to the field of network technology improvement, and particularly relates to a method and system for transmitting IP data packets using a content-centric network as a tunnel.
  • ICN abandons the IP network address-centric end-to-end communication mode, but adopts the content-centric end-to-end network communication mode.
  • CCN is an information-centric network architecture proposed by the Palo Alto Research Center, focusing on the information itself, not the location of the information, and launched the CCNx project to implement a deployable prototype system.
  • NDN is one of the projects supported by the National Natural Science Foundation of the future based on the CCN idea.
  • CCN replaces addresses with the network communication model of information, abandons the end-to-end communication mode, and obtains information in an active "pull" way.
  • the security mechanism is built on the information itself.
  • the routing mechanism makes full use of the node cache.
  • the architecture supports mobility and solves The problem of large-scale information transmission.
  • CCN uses the hierarchical content name as the routing identifier for routing addressing.
  • the content request is sent through the Interest message.
  • the Data message uses the reverse path to return the content for information transmission.
  • the content name is used as the unique identifier of the content. For content positioning, routing and transmission. Therefore, CCN can better meet people's demand for information-centric communication.
  • CCN uses TCP, UDP, or IP as a tunnel during deployment. This usually requires manual deployment of the tunnel endpoints. When a new CCN deployment is required, the tunnel needs to be changed manually. In addition, these point-to-point tunnels limit CCN's ability to use the bottom layer to transmit media. In order to make full use of content-centric communication and simplify the deployment process, it is advisable to deploy CCN nodes directly via Ethernet.
  • the existing IP network still shows strong vitality in many aspects, and many existing services are provided through the IP protocol.
  • the traditional IP network is directly replaced on a large scale, it is difficult to implement at this stage, and it usually requires gradual Deploy to achieve a smooth transition.
  • future network development is compatible with existing network systems.
  • the compatibility of the content center network with the traditional network is of great significance, and is of great significance for the future development and evolution of the network.
  • TCP/ICN IP-centric network
  • IP network is an end-to-end network
  • IP network is a A network that actively "pushes” data
  • ICN network is a network that actively "pulls” data.
  • This patent mainly considers implementing this method on a CCN network.
  • the TCP/ICN technical solution has designed a pair of switching nodes-"sending agent" and "receiving agent" at the junction of the IP network and the ICN network.
  • the sending agent connects to the IP network that actively sends data, and the receiver connects to the destination IP network.
  • the conversion of the protocol and the decapsulation of the package are completed in this pair of agents.
  • the data transmission in the ICN network adopts a "pull" mode, that is, each data packet requires an interest packet to make a request, so if the sending end needs to directly send TCP data, special processing needs to be done at the sending agent .
  • the sending agent receives the TCP data that needs to be sent, the sending agent first sends an interest packet to notify the receiving agent that there is a data packet that the receiving agent needs to pull.
  • the sending agent caches the TCP data packet.
  • the receiving agent receives the notification interest packet
  • the receiving agent sends an interest packet requesting data to the sending agent.
  • the sending agent sends the TCP data buffered to the receiving agent.
  • the receiving agent unpacks it, and then The content is transmitted to the receiving end through the IP network.
  • the receiving end After receiving the TCP data, the receiving end then sends an ACK response, thus completing the process of TCP transmission through the ICN network.
  • the main problem is that the transmission efficiency is not high. Originally in the TCP network, sending data only needs to send and confirm two packets, and in the CCN network, an additional interest packet needs to be added to notify the receiving agent Pulling data, this undoubtedly increases system overhead and reduces transmission efficiency. At the same time, the CCN network has the characteristics of in-network caching, which is not used, which will reduce the effectiveness of the entire transmission.
  • N is the underlying transmission resource for media data transmission. In essence, it is still the IP network for data packet transmission.
  • the current CCN is only a logical CCN, and the underlying transmission resources are not better used.
  • the transmission of the underlying data packets of the CN network is still carried out through the IP network.
  • the IP network is considered to be combined with the traditional CCN network, and the combination of the CCN network based on Ethernet and the traditional IP network is not fully considered to realize the progressive deployment and smoothness of the network. transition.
  • the traditional tunneling method is directed to the content network based on the IP network layer as the bottom layer, without considering the content network based directly on the link layer.
  • An object of the present invention is to provide a method and system for transmitting IP data packets using a content-centric network as a tunnel, and aims to solve the above-mentioned technical problems.
  • the present invention is implemented in this way, a method for transmitting IP data packets using a content center network as a tunnel, the method includes the following steps: [0016] SI, dividing the CCN network into an application layer, a content layer, a data link layer and a physical layer and mapping content names in the CCN network to MAC address queries;
  • IP data completes data packet transmission through multiple interest packet exchanges.
  • a further technical solution of the present invention is: the FIB entry is generated by a routing protocol, the FIB entry does not change during operation, and the FIB entry provides a search service for the Interest packet processing module.
  • a further technical solution of the present invention is: the arrival interface of the Interest packet recorded in the PIT entry, before forwarding the Interest packet, the CCN node records the physical network port and source MAC address it arrives in the PIT entry, To provide the forwarding basis for the responded Data packets, the PIT table entry needs to support search, insert and delete functions.
  • the CS cache supports operations of searching, reading, inserting, replacing, and deleting.
  • a matching search is first performed in the CS cache, according to the cache strategy Maintain the accessed state for cached content.
  • the data transmission process in step S4 includes the following steps: [0024] S411, after receiving the TCP segment, the sending agent converts the data to be transmitted into the form of a CCN data packet and generates a The interest package informs the receiving agent that there is data to be fetched;
  • S412 After receiving the interest packet, the receiving agent sends the request data interest packet to the receiving agent;
  • S413 The receiving agent receives the request data interest packet, decapsulates the encapsulated data packet, transmits the encapsulated TCP segment to the TCP receiving end through the IP network, and sends back an ACK response.
  • the TCP/CCN network establishing connection in the step S4 includes the following steps:
  • the receiving agent sends the interest packet with the SYN logo to the receiving agent via the CCN network and receives it;
  • S423 The receiving end receives the receiving and receiving agent to send SYN and sends SYN+ACK to the receiving agent;
  • S424 the receiving agent sends the interest packet with the SYN and ACK signs to the sending agent via the CCN network;
  • S425 The sending end receives the SYN and ACK sent by the sending agent and generates a sending ACK transmission to the sending Send agent
  • S426 The sending agent sends the interest packet with the sending ACK identifier to the receiving agent via the CCN network;
  • the receiving agent sends the interest packet with the sending ACK identifier to the receiving end.
  • the disconnection of the TCP/CCN network connection in the step S4 includes the following steps:
  • the sending agent receives the FIN sent by the sending end, and forwards the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
  • the receiving agent transmits the interest packet with the FIN identifier of the sending end to the receiving end;
  • the receiving agent receives the ACK sent by the receiving end, and forwards the interest packet with the ACK identifier of the receiving end to the sending agent via the CCN network;
  • the sending agent transmits the interest packet with the ACK identifier of the receiving end to the sending end;
  • the receiving agent receives the FIN sent by the receiving end, and forwards the interest packet with the FIN identification of the receiving end to the sending agent by the CCN network;
  • S436 The sending agent transmits the interest packet with the FIN identification of the receiving end to the sending end;
  • the sending agent receives the ACK sent by the sending end, and forwards the interest packet with the ACK identifier of the sending end to the receiving agent via the CCN network;
  • the receiving agent transmits the interest packet with the ACK identifier of the sending end to the receiving end.
  • Another object of the present invention is to provide a content center network as a tunnel transmission IP data packet system, characterized in that the system includes
  • a partitioning module for dividing the CCN network into an application layer, a content layer, a data link layer and a physical layer and mapping content names in the CCN network to MAC address queries;
  • a building module for constructing a FIB entry, a PIT entry and a CS cache entry in the FWD in the layered CCN network according to the link layer transmission technology to form a new CCN network;
  • a data exchange module configured to complete data packet transmission of IP data through multiple interest packet exchanges in a TCP/CCN network.
  • a further technical solution of the present invention is: the FIB entry is generated by a routing protocol, and the FIB entry is at No change will occur during operation, and the FIB entry provides a search service for the Interest package processing module.
  • a further technical solution of the present invention is: the arrival interface of the Interest packet recorded by the PIT entry, before forwarding the Interest packet, the CCN node records the physical network port and source MAC address it arrives in the PIT entry, To provide the forwarding basis for the responded Data packets, the PIT table entry needs to support search, insert and delete functions.
  • a further technical solution of the present invention is:
  • the CS cache supports operations of searching, reading, inserting, replacing, and deleting.
  • a matching search is first performed in the CS cache, according to the cache strategy Maintain the accessed state for cached content.
  • the data transmission process in the data exchange module includes the following units
  • an interest packet sending unit which is used for the sending agent to convert the data to be transmitted into the form of a CCN data packet after receiving the TCP segment and generate an interest packet to inform the receiving agent that there is data to be fetched;
  • the decapsulation transmission unit is used to receive the request data interest packet to decapsulate the encapsulated data packet, transmit the encapsulated TCP segment to the TCP receiving end through the IP network and send back an ACK response.
  • the TCP/CCN network establishment connection in the data exchange module includes the following units
  • the first SYN unit for the sending agent to receive the SYN sent by the sending end;
  • the first SYN marked interest packet sending unit is used by the receiving agent to send the interest packet with the SYN logo to the receiving agent via the CCN network and receive it;
  • Send SYN and ACK unit for the receiving end to receive the receiving agent to send SYN and send SYN+ACK to the receiving agent;
  • the transmission band sending ACK unit is used for the sending end to receive the SYN and ACK sent by the sending agent and generate a sending ACK transmission to the sending agent;
  • the transmission belt sends an ACK identification interest packet unit for the sending agent to send the interest packet with the sending ACK identification to the receiving agent via the CCN network; [0063] The receiving agent with an interest packet with a sent ACK identifier unit receives an interest packet with a sent ACK identifier to the receiving end.
  • the disconnection of the TCP/CCN network connection in the data exchange module includes the following units
  • the first receiving and forwarding unit is used for the sending agent to receive the FIN sent by the sending end, and forwards the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
  • the first transmission unit is used for the receiving agent to transmit the interest packet with the FIN identification of the sending end to the receiving end;
  • the second receiving and forwarding unit is used for the receiving agent to receive the ACK sent by the receiving end, and The CCN network forwards the interest packet with the ACK identification of the receiving end to the sending agent;
  • the second transmission unit is used for the sending agent to transmit the interest packet with the ACK identifier of the receiving end to the sending end;
  • the third receiving and forwarding unit is used for the receiving agent to receive the FIN sent by the receiving end, and The CCN network forwards the interest packet with the FIN identification of the receiving end to the sending agent;
  • the third transmission unit is used for the sending agent to transmit the interest packet with the FIN identifier of the receiving end to the sending end;
  • the fourth receiving and forwarding unit is used for the sending agent to receive the ACK sent by the sending end, and The CCN network forwards the interest packet with the ACK identifier of the sending end to the receiving agent;
  • the fourth transmission unit is used for the receiving agent to transmit the interest packet with the ACK identifier of the sending end to the receiving end.
  • This method effectively improves the efficiency of transmission, makes full use of the cache characteristics of the CCN network, improves the effectiveness of transmission, makes full use of the underlying transmission resources, making the CCN network and the traditional IP network Combined to realize the gradual deployment and smooth transition of the network.
  • FIG. 1 is a schematic diagram of a CCN node framework provided by an embodiment of the present invention.
  • FIG. 2 is a schematic design diagram of a CCN node combined with a MAC address provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a frame format design in a CCN node combined with a MAC address provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of Face design in a CCN node combined with a MAC address provided by an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a CCN node design combined with a MAC address provided by an embodiment of the present invention.
  • 6 is a schematic diagram of TCP/CCN conversion provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an IP overlay CCN provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of TCP connection establishment provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of TCP connection disconnection provided by an embodiment of the present invention.
  • ICN Information Centric Network, information center network.
  • CCN Content Centric Network, content center network.
  • NDN Named Data Networking, named data network.
  • TCP Transmission Control Protocol, transmission control protocol.
  • IP Internet Protocol, Internet Protocol.
  • ACK Acknowledgement, that is, an acknowledgment character, a type of transmission control character sent by a receiving station to a sending station in data communication.
  • MAC Media Access Control Address, media access control address,
  • FIB Forwarding Information Base, forwarding information base, which refers to a forwarding table used for query forwarding in the NDN network.
  • PIT Pending Interest Table, a pending interest table, which refers to a data structure maintained by a router in the NDN network and used to wait for a reply of an interest packet.
  • CS Content Store, content storage library, refers to the data structure used to cache data in the NDN network
  • Interest package Interest package (Interest Message), issued by the subscriber, request data by Name
  • Interest package is NDN Network (Named Data
  • Data package Content Object (content package), published by the publisher as a response to the interest package, including data load, publisher information, and signature information used for verification, etc.
  • the content package is a Message type in the NDN Network (Named Data Networking) protocol.
  • the present invention provides a method and system for tunneling an IP network system data packet for a content-centric network system, and proposes a method for enabling IP data packets to pass through a content network system tunnel based directly on a link layer Method.
  • the traditional tunneling method was aimed at the content network based on the IP network layer as the bottom layer, and did not consider the content network based directly on the link layer.
  • the present invention is proposed to solve this problem by adopting the content based on the Ethernet layer as the bottom layer.
  • the network establishes a tunnel to provide transmission services for IP data.
  • the present invention proposes a new type of network protocol stack. It is planned to deploy and execute the CCN network directly on the link layer via Ethernet, thereby omitting the additional steps of modifying existing protocols and making full use of the underlying transmission resources.
  • the present invention proposes a method and system tunneling technical solution for tunneling IP network system data packets in a content-centric network system, so that data packets of the IP network can be transmitted through the content-center network based on the Ethernet layer.
  • the CCN node can send interest packets and data packets by unicast or broadcast on the MAC address in the data link layer.
  • the interface face of the CCN node We design the CCN node to pass The face interface is connected to the MAC address (Ethernet link layer) to share media data. Therefore, we divided the entire CCN network into an application layer, a content layer, and a data link layer, so that the traditional network that was canceled uses IP as the transmission address. As shown in Figure 1 and 2.
  • the source and destination MAC addresses in the Ethernet frame are the identifications of the physical devices on both sides of the communication. Most current Ethernets use a star structure, and a physical network port can be connected to multiple devices. Therefore, both in switched Ethernet and shared Ethernet, both communication parties need to find the peer device connected to themselves through the MAC address.
  • the CCN layer not only submits CCN data packets to the Ethernet layer, but also provides the identification of the next hop node. In the underlying implementation of CCN, this set of exits can be a combination of physical network port and MAC address. By physical network port and MAC
  • the combination of addresses can uniquely determine an adjacent device. Therefore, when forwarding the Interest packet, the CCN node can encapsulate the Interest packet into an Ethernet frame and send it according to the corresponding physical network port and MAC address entry in the FIB.
  • the FIB table should be generated by the routing protocol, and the routing protocol completes the detection of adjacent nodes. Experimental stage Segments can also be manually configured in advance like CCNx.
  • the forwarding of the Data packet is based on the arrival interface of the Interest packet recorded in the PIT table. Before forwarding the Interest packet, the CCN node should record the physical network port and source MAC address it arrives in the PIT table to provide the responding Data packet Basis for forwarding.
  • Interest packet processing module and Data packet processing module call FIB according to CCN working mechanism
  • the interfaces provided by the management module, PIT management module and CS management module forward the CCN data packets to be processed in the Interest packet queue and the Data packet queue.
  • the network card After receiving the Ethernet frame, the network card will determine the protocol type in the load according to the type field in the frame header, and transfer it to the corresponding protocol stack for processing.
  • the Ethernet standard does not assign a type value to CCN. In the experimental stage, you can only temporarily use the unassigned type value as the CCN type value. Get Interest
  • the packet type value is 0x0601, and the Data packet type value is 0x0602. As shown in Figure 3.
  • the FIB management module maintains FIB entries of the CCN node. Since the routing table is manually configured through the configuration file, after the routing table is read in during the startup phase of the routing software, FIB entries will not change during operation. Therefore, the FIB management module mainly provides a search service for the Interest packet processing module. As shown in Figure 4.
  • the PIT management module maintains PIT entries of the CCN node.
  • PIT is a unique structure of the CCN node, and is the core component of its normal working mechanism.
  • the CS management module maintains the cache function of the CCN node.
  • the content of the CS cache is that the Data packet has been forwarded. Whether it is the Interest packet or the Data packet, the match search must be performed in the CS first.
  • the cache is about to overflow, you need to delete the stored content according to the cache strategy to store new content. Therefore, CS needs to support operations such as find, read, insert, replace, and delete.
  • some status of the accessed content must be maintained for the cached content, such as the frequency of the content being accessed, the time of the last access, and the time of the last modification.
  • CCN was proposed as the architecture of the future network, aiming to solve many problems faced by host-based TCP/IP
  • In-network caching is one of the significant features of CCN, and making full use of caching is conducive to improving network performance.
  • TCP is the most widely used protocol in the transport layer of existing IP networks. A large number of application layer protocols are based on it. Therefore, the protocol conversion between TCP and CCN has a wider practical significance.
  • TCP is an end-to-end protocol, through the IP address and port number for one-to-one communication, which is based on content with CCN
  • CCN the communication is initiated by the user, that is, the user sends an interest packet, and the server responds with the data packet. This, in the eyes of the user, is a "pull" of the required data.
  • TCP only the sender sends data, and the receiver replies with a confirmation message. In other words, this is a "push" process, and the two are essentially semantically different.
  • the TCP protocol In addition to the basic connection communication function, the TCP protocol also has mechanisms such as congestion control and flow control. As a reliable transport layer protocol, through the retransmission mechanism, TCP can ensure end-to-end reliability Transmission, and these functions are not involved in CCN, how to retain as much as possible in the conversion These mechanisms cannot be ignored in the design. As shown in Figure 6.
  • the purpose of the design is to enable the two TCP terminals to communicate through the middle CCN network, and a pair of conversion nodes need to be set at the boundary between the IP network and the CCN network. , Connect to the sending end and receiving end of TCP respectively. Protocol conversion and package encapsulation are carried out in the agent, each agent has a name as a routing prefix in the CCN network, so that the package in the CCN can be successfully passed to the designated agent for the next processing, the name of the agent There is a mapping relationship with its IP address.
  • each data packet is transmitted to correspond to an interest packet request. Therefore, the receiving agent is required to send the interest packet request data before the sending agent can send out the corresponding data packet. In order to let the receiving agent know that there is content to be transferred, it is necessary for the sending agent to send an additional interest packet to inform the receiving agent.
  • the TCP fragment when the TCP fragment arrives at the sending agent, it needs to convert the data to be transmitted into the form of a CCN data packet, and at the same time generate an interest packet to inform the receiving agent that there is data to be fetched, this interest packet is constructed using the TCP/IP header,
  • the name of the interest package is similar to the following form: /revproxy-prefix/TCP-IP-headers/nonce.
  • the first item is the routing prefix of the receiving agent, which is used to route to the receiving agent
  • the second item is the TCP/IP header, which is used to provide the necessary information to the receiving agent to construct the interest packet for pulling data
  • the final random The number is used to ensure uniqueness and prevent AC K messages from being merged by CCN nodes due to the same name.
  • the newly constructed data packet is placed in the sending proxy buffer and waiting for the recipient to fetch.
  • the naming of the data packet follows the following rules: /forwardproxy-prefix/TCP-tuple/TCP sequence number/number, where the first item It is the name of the sending agent, which is used for routing.
  • the second item includes the sender and receiver sockets, followed by the sequence number of this TCP segment. The last digit is to prevent the naming conflict caused by the TCP sequence number running out of cycles.
  • the agent When the interest packet arrives at the receiving agent, the agent knows that there is data to be fetched at the sending end, and immediately sends the interest packet to request the data. According to the matching principle in CCN, the name of the interest packet here is the same as the previous data packet After the data packet arrives at the receiving agent, it performs the decapsulation operation, transmits the TCP fragment encapsulated in the data packet to the TCP receiving end through the IP network, and finally sends back an ACK response, which realizes the transmission of the TCP stream through the CCN the process of. As shown in Figure 7. [0128] 2) TCP connection establishment
  • connection establishment The TCP three-way handshake is mapped to the equivalent of three interest exchanges, and both agents undergo a series of initializations. It is beneficial to use only Interests during the TCP setup phase, because in order to transfer actual TCP data, corresponding Data messages can be saved. As shown in Figure 8.
  • TCP four wave process is equivalent to four interest packet exchanges in TCP/CCN, and both agents experience a series of termination states. It is worth noting that for TCP connection establishment/disassembly, the interest packet exchange is the same.
  • Another object of the present invention is to provide a method and system for transmitting IP data packets using a content center network as a tunnel, characterized in that the system includes
  • a data exchange module configured to complete data packet transmission through multiple interest packet exchanges on IP data in a TCP/CCN network.
  • the FIB entry is generated by a routing protocol, the FIB
  • the entry does not change during operation, the FIB entry provides a search service for the Interest packet processing module
  • the CCN node should record the physical network port and source MAC address it arrives in the PIT entry to provide a forwarding basis for the responding Data packet , PIT table items need to support search, insert and delete functions.
  • the CS cache supports operations of searching, reading, inserting, replacing, and deleting.
  • the CS cache is first searched for matching, and the accessed content is maintained according to the cache strategy. status.
  • the data transmission process in the data exchange module includes the following units [0141] an interest packet sending unit, which is used for the sending agent to convert the data to be transmitted into the form of a CCN data packet after receiving the TCP segment and generate an interest packet to inform the receiving agent that there is data to be fetched;
  • the decapsulation transmission unit is used to receive the request data interest packet to decapsulate the encapsulated data packet, transmit the encapsulated TCP segment to the TCP receiving end through the IP network, and send back an ACK response.
  • the TCP/CCN network establishment connection in the data exchange module includes the following units
  • the first SYN unit for the sending agent to receive the SYN sent by the sending end;
  • the first SYN marked interest packet sending unit is used by the receiving agent to send the interest packet with the SYN logo to the receiving agent via the CCN network and receive it;
  • Send SYN and ACK unit for the receiving end to receive the receiving agent to send SYN and send SYN+ACK to the receiving agent;
  • the transmission band sending ACK unit is used for the sending end to receive the SYN and ACK sent by the sending agent and generate a sending ACK transmission to the sending agent;
  • the transmission belt sends an ACK identification interest packet unit for the sending agent to send the interest packet with the sent ACK identification to the receiving agent via the CCN network;
  • the receiving agent with the ACK identification and sending interest packet unit receiving agent sends the interest packet with the sending ACK identification to the receiving end.
  • the disconnection of the TCP/CCN network connection in the data exchange module includes the following units
  • a first receiving and forwarding unit configured to send an agent to receive the FIN sent by the sending end, and forward the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
  • a first transmission unit configured to receive an agent to transmit the interest packet with the FIN identification of the sending end to the receiving end;
  • the second receiving and forwarding unit is used for the receiving agent to receive the ACK sent by the receiving end, and forward the interest packet with the ACK identification of the receiving end to the sending agent via the CCN network;
  • a second transmission unit configured to send the agent to transmit the interest packet with the ACK identifier of the receiving end to the sending end;
  • a third receiving and forwarding unit configured to receive the FIN sent by the receiving agent and forward the CCN network Interest packets with FIN identification at the receiving end are sent to the sending agent;
  • a third transmission unit which is used by the sending agent to transmit the interest packet with the FIN identification of the receiving end to the sending end;
  • a fourth receiving and forwarding unit which is used by the sending agent to receive the ACK sent by the sending end, and forward the interest packet with the ACK identifier of the sending end to the receiving agent via the CCN network;
  • a fourth transmission unit is configured to receive an agent to transmit the interest packet with the ACK identifier of the sending end to the receiving end.
  • the new network protocol stack proposed by the present invention maps the content names in the CCN network to MAC addresses, and then reuses the existing link layer transmission technology to realize data transmission, and builds on the Ethernet data link layer.
  • a tunnel of a CCN network is deployed at the edge of the IP network and the CCN network to realize the connection between the IP network and the CCN network based on Ethernet.
  • This solution of incremental deployment on the basis of the existing network infrastructure can be very good due to the transition problem from the existing IP network to the future network, and can maximize the reuse of the existing IP network infrastructure At the same time, it provides smooth support for the connection between the IP network and the CCN network.

Abstract

The present invention is applicable to the field of network technology improvement, and provides a method for transmitting an IP data packet by using a content centric network (CCN) as a tunnel, comprising: S1, divide a CCN into an application layer, a content layer, a data link layer, and a physical layer, and map a content name in the CCN into an MAC address for query; S2, construct an FIB table item, a PIT table item, and a CS cache table item in an FWD according to a link layer transmission technology in the layered CCN to form a new CCN; S3, deploy a pair of switch nodes having a dual stack function on a border of an IP network and the new CCN, and respectively connect the switch nodes to a sending terminal and a receiving terminal of a TCP to construct the TCP/CCN; and S4, IP data completes data packet transmission in the TCP/CCN by means of multiple interest packet exchanges. According to the method, the transmission efficiency is effectively improved, an in-network cache characteristic of the CCN is fully used, the transmission effectiveness is improved, and a lower-layer transmission resource is fully used.

Description

发明名称: 一种以内容中心网络为隧道传输 IP数据分组的方法及系 统 Name of the invention: A method and system for transmitting IP data packets using a content-centric network as a tunnel
技术领域 Technical field
[0001] 本发明属于网络技术改进领域, 尤其涉及一种以内容中心网络为隧道传输 IP数 据分组的方法及系统。 [0001] The present invention belongs to the field of network technology improvement, and particularly relates to a method and system for transmitting IP data packets using a content-centric network as a tunnel.
背景技术 Background technique
[0002] 互联网在近半个世纪里, 经历了从无到有, 从简单到复杂的高速发展过程, 以 IP协议为主的网络体系在不断改良中显示出了顽强的生命力, 使得计算机网络向 着社会化、 全球化稳步发展。 然而 IP网络基于地址路由的设计是为了实现端到端 的通信, IP网络端到端的传输模式使得 IP网络取得成功部署。 然而, IP网络在超 大规模信息中心传输中显得力不从心, IP地址枯竭、 安全缺陷、 管控能力弱、 对 移动性的支持较弱和业务适应性差等问题加速了下一代互联网体系的探究。 近 年来, 人们提出了许多革命式网络体系结构方案, 在这些方案中, ICN被认为是 一种能够较好满足用户对信息传递需求的新型网络体系结构。 [0002] In the past half century, the Internet has experienced a high-speed development process from scratch, from simple to complex, and the network system based on the IP protocol has shown tenacious vitality in the continuous improvement, making the computer network toward Socialization and globalization have developed steadily. However, the design of the IP network based on address routing is to achieve end-to-end communication. The end-to-end transmission mode of the IP network enables the successful deployment of the IP network. However, IP networks seem to be incapable of transmitting in very large-scale information centers. Problems such as exhaustion of IP addresses, security flaws, weak management and control capabilities, weak support for mobility, and poor service adaptability have accelerated the exploration of next-generation Internet systems. In recent years, many revolutionary network architecture schemes have been proposed. Among these schemes, ICN is considered to be a new type of network architecture that can better meet users' information transmission needs.
[0003] ICN摒弃了 IP网络以地址为中心的端到端通信模式, 而是采用以内容为中心的 端对网络通信模式。 CCN是一种由帕洛阿托研究中心提出的以信息为中心的网 络架构, 关注信息本身, 而不关注信息所在位置, 并开展了 CCNx项目, 实现了 一个可部署的原型系统。 NDN是基于 CCN思想的美国国家自然基金支持的未来 网络结构计划资助工程之一。 CCN用信息取代地址的网络通信模型, 摒弃了端 到端的通信模式, 以主动“拉”的方式获取信息, 安全机制构建于信息本身, 路由 机制充分利用了节点缓存, 体系结构支持移动性, 解决了大规模信息传输的问 题。 同时 CCN以分层内容名称为路由标识进行路由寻址, 通过 Interest报文发送 内容请求, Data报文以反向路径返回内容的方式进行信息传输, 在 CCN中内容名 称作为内容的唯一标识, 用于内容的定位、 路由、 传输。 因此 CCN能更好的满 足人们对于以信息为中心的通信方式的需求。 [0003] ICN abandons the IP network address-centric end-to-end communication mode, but adopts the content-centric end-to-end network communication mode. CCN is an information-centric network architecture proposed by the Palo Alto Research Center, focusing on the information itself, not the location of the information, and launched the CCNx project to implement a deployable prototype system. NDN is one of the projects supported by the National Natural Science Foundation of the future based on the CCN idea. CCN replaces addresses with the network communication model of information, abandons the end-to-end communication mode, and obtains information in an active "pull" way. The security mechanism is built on the information itself. The routing mechanism makes full use of the node cache. The architecture supports mobility and solves The problem of large-scale information transmission. At the same time, CCN uses the hierarchical content name as the routing identifier for routing addressing. The content request is sent through the Interest message. The Data message uses the reverse path to return the content for information transmission. In CCN, the content name is used as the unique identifier of the content. For content positioning, routing and transmission. Therefore, CCN can better meet people's demand for information-centric communication.
[0004] 作为一种未来网络, 内容中心网络的长期目标是取代 IP网络。 然而, 5见有的内 容中心网络依然是以 overlay的方式在 IP网络上传输数据包, 本质上数据包的传输 还是通过 IP网络在传输, 并没有充分利用底层传输资源。 5见有的工作在部署时候 CCN使用 TCP、 UDP或 IP为隧道, 这通常需要对隧道端点进行手动部署, 在需要 新部署 CCN时候, 需要手动改变隧道。 此外, 这些点对点隧道限制了 CCN利用 底层来传输媒体的能力。 为了充分利用以内容为中心的通信和简化部署过程, 主张直接通过以太网部署 CCN节点。 [0004] As a future network, the long-term goal of content-centric networks is to replace IP networks. However, 5 see some The content center network still transmits data packets on the IP network in an overlay manner. In essence, the data packets are still transmitted through the IP network, and the underlying transmission resources are not fully utilized. 5 See some work. CCN uses TCP, UDP, or IP as a tunnel during deployment. This usually requires manual deployment of the tunnel endpoints. When a new CCN deployment is required, the tunnel needs to be changed manually. In addition, these point-to-point tunnels limit CCN's ability to use the bottom layer to transmit media. In order to make full use of content-centric communication and simplify the deployment process, it is advisable to deploy CCN nodes directly via Ethernet.
[0005] 同时现有 IP网络仍在许多方面表现出强大的生命力, 并且现有很多服务都是经 由 IP协议提供, 如果大规模直接替换传统 IP网络, 在现阶段很难实行, 通常需要 渐进的部署, 以实现平滑过渡。 为了充分利用底层传输资源并且实现与现有传 统网络兼容, 实现平滑过渡, 主张未来网络发展与现有网络体系兼容。 内容中 心网络与传统网络的兼容显得意义重大, 对于未来网络的发展与演进具有重要 的意义。 [0005] At the same time, the existing IP network still shows strong vitality in many aspects, and many existing services are provided through the IP protocol. If the traditional IP network is directly replaced on a large scale, it is difficult to implement at this stage, and it usually requires gradual Deploy to achieve a smooth transition. In order to make full use of the underlying transmission resources and achieve compatibility with existing traditional networks and smooth transitions, it is advocated that future network development is compatible with existing network systems. The compatibility of the content center network with the traditional network is of great significance, and is of great significance for the future development and evolution of the network.
[0006] 目前学术界主要针对 ICN与现有 IP网络的融合问题提出了几套方案, 其中较为 著名的为 TCP/ICN方案。 这个方案提供了基本的思路, 但是仍面临很多的问题, 因此需要进一步改进。 TCP/ICN主要技术方案针对两个难点进行了特别设计, 第 一个难点是 ICN网络是一个以内容为中心的网络而 IP网络是一种端到端的网络, 第二个难点是 IP网络是一种主动“推送”数据的网络, 而 ICN网络是一种主动“拉取 ”数据的网络,本专利主要考虑在 CCN网络上实现该方法。 [0006] At present, the academic community has mainly proposed several sets of solutions for the integration of ICN and existing IP networks, of which the more well-known is the TCP/ICN solution. This solution provides basic ideas, but still faces many problems, so further improvement is needed. The main technical solution of TCP/ICN is specially designed for two difficulties. The first difficulty is that the ICN network is a content-centric network and the IP network is an end-to-end network. The second difficulty is that the IP network is a A network that actively "pushes" data, and the ICN network is a network that actively "pulls" data. This patent mainly considers implementing this method on a CCN network.
[0007] TCP/ICN技术方案在 IP网络和 ICN网络的交界处设计了一对转换节点—“发送 代理”和“接收代理”。 发送代理连接主动发送数据的 IP网络, 而接收连接目的 IP 网络。 协议的转换和包的解封装都在这对代理中完成。 [0007] The TCP/ICN technical solution has designed a pair of switching nodes-"sending agent" and "receiving agent" at the junction of the IP network and the ICN network. The sending agent connects to the IP network that actively sends data, and the receiver connects to the destination IP network. The conversion of the protocol and the decapsulation of the package are completed in this pair of agents.
[0008] 在 ICN网络中的数据传输采用“拉取”模式, 即每个数据包需要一个兴趣包来进 行请求, 因此如果发送端需要直接发送 TCP数据, 那么需要在发送代理处做特殊 的处理。 当发送代理收到需要发送的 TCP数据时, 发送代理先发送一个兴趣包通 知接收代理有数据包需要接收代理拉取, 与此同时, 发送代理把这个 TCP数据包 缓存起来。 随后当接收代理收到这个通知兴趣包后, 接收代理发送一个请求数 据的兴趣包给发送代理, 当发送代理接收到这个兴趣包后, 发送代理将自己缓 存的 TCP数据发送给接收代理。 接收代理收到数据包后进行解包, 然后将 TCP内 容通过 IP网络传输给接收端。 接收端在收到 TCP数据后, 随后发送 ACK响应, 这 样就完成了 TCP通过 ICN网络传输的过程。 [0008] The data transmission in the ICN network adopts a "pull" mode, that is, each data packet requires an interest packet to make a request, so if the sending end needs to directly send TCP data, special processing needs to be done at the sending agent . When the sending agent receives the TCP data that needs to be sent, the sending agent first sends an interest packet to notify the receiving agent that there is a data packet that the receiving agent needs to pull. At the same time, the sending agent caches the TCP data packet. Then, when the receiving agent receives the notification interest packet, the receiving agent sends an interest packet requesting data to the sending agent. When the sending agent receives the interest packet, the sending agent sends the TCP data buffered to the receiving agent. After receiving the data packet, the receiving agent unpacks it, and then The content is transmitted to the receiving end through the IP network. After receiving the TCP data, the receiving end then sends an ACK response, thus completing the process of TCP transmission through the ICN network.
[0009] 5见有的方案都是在 overlay的 ICN上进行部署, 本质上根本没有进行两种网络体 系结构的渐进部署工作, 深入分析了 TCP/IP三次握手与四次挥手过程与 CCN网 络获取内容过程, 为了更好利用底层资源来传输媒体, 简化 CCN的部署工作, 在以太网链路层上直接部署 CCN, 并考虑与 TCP/IP结合, 实现网络体系的渐进 部署与平滑过渡。 [0009] It is seen that some of the solutions are deployed on the overlay ICN. In essence, there is no gradual deployment of the two network architectures. In-depth analysis of the TCP/IP three-way handshake and four-way wave process and the CCN network acquisition The content process, in order to make better use of the underlying resources to transmit media, simplify the deployment of CCN, directly deploy CCN on the Ethernet link layer, and consider combining with TCP/IP to realize the progressive deployment and smooth transition of the network system.
[0010] 5见有的主要问题就是传输效率不高, 原本在 TCP网络中, 发送数据只需要发送 和确认的两个报文, 而到 CCN网络中, 需要多增加一个兴趣包来通知接收代理 拉取数据, 这无疑增加了系统开销, 降低了传输效率。 同时 CCN网络具有网内 缓存的特性没有被利用, 这也会降低整个传输的有效性。 [0010] The main problem is that the transmission efficiency is not high. Originally in the TCP network, sending data only needs to send and confirm two packets, and in the CCN network, an additional interest packet needs to be added to notify the receiving agent Pulling data, this undoubtedly increases system overhead and reduces transmission efficiency. At the same time, the CCN network has the characteristics of in-network caching, which is not used, which will reduce the effectiveness of the entire transmission.
[0011] 5见有技术还是基于 overlay的 CCN网络中进行 TCP/CCN设计, 没有充分利用 CC [0011] 5 See if there is technology or TCP/CCN design in overlay-based CCN network, CC is not fully utilized
N底层传输资源来进行媒体数据传输, 本质上还是在 IP网络进行数据包的传输, 目前的 CCN只是逻辑层面的 CCN, 没有更好利用底层传输资源。 N is the underlying transmission resource for media data transmission. In essence, it is still the IP network for data packet transmission. The current CCN is only a logical CCN, and the underlying transmission resources are not better used.
[0012] 5见有技术方案没有考虑基于以太网的 CCN网络与 TCP/IP网络的结合, 以前的 C [0012] See that there are technical solutions that do not consider the combination of Ethernet-based CCN networks and TCP/IP networks.
CN网络底层数据包的传输还是通过 IP网络来进行, 本质上还是在 IP网络上考虑 与传统 CCN网络进行结合, 没有充分考虑基于以太网的 CCN网络和传统 IP网络 结合实现网络的渐进部署与平滑过渡。 The transmission of the underlying data packets of the CN network is still carried out through the IP network. Essentially, the IP network is considered to be combined with the traditional CCN network, and the combination of the CCN network based on Ethernet and the traditional IP network is not fully considered to realize the progressive deployment and smoothness of the network. transition.
[0013] 以往传统的隧道方法都是针对基于 IP网络层为底层的内容网络, 而没有考虑直 接基于链路层的内容网络。 [0013] In the past, the traditional tunneling method is directed to the content network based on the IP network layer as the bottom layer, without considering the content network based directly on the link layer.
发明概述 Summary of the invention
技术问题 technical problem
问题的解决方案 Solution to the problem
技术解决方案 Technical solution
[0014] 本发明的目的在于提供一种以内容中心网络为隧道传输 IP数据分组的方法及系 统, 旨在解决上述的技术问题。 [0014] An object of the present invention is to provide a method and system for transmitting IP data packets using a content-centric network as a tunnel, and aims to solve the above-mentioned technical problems.
[0015] 本发明是这样实现的, 一种以内容中心网络为隧道传输 IP数据分组的方法, 所 述方法包括以下步骤: [0016] SI、 将 CCN网络划分为应用层、 内容层、 数据链路层及物理层并将 CCN网络中 内容名字映射为 MAC地址查询; [0015] The present invention is implemented in this way, a method for transmitting IP data packets using a content center network as a tunnel, the method includes the following steps: [0016] SI, dividing the CCN network into an application layer, a content layer, a data link layer and a physical layer and mapping content names in the CCN network to MAC address queries;
[0017] S2、 在分层后的 CCN网络中根据链路层传输技术在 FWD中构建 FIB表项、 PIT 表项及 CS缓存表项形成新型 CCN网络; [0017] S2, in the layered CCN network according to the link layer transmission technology to build FIB entries, PIT entries and CS cache entries in the FWD to form a new CCN network;
[0018] S3、 在 IP网与新型 CCN网络的边界处部署一对带有双栈功能的转接节点分别连 接到 TCP的发送端与接收端构建成 TCP/CCN网络; [0018] S3. Deploy a pair of transit nodes with dual stack functions at the boundary of the IP network and the new CCN network to connect to the sending end and receiving end of TCP respectively to construct a TCP/CCN network;
[0019] S4、 在 TCP/CCN网络中 IP数据通过多次兴趣包交换完成数据分组传输。 [0019] S4. In the TCP/CCN network, IP data completes data packet transmission through multiple interest packet exchanges.
[0020] 本发明的进一步技术方案是: 所述 FIB表项由路由协议生成, 所述 FIB表项在 运行期间不会发生改变, 所述 FIB表项为 Interest包处理模块提供查找服务。 [0020] A further technical solution of the present invention is: the FIB entry is generated by a routing protocol, the FIB entry does not change during operation, and the FIB entry provides a search service for the Interest packet processing module.
[0021] 本发明的进一步技术方案是: 所述 PIT表项记录的 Interest包的到达接口, CCN 节点在转发 Interest包之前, 要在 PIT表项中记录其到达的物理网口以及源 MAC 地址, 为响应的 Data包提供转发依据, PIT表项需支持查找、 插入和删除功能。 [0021] A further technical solution of the present invention is: the arrival interface of the Interest packet recorded in the PIT entry, before forwarding the Interest packet, the CCN node records the physical network port and source MAC address it arrives in the PIT entry, To provide the forwarding basis for the responded Data packets, the PIT table entry needs to support search, insert and delete functions.
[0022] 本发明的进一步技术方案是: 所述 CS缓存支持查找、 读取、 插入、 替换及删除 的操作, 在 Interest包或 Data包到来均要先在 CS缓存中进行匹配查找, 根据缓存 策略为已缓存的内容维护被访问的状态。 [0022] A further technical solution of the present invention is: The CS cache supports operations of searching, reading, inserting, replacing, and deleting. When an Interest package or a Data package arrives, a matching search is first performed in the CS cache, according to the cache strategy Maintain the accessed state for cached content.
[0023] 本发明的进一步技术方案是: 所述步骤 S4中的数据传输过程包括以下步骤: [0024] S411、 发送代理接收 TCP片段后将待传输的数据转化为 CCN数据包的形式并生 成一个兴趣包告知接收代理有待取数据; [0023] A further technical solution of the present invention is: The data transmission process in step S4 includes the following steps: [0024] S411, after receiving the TCP segment, the sending agent converts the data to be transmitted into the form of a CCN data packet and generates a The interest package informs the receiving agent that there is data to be fetched;
[0025] S412、 接收代理接收兴趣包后发送请求数据兴趣包到接收代理; [0025] S412: After receiving the interest packet, the receiving agent sends the request data interest packet to the receiving agent;
[0026] S413、 接收代理收到请求数据兴趣包对封装数据包进行解封将封装的 TCP片段 通过 IP网传送至 TCP接收端并发回 ACK响应。 [0026] S413: The receiving agent receives the request data interest packet, decapsulates the encapsulated data packet, transmits the encapsulated TCP segment to the TCP receiving end through the IP network, and sends back an ACK response.
[0027] 本发明的进一步技术方案是: 所述步骤 S4中 TCP/CCN网络建立连接包括以下步 骤: [0027] A further technical solution of the present invention is: The TCP/CCN network establishing connection in the step S4 includes the following steps:
[0028] S421、 发送代理接收发送端发送的 SYN; [0028] S421, the sending agent receives the SYN sent by the sending end;
[0029] S422、 接收代理将带有 SYN标识的兴趣包经 CCN网络发送给接收代理并接收; [0029] S422, the receiving agent sends the interest packet with the SYN logo to the receiving agent via the CCN network and receives it;
[0030] S423、 接收端接收取收接收代理发送 SYN并发 SYN+ACK给接收代理; [0030] S423: The receiving end receives the receiving and receiving agent to send SYN and sends SYN+ACK to the receiving agent;
[0031] S424、 接收代理将带有 SYN和 ACK标识的兴趣包经 CCN网络发给发送代理; [0031] S424, the receiving agent sends the interest packet with the SYN and ACK signs to the sending agent via the CCN network;
[0032] S425、 发送端接收发送代理发送的带有 SYN和 ACK并生成发送 ACK传输给发 送代理; [0032] S425: The sending end receives the SYN and ACK sent by the sending agent and generates a sending ACK transmission to the sending Send agent
[0033] S426、 发送代理将带有发送 ACK标识的兴趣包经 CCN网络发送给接收代理; [0033] S426: The sending agent sends the interest packet with the sending ACK identifier to the receiving agent via the CCN network;
[0034] S427、 接收代理将带有发送 ACK标识的兴趣包发送给接收端。 [0034] S427. The receiving agent sends the interest packet with the sending ACK identifier to the receiving end.
[0035] 本发明的进一步技术方案是: 所述步骤 S4中 TCP/CCN网络连接断开包括以下步 骤: [0035] A further technical solution of the present invention is: The disconnection of the TCP/CCN network connection in the step S4 includes the following steps:
[0036] S431、 发送代理接收发送端发送的 FIN, 并经 CCN网络转发带有发送端 FIN标 识的兴趣包给接收代理; [0036] S431. The sending agent receives the FIN sent by the sending end, and forwards the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
[0037] S432、 接收代理将带有发送端 FIN标识的兴趣包传输给接收端; [0037] S432. The receiving agent transmits the interest packet with the FIN identifier of the sending end to the receiving end;
[0038] S433、 接收代理收到接收端发送的 ACK, 并经 CCN网络转发带有接收端 ACK 标识的兴趣包给发送代理; [0038] S433, the receiving agent receives the ACK sent by the receiving end, and forwards the interest packet with the ACK identifier of the receiving end to the sending agent via the CCN network;
[0039] S434、 发送代理将带有接收端 ACK标识的兴趣包传输给发送端; [0039] S434. The sending agent transmits the interest packet with the ACK identifier of the receiving end to the sending end;
[0040] S435、 接收代理收到接收端发送的 FIN, 并将 CCN网络转发带有接收端 FIN标 识的兴趣包给发送代理; [0040] S435, the receiving agent receives the FIN sent by the receiving end, and forwards the interest packet with the FIN identification of the receiving end to the sending agent by the CCN network;
[0041] S436、 发送代理将带有接收端 FIN标识的兴趣包传输给发送端; [0041] S436: The sending agent transmits the interest packet with the FIN identification of the receiving end to the sending end;
[0042] S437、 发送代理收到发送端发送的 ACK, 并经 CCN网络转发带有发送端 ACK 标识的兴趣包给接收代理; [0042] S437. The sending agent receives the ACK sent by the sending end, and forwards the interest packet with the ACK identifier of the sending end to the receiving agent via the CCN network;
[0043] S438、 接收代理将带发送端 ACK标识的兴趣包传输给接收端。 [0043] S438. The receiving agent transmits the interest packet with the ACK identifier of the sending end to the receiving end.
[0044] 本发明的另一目的在于提供一种以内容中心网络为隧道传输 IP数据分组的系统 , 其特征在于, 所述系统包括 [0044] Another object of the present invention is to provide a content center network as a tunnel transmission IP data packet system, characterized in that the system includes
[0045] 划分模块, 用于将 CCN网络划分为应用层、 内容层、 数据链路层及物理层并将 CCN网络中内容名字映射为 MAC地址查询; [0045] A partitioning module for dividing the CCN network into an application layer, a content layer, a data link layer and a physical layer and mapping content names in the CCN network to MAC address queries;
[0046] 构建模块, 用于在分层后的 CCN网络中根据链路层传输技术在 FWD中构建 FIB 表项、 PIT表项及 CS缓存表项形成新型 CCN网络; [0046] a building module for constructing a FIB entry, a PIT entry and a CS cache entry in the FWD in the layered CCN network according to the link layer transmission technology to form a new CCN network;
[0047] 搭建网络模块, 用于在 IP网与新型 CCN网络的边界处部署一对带有双栈功能的 转接节点分别连接到 TCP的发送端与接收端构建成 TCP/CCN网络; [0047] Build a network module for deploying a pair of transit nodes with dual stack functions at the boundary between the IP network and the new CCN network to connect to the TCP sender and receiver respectively to build a TCP/CCN network;
[0048] 数据交换模块, 用于在 TCP/CCN网络中 IP数据通过多次兴趣包交换完成数据分 组传输。 [0048] A data exchange module, configured to complete data packet transmission of IP data through multiple interest packet exchanges in a TCP/CCN network.
[0049] 本发明的进一步技术方案是: 所述 FIB表项由路由协议生成, 所述 FIB表项在 运行期间不会发生改变, 所述 FIB表项为 Interest包处理模块提供查找服务。 [0049] A further technical solution of the present invention is: the FIB entry is generated by a routing protocol, and the FIB entry is at No change will occur during operation, and the FIB entry provides a search service for the Interest package processing module.
[0050] 本发明的进一步技术方案是: 所述 PIT表项记录的 Interest包的到达接口, CCN 节点在转发 Interest包之前, 要在 PIT表项中记录其到达的物理网口以及源 MAC 地址, 为响应的 Data包提供转发依据, PIT表项需支持查找、 插入和删除功能。 [0050] A further technical solution of the present invention is: the arrival interface of the Interest packet recorded by the PIT entry, before forwarding the Interest packet, the CCN node records the physical network port and source MAC address it arrives in the PIT entry, To provide the forwarding basis for the responded Data packets, the PIT table entry needs to support search, insert and delete functions.
[0051] 本发明的进一步技术方案是: 所述 CS缓存支持查找、 读取、 插入、 替换及删除 的操作, 在 Interest包或 Data包到来均要先在 CS缓存中进行匹配查找, 根据缓存 策略为已缓存的内容维护被访问的状态。 [0051] A further technical solution of the present invention is: The CS cache supports operations of searching, reading, inserting, replacing, and deleting. When the Interest package or the Data package arrives, a matching search is first performed in the CS cache, according to the cache strategy Maintain the accessed state for cached content.
[0052] 本发明的进一步技术方案是: 所述数据交换模块中的数据传输过程包括以下单 元 [0052] A further technical solution of the present invention is: The data transmission process in the data exchange module includes the following units
[0053] 发送兴趣包单元, 用于发送代理接收 TCP片段后将待传输的数据转化为 CCN数 据包的形式并生成一个兴趣包告知接收代理有待取数据; [0053] an interest packet sending unit, which is used for the sending agent to convert the data to be transmitted into the form of a CCN data packet after receiving the TCP segment and generate an interest packet to inform the receiving agent that there is data to be fetched;
[0054] 发送请求数据包单元, 用于接收端接收代理接收兴趣包后并发送请求数据兴趣 包到接收代理; [0054] Sending a request data packet unit, for the receiving end to receive the interest packet received by the agent and send the request data interest packet to the receiving agent;
[0055] 解封传输单元, 用于接收代理收到请求数据兴趣包对封装数据包进行解封将封 装的 TCP片段通过 IP网传送至 TCP接收端并发回 ACK响应。 [0055] The decapsulation transmission unit is used to receive the request data interest packet to decapsulate the encapsulated data packet, transmit the encapsulated TCP segment to the TCP receiving end through the IP network and send back an ACK response.
[0056] 本发明的进一步技术方案是: 所述数据交换模块中 TCP/CCN网络建立连接包括 以下单元 [0056] A further technical solution of the present invention is: the TCP/CCN network establishment connection in the data exchange module includes the following units
[0057] 第一 SYN单元, 用于发送代理接收发送端发送的 SYN; [0057] The first SYN unit for the sending agent to receive the SYN sent by the sending end;
[0058] 第一 SYN标示兴趣包发送单元, 用于接收代理将带有 SYN标识的兴趣包经 CCN 网络发送给接收代理并接收; [0058] The first SYN marked interest packet sending unit is used by the receiving agent to send the interest packet with the SYN logo to the receiving agent via the CCN network and receive it;
[0059] 发送 SYN和 ACK单元, 用于接收端接收取收接收代理发送 SYN并发 SYN+ACK 给接收代理; [0059] Send SYN and ACK unit, for the receiving end to receive the receiving agent to send SYN and send SYN+ACK to the receiving agent;
[0060] 传输 SYN和 ACK标识兴趣包单元, 用于接收代理将带有 SYN和 ACK标识的兴趣 包经 CCN网络发给发送代理; [0060] transmitting a SYN and ACK identification interest packet unit, used by the receiving agent to send the SYN and ACK identification interest packet to the sending agent via the CCN network;
[0061] 传输带发送 ACK单元, 用于发送端接收发送代理发送的带有 SYN和 ACK并生成 发送 ACK传输给发送代理; [0061] The transmission band sending ACK unit is used for the sending end to receive the SYN and ACK sent by the sending agent and generate a sending ACK transmission to the sending agent;
[0062] 传输带发送 ACK标识兴趣包单元, 用于发送代理将带有发送 ACK标识的兴趣包 经 CCN网络发送给接收代理; [0063] 接收带发送 ACK标识兴趣包单元接收代理将带有发送 ACK标识的兴趣包发送给 接收端。 [0062] The transmission belt sends an ACK identification interest packet unit for the sending agent to send the interest packet with the sending ACK identification to the receiving agent via the CCN network; [0063] The receiving agent with an interest packet with a sent ACK identifier unit receives an interest packet with a sent ACK identifier to the receiving end.
[0064] 本发明的进一步技术方案是: 所述数据交换模块中 TCP/CCN网络连接断开包括 以下单元 [0064] A further technical solution of the present invention is: The disconnection of the TCP/CCN network connection in the data exchange module includes the following units
[0065] 第一接收转发单元, 用于发送代理接收发送端发送的 FIN, 并经 CCN网络转发 带有发送端 FIN标识的兴趣包给接收代理; [0065] The first receiving and forwarding unit is used for the sending agent to receive the FIN sent by the sending end, and forwards the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
[0066] 第一传输单元, 用于接收代理将带有发送端 FIN标识的兴趣包传输给接收端; [0067] 第二接收转发单元, 用于接收代理收到接收端发送的 ACK, 并经 CCN网络转发 带有接收端 ACK标识的兴趣包给发送代理; [0066] The first transmission unit is used for the receiving agent to transmit the interest packet with the FIN identification of the sending end to the receiving end; [0067] The second receiving and forwarding unit is used for the receiving agent to receive the ACK sent by the receiving end, and The CCN network forwards the interest packet with the ACK identification of the receiving end to the sending agent;
[0068] 第二传输单元, 用于发送代理将带有接收端 ACK标识的兴趣包传输给发送端; [0069] 第三接收转发单元, 用于接收代理收到接收端发送的 FIN, 并将 CCN网络转发 带有接收端 FIN标识的兴趣包给发送代理; [0068] The second transmission unit is used for the sending agent to transmit the interest packet with the ACK identifier of the receiving end to the sending end; [0069] The third receiving and forwarding unit is used for the receiving agent to receive the FIN sent by the receiving end, and The CCN network forwards the interest packet with the FIN identification of the receiving end to the sending agent;
[0070] 第三传输单元, 用于发送代理将带有接收端 FIN标识的兴趣包传输给发送端; [0071] 第四接收转发单元, 用于发送代理收到发送端发送的 ACK, 并经 CCN网络转发 带有发送端 ACK标识的兴趣包给接收代理; [0070] The third transmission unit is used for the sending agent to transmit the interest packet with the FIN identifier of the receiving end to the sending end; [0071] The fourth receiving and forwarding unit is used for the sending agent to receive the ACK sent by the sending end, and The CCN network forwards the interest packet with the ACK identifier of the sending end to the receiving agent;
[0072] 第四传输单元, 用于接收代理将带发送端 ACK标识的兴趣包传输给接收端。 [0072] The fourth transmission unit is used for the receiving agent to transmit the interest packet with the ACK identifier of the sending end to the receiving end.
发明的有益效果 Beneficial effects of invention
有益效果 Beneficial effect
[0073] 本发明的有益效果是: 该方法有效提高了传输的效率, 充分利用了 CCN网络网 内缓存特性, 提高了传输的有效性, 充分利用了底层传输资源, 使得 CCN网络 和传统 IP网络结合实现网络的渐进部署与平滑过渡。 [0073] The beneficial effects of the present invention are: This method effectively improves the efficiency of transmission, makes full use of the cache characteristics of the CCN network, improves the effectiveness of transmission, makes full use of the underlying transmission resources, making the CCN network and the traditional IP network Combined to realize the gradual deployment and smooth transition of the network.
对附图的简要说明 Brief description of the drawings
附图说明 BRIEF DESCRIPTION
[0074] 图 1是本发明实施例提供的 CCN节点框架示意图。 [0074] FIG. 1 is a schematic diagram of a CCN node framework provided by an embodiment of the present invention.
[0075] 图 2是本发明实施例提供的结合 MAC地址的 CCN节点设计示意图。 [0075] FIG. 2 is a schematic design diagram of a CCN node combined with a MAC address provided by an embodiment of the present invention.
[0076] 图 3是本发明实施例提供的结合 MAC地址的 CCN节点中帧格式设计示意图。 [0076] FIG. 3 is a schematic diagram of a frame format design in a CCN node combined with a MAC address provided by an embodiment of the present invention.
[0077] 图 4是本发明实施例提供的结合 MAC地址的 CCN节点中 Face设计示意图。 [0077] FIG. 4 is a schematic diagram of Face design in a CCN node combined with a MAC address provided by an embodiment of the present invention.
[0078] 图 5是本发明实施例提供的结合 MAC地址的 CCN节点设计的示意图。 [0079] 图 6是本发明实施例提供的 TCP/CCN转换示意图。 [0078] FIG. 5 is a schematic diagram of a CCN node design combined with a MAC address provided by an embodiment of the present invention. 6 is a schematic diagram of TCP/CCN conversion provided by an embodiment of the present invention.
[0080] 图 7是本发明实施例提供的 IP overlay CCN示意图。 7 is a schematic diagram of an IP overlay CCN provided by an embodiment of the present invention.
[0081] 图 8是本发明实施例提供的 TCP建立连接示意图。 [0081] FIG. 8 is a schematic diagram of TCP connection establishment provided by an embodiment of the present invention.
[0082] 图 9是本发明实施例提供的 TCP连接断开示意图。 [0082] FIG. 9 is a schematic diagram of TCP connection disconnection provided by an embodiment of the present invention.
发明实施例 Invention Example
本发明的实施方式 Embodiments of the invention
[0083] ICN: Information Centric Network, 信息中心网络。 [0083] ICN: Information Centric Network, information center network.
[0084] CCN: Content Centric Network, 内容中心网络。 [0084] CCN: Content Centric Network, content center network.
[0085] NDN: Named Data Networking , 命名数据网络。 [0085] NDN: Named Data Networking, named data network.
[0086] TCP: Transmission Control Protocol, 传输控制协议。 [0086] TCP: Transmission Control Protocol, transmission control protocol.
[0087] IP : Internet Protocol , 互联网协议。 [0087] IP: Internet Protocol, Internet Protocol.
[0088] ACK: Acknowledgement , 即是确认字符, 在数据通信中, 接收站发给发送站 的一种传输类控制字符。 [0088] ACK: Acknowledgement, that is, an acknowledgment character, a type of transmission control character sent by a receiving station to a sending station in data communication.
[0089] MAC: Media Access Control Address, 媒体访问控制地址, [0089] MAC: Media Access Control Address, media access control address,
[0090] FIB: Forwarding Information Base, 转发信息库, 指 NDN网络中用于查询转发 的前向转发表。 [0090] FIB: Forwarding Information Base, forwarding information base, which refers to a forwarding table used for query forwarding in the NDN network.
[0091] PIT: Pending Interest Table, 待定兴趣表, 指 NDN网络中路由器维护记录的用 于等待兴趣包答复的数据结构。 [0091] PIT: Pending Interest Table, a pending interest table, which refers to a data structure maintained by a router in the NDN network and used to wait for a reply of an interest packet.
[0092] CS: Content Store, 内容存储库, 指 NDN网络中用于缓存数据的数据结构 [0093] Interest包: 兴趣包 (Interest Message) , 由订阅者发出, 通过 Name来请求数据 [0092] CS: Content Store, content storage library, refers to the data structure used to cache data in the NDN network [0093] Interest package: Interest package (Interest Message), issued by the subscriber, request data by Name
, 能清晰地确定请求的内容包。 兴趣包是 NDN网络 (Named Data , Can clearly determine the requested content package. Interest package is NDN Network (Named Data
Networking) CCNX协议中的一种 Message类型。 Networking) A message type in the CCNX protocol.
[0094] Data包: Content Object(内容包), 由发布者发布作为对兴趣包的响应, 包括数 据负载、 发布者信息及用于验证的签名信息等。 内容包是 NDN网络 (Named Data Networking) 协议中的一种 Message类型。 [0094] Data package: Content Object (content package), published by the publisher as a response to the interest package, including data load, publisher information, and signature information used for verification, etc. The content package is a Message type in the NDN Network (Named Data Networking) protocol.
[0095] FWD forward daemon转发守护进程 [0095] FWD forward daemon
[0096] 本发明提出一种面向内容中心网络体系为隧道传输 IP网络体系数据分组的方法 和系统, 提出了一种使得 IP数据包能够通过直接基于链路层的内容网络体系隧道 方法。 以往传统的隧道方法都是针对基于 IP网络层为底层的内容网络, 而没有考 虑直接基于链路层的内容网络, 而本发明的提出就是为了解决这个问题, 通过 在基于以太层为底层的内容网络建立隧道为 IP数据提供传输服务。 [0096] The present invention provides a method and system for tunneling an IP network system data packet for a content-centric network system, and proposes a method for enabling IP data packets to pass through a content network system tunnel based directly on a link layer Method. In the past, the traditional tunneling method was aimed at the content network based on the IP network layer as the bottom layer, and did not consider the content network based directly on the link layer. The present invention is proposed to solve this problem by adopting the content based on the Ethernet layer as the bottom layer. The network establishes a tunnel to provide transmission services for IP data.
[0097] 本发明提出了一种新型的网络协议栈。 拟通过以太网, 直接在链路层上部署和 执行 CCN网络, 从而省略额外的对现有协议的修改步骤, 充分利用底层传输资 源。 [0097] The present invention proposes a new type of network protocol stack. It is planned to deploy and execute the CCN network directly on the link layer via Ethernet, thereby omitting the additional steps of modifying existing protocols and making full use of the underlying transmission resources.
[0098] 之后本发明提出一种面向内容中心网络体系为隧道传输 IP网络体系数据分组的 方法和系统的隧道传输技术方案, 使得 IP网络的数据包能够通过基于以太网层的 内容中心网络传输。 [0098] Afterwards, the present invention proposes a method and system tunneling technical solution for tunneling IP network system data packets in a content-centric network system, so that data packets of the IP network can be transmitted through the content-center network based on the Ethernet layer.
[0099] 在以太网上直接部署 CCN [0099] Direct deployment of CCN on Ethernet
[0100] 5见有很多 CCN的具体部署都是使用 IP网络做隧道传输通道, 这样不仅违背了 C [0100] See that there are many specific deployments of CCN that use IP networks as tunnel transmission channels, which not only violates C
CN设计的取代 IP的初衷, 而且不可避免地带来效率低下问题。 因此我们提出在 以太网上直接部署 CCN网络的方法。 The original intention of CN to replace IP, and it inevitably brings inefficiency problems. Therefore, we propose a method of directly deploying the CCN network on the Ethernet.
[0101] CCN节点可以通过在数据链路层中 MAC地址上单播或者广播方式发送兴趣包 和数据包, 为了清晰起见, 我们将重点放在 CCN节点的接口 face上, 我们设计 C CN节点通过 face接口与 MAC地址(以太网链路层)连接来共享媒体数据。 因此我 们将整个 CCN网络划分成为了应用层, 内容层, 数据链路层, 从而取消的传统 网络使用 IP作为传输地址。 如图 1、 2所示。 [0101] The CCN node can send interest packets and data packets by unicast or broadcast on the MAC address in the data link layer. For clarity, we will focus on the interface face of the CCN node. We design the CCN node to pass The face interface is connected to the MAC address (Ethernet link layer) to share media data. Therefore, we divided the entire CCN network into an application layer, a content layer, and a data link layer, so that the traditional network that was canceled uses IP as the transmission address. As shown in Figure 1 and 2.
[0102] 总体架构及功能描述 [0102] Overall Architecture and Functional Description
[0103] 以太网帧中的源、 目的 MAC地址是通信双方物理设备的标识。 现在的以太网 大多采用星型结构, 一个物理网口可以连接到多台设备。 所以, 无论是在交换 式以太网中还是共享式以太网中, 通信双方都需要通过 MAC地址找到与自己连 接的对端设备。 CCN层不仅要向以太网层提交 CCN数据包, 还要提供下一跳节 点的标识。 而在 CCN的底层实现中, 这组出口可以是物理网口和 MAC地址的组 合。 由物理网口和 MAC [0103] The source and destination MAC addresses in the Ethernet frame are the identifications of the physical devices on both sides of the communication. Most current Ethernets use a star structure, and a physical network port can be connected to multiple devices. Therefore, both in switched Ethernet and shared Ethernet, both communication parties need to find the peer device connected to themselves through the MAC address. The CCN layer not only submits CCN data packets to the Ethernet layer, but also provides the identification of the next hop node. In the underlying implementation of CCN, this set of exits can be a combination of physical network port and MAC address. By physical network port and MAC
地址的组合可以唯一地确定一台邻接设备。 所以在转发 Interest包时, CCN节点 可以依据 FIB中对应的物理网口和 MAC地址表项, 将 Interest包封装成以太网帧 发送出去。 FIB表应由路由协议生成, 由路由协议完成邻接节点的探测。 实验阶 段也可以像 CCNx—样事先手动配置。 同理, Data包的转发依据 PIT 表所记录的 Interest包的到达接口, CCN节点在转发 Interest包之前, 要在 PIT表 中记录其到达的物理网口以及源 MAC地址, 为响应的 Data包提供转发依据。 The combination of addresses can uniquely determine an adjacent device. Therefore, when forwarding the Interest packet, the CCN node can encapsulate the Interest packet into an Ethernet frame and send it according to the corresponding physical network port and MAC address entry in the FIB. The FIB table should be generated by the routing protocol, and the routing protocol completes the detection of adjacent nodes. Experimental stage Segments can also be manually configured in advance like CCNx. Similarly, the forwarding of the Data packet is based on the arrival interface of the Interest packet recorded in the PIT table. Before forwarding the Interest packet, the CCN node should record the physical network port and source MAC address it arrives in the PIT table to provide the responding Data packet Basis for forwarding.
[0104] Interest包处理模块和 Data包处理模块按照 CCN工作机制, 调用 FIB [0104] Interest packet processing module and Data packet processing module call FIB according to CCN working mechanism
管理模块、 PIT管理模块和 CS管理模块提供的接口, 对于 Interest包队列和 Data 包队列中的待处理 CCN数据包进行转发处理。 The interfaces provided by the management module, PIT management module and CS management module forward the CCN data packets to be processed in the Interest packet queue and the Data packet queue.
[0105] 网卡收到以太网帧后, 会根据帧首部的类型字段判断荷载中的协议类型, 并转 交给相应的协议栈进行处理。 以太网标准中没有为 CCN分配类型值, 在实验阶 段只能临时使用未被分配的类型值作为 CCN的类型值。 取 Interest [0105] After receiving the Ethernet frame, the network card will determine the protocol type in the load according to the type field in the frame header, and transfer it to the corresponding protocol stack for processing. The Ethernet standard does not assign a type value to CCN. In the experimental stage, you can only temporarily use the unassigned type value as the CCN type value. Get Interest
包的类型值为 0x0601, Data包的类型值为 0x0602。 如图 3所示。 The packet type value is 0x0601, and the Data packet type value is 0x0602. As shown in Figure 3.
[0106] FIB管理模块维护 CCN节点的 FIB表项。 由于路由表是通过配置文件手动配置 的, 在路由软件启动阶段读入路由表后, FIB表项在运行期间不会发生改变。 因 此, FIB管理模块主要为 Interest包处理模块提供查找服务。 如图 4所示。 [0106] The FIB management module maintains FIB entries of the CCN node. Since the routing table is manually configured through the configuration file, after the routing table is read in during the startup phase of the routing software, FIB entries will not change during operation. Therefore, the FIB management module mainly provides a search service for the Interest packet processing module. As shown in Figure 4.
[0107] PIT管理模块维护 CCN节点的 PIT表项。 PIT是 CCN节点特有的结构, 是其工作 机制正常运转的核心部件。 当有 Interest包到达时, 要在 PIT表中查询是否转发 过相同请求, 若 Interest包成功转发则要在 PIT表中记录请求的内容名及到达接 口。 当有 Data包到达时, 要查询 PIT表中匹配的内容名, 并在转发后将该表项删 除。 因此, PIT表需支持查找、 插入和删除功能。 如图 5所示。 [0107] The PIT management module maintains PIT entries of the CCN node. PIT is a unique structure of the CCN node, and is the core component of its normal working mechanism. When an Interest packet arrives, it is necessary to query the PIT table whether the same request has been forwarded. If the Interest packet is successfully forwarded, the content name of the request and the arrival interface must be recorded in the PIT table. When a Data packet arrives, it is necessary to query the matching content name in the PIT table, and delete the entry after forwarding. Therefore, the PIT table needs to support search, insert and delete functions. As shown in Figure 5.
[0108] CS管理模块维护 CCN节点的缓存功能。 CS缓存的内容是已经转发 Data包, 无 论是 Interest包还是 Data包到来, 都要先在 CS中进行匹配查找。 当缓存即将溢出 时, 则需要根据缓存策略删除已存储的内容, 以存储新的内容。 因此, CS需要 支持查找、 读取、 插入、 替换和删除等操作。 另外, 根据缓存策略的需要, 还 要为已缓存的内容维护被访问的一些状态, 例如内容被访问的频率、 上次被访 问的时间、 上次被修改的时间等。 [0108] The CS management module maintains the cache function of the CCN node. The content of the CS cache is that the Data packet has been forwarded. Whether it is the Interest packet or the Data packet, the match search must be performed in the CS first. When the cache is about to overflow, you need to delete the stored content according to the cache strategy to store new content. Therefore, CS needs to support operations such as find, read, insert, replace, and delete. In addition, according to the requirements of the caching strategy, some status of the accessed content must be maintained for the cached content, such as the frequency of the content being accessed, the time of the last access, and the time of the last modification.
[0109] TCP/CCN隧道设计方案 [0109] TCP/CCN tunnel design scheme
[0110] CCN作为未来网络的架构被提出, 旨在解决基于主机的 TCP/IP面临的诸多问题 [0110] CCN was proposed as the architecture of the future network, aiming to solve many problems faced by host-based TCP/IP
。 随着 CCN领域研究的不断深入, 目前面对的一个关键问题是 ICN网与现有 IP网 的融合问题, 这对于未来网络的发展与演进具有重要的意义。 针对这一问题, 提出了基于 CCN为基础方案, 主要包括了 TCP/CCN 主要以此为基础对 TCP/CC N的两网融合问题进行了展望, 如何做到对现有协议或应用尽可能小的改动, 如 何充分利用 CCN固有特性如网内缓存、 多播等优势, 是本节主要关注的问题。 . With the continuous deepening of research in the field of CCN, a key issue currently facing is the integration of the ICN network and the existing IP network, which is of great significance for the future development and evolution of the network. To solve this problem, Proposed a CCN-based solution, mainly including TCP/CCN, based on which the prospect of TCP/CC N two-network integration is prospected, how to make the smallest possible changes to existing protocols or applications, and how to fully Taking advantage of the inherent characteristics of CCN, such as intra-network caching and multicast, is the main concern of this section.
[0111] 设计要点 [0111] Design Essentials
[0112] 在设计方案时, 需要保证现有的终端及基于 TCP/IP协议栈的应用本身无需任何 改变, 且尽量不改变或少改变现有的 CCN设计原则。 为了保证协议转换后的性 育 B, 增强可用性, 下面的各项关键指标在设计中不可忽略。 [0112] When designing the solution, it is necessary to ensure that the existing terminal and the application based on the TCP/IP protocol stack do not need to be changed, and try not to change or change the existing CCN design principles as little as possible. In order to ensure the sex B after protocol conversion and enhance usability, the following key indicators cannot be ignored in the design.
[0113] 1) Interest包名字的长度。 过长的兴趣包名会加大路由器解析匹配时的开销, 降 低网络性能; 但名字过短则无法携带足够的信息。 [0113] 1) The length of the Interest package name. An interest packet name that is too long increases the router's overhead in parsing and matching, and reduces network performance; however, if the name is too short, it cannot carry enough information.
[0114] 2) Data包名字的长度。 要将数据包的名字内容比控制在合适的范围, 名字过长 的数据包势必会导致携带内容减少, 需发送更多的数据包, 降低网络效率。 [0114] 2) The length of the Data package name. To control the name and content of data packets to an appropriate range, a data packet with an excessively long name will inevitably lead to a reduction in the content carried, and more data packets need to be sent to reduce network efficiency.
[0115] 3)往返次数。 一次数据交换的往返次数应越少越好。 [0115] 3) The number of round trips. The number of round trips for a data exchange should be as small as possible.
[0116] 4)数据分片与可靠性传输。 当传输数据块超过 MTU的限制时, 需要采取分片 操作, 这就需要使得同一数据块的分片在命名上有联系(如增加序号)。 [0116] 4) Data fragmentation and reliable transmission. When the transmission data block exceeds the MTU limit, the fragmentation operation needs to be taken. This requires that the fragments of the same data block have a naming relationship (such as increasing the sequence number).
[0117] 5)网内缓存是 CCN的显著特点之一, 充分利用缓存有利于改善网络性能。 [0117] 5) In-network caching is one of the significant features of CCN, and making full use of caching is conducive to improving network performance.
[0118] TCP/CCN的转换思路 [0118] TCP/CCN conversion ideas
[0119] CCN与 IP网结合另一个转换思路则是从 TCP入手。 TCP是现有 IP网中运输层使 用最为广泛的协议, 大量的应用层协议都以它为基础, 因此 TCP与 CCN之间的协 议转换具有更为广泛的实用意义。 [0119] Another conversion idea of combining CCN with an IP network is to start with TCP. TCP is the most widely used protocol in the transport layer of existing IP networks. A large number of application layer protocols are based on it. Therefore, the protocol conversion between TCP and CCN has a wider practical significance.
[0120] 在 TCP与 CCN转换过程中, 面对的难点主要来自两方面: 第一, TCP是一个端 到端的协议, 通过 IP地址与端口号进行一对一的通信, 这就和 CCN基于内容的基 本理念产生了矛盾; 第二, 在 CCN中, 通信是由用户发起, 即用户发出兴趣包 , 服务器以数据包作为响应, 这在用户看来, 就是一个将所需数据“拉取”过来的 过程; 而在 TCP中, 只是简单的发送端发送数据, 接收端回复确认报文而已, 或 者说, 这是一个“推送”的过程, 二者在语义上就有本质的区别。 [0120] In the conversion process between TCP and CCN, the difficulties faced mainly come from two aspects: First, TCP is an end-to-end protocol, through the IP address and port number for one-to-one communication, which is based on content with CCN There is a contradiction in the basic concept of the second. In CCN, the communication is initiated by the user, that is, the user sends an interest packet, and the server responds with the data packet. This, in the eyes of the user, is a "pull" of the required data. In TCP, only the sender sends data, and the receiver replies with a confirmation message. In other words, this is a "push" process, and the two are essentially semantically different.
[0121] 除此之外, TCP协议除了基本的连接通信功能外, 还具备了拥塞控制、 流量控 制等机制, 作为可靠的运输层协议, 通过重传机制, TCP能够确保端到端之间可 靠的传输, 而这些功能都是 CCN中所没有涉及的, 如何尽可能地在转换中保留 这些机制, 在设计中不可忽略。 如图 6所示。 [0121] In addition to the basic connection communication function, the TCP protocol also has mechanisms such as congestion control and flow control. As a reliable transport layer protocol, through the retransmission mechanism, TCP can ensure end-to-end reliability Transmission, and these functions are not involved in CCN, how to retain as much as possible in the conversion These mechanisms cannot be ignored in the design. As shown in Figure 6.
[0122] TCP/CCN的设计方案 [0122] Design Scheme of TCP/CCN
[0123] 设计的目的是使得两个 TCP端通过中间的 CCN网络进行通信, 在 IP网与 CCN网 的边界处就需要设置一对转换节点, 这对节点即“发送代理”和“接收代理”, 分别 连接到 TCP的发送端与接收端。 协议的转换与包的封装都在代理中进行, 每个代 理都有一个名字作为 CCN网中的路由前缀, 这样 CCN中的包才能顺利地传到指 定的代理进行下一步的处理, 代理的名字和其 IP地址之间存在着映射关系。 [0123] The purpose of the design is to enable the two TCP terminals to communicate through the middle CCN network, and a pair of conversion nodes need to be set at the boundary between the IP network and the CCN network. , Connect to the sending end and receiving end of TCP respectively. Protocol conversion and package encapsulation are carried out in the agent, each agent has a name as a routing prefix in the CCN network, so that the package in the CCN can be successfully passed to the designated agent for the next processing, the name of the agent There is a mapping relationship with its IP address.
[0124] 1) 传输过程 [0124] 1) Transmission process
[0125] 由于 CCN网络中数据的传输采用“pull”模式, 每一个数据包的传送都用来对应 一个兴趣包请求, 因此需要接收代理来发送兴趣包请求数据, 发送代理才能发 出相应的数据包, 为了让接受代理知道有内容需要传送, 就有必要由发送代理 发送一个额外的兴趣包来告知接收代理。 具体的, 当 TCP片段到达发送代理时, 需要把待传输的数据转化为 CCN数据包的形式, 同时生成一个兴趣包来告知接 受代理有待取数据, 此兴趣包利用 TCP/IP头部来构建, 兴趣包的命名类似于下 面的形式: /revproxy-prefix/TCP-IP-headers/nonce。 其中, 第一项是接收代理的 路由前缀, 用来路由到接收代理, 第二项是 TCP/IP头部, 用来给接收代理提供 必要的信息来构建拉取数据的兴趣包, 最后的随机数用来保证唯一性, 防止 AC K报文由于名字一样而被 CCN节点合并。 [0125] Since the data transmission in the CCN network adopts the “pull” mode, each data packet is transmitted to correspond to an interest packet request. Therefore, the receiving agent is required to send the interest packet request data before the sending agent can send out the corresponding data packet. In order to let the receiving agent know that there is content to be transferred, it is necessary for the sending agent to send an additional interest packet to inform the receiving agent. Specifically, when the TCP fragment arrives at the sending agent, it needs to convert the data to be transmitted into the form of a CCN data packet, and at the same time generate an interest packet to inform the receiving agent that there is data to be fetched, this interest packet is constructed using the TCP/IP header, The name of the interest package is similar to the following form: /revproxy-prefix/TCP-IP-headers/nonce. Among them, the first item is the routing prefix of the receiving agent, which is used to route to the receiving agent, the second item is the TCP/IP header, which is used to provide the necessary information to the receiving agent to construct the interest packet for pulling data, and the final random The number is used to ensure uniqueness and prevent AC K messages from being merged by CCN nodes due to the same name.
[0126] 与此同时将刚刚构建的数据包放入发送代理缓存等待收方来取, 数据包的命名 遵循如下规则: /forwardproxy-prefix/TCP-tuple/TCP sequence number/number, 其 中第一项是发送代理的名字, 用来路由, 第二项包括了发端与收端的套接字, 后面跟着此 TCP片段的序列号, 最后的数字是为了防止 TCP序列号用完循环导致 的命名冲突。 [0126] At the same time, the newly constructed data packet is placed in the sending proxy buffer and waiting for the recipient to fetch. The naming of the data packet follows the following rules: /forwardproxy-prefix/TCP-tuple/TCP sequence number/number, where the first item It is the name of the sending agent, which is used for routing. The second item includes the sender and receiver sockets, followed by the sequence number of this TCP segment. The last digit is to prevent the naming conflict caused by the TCP sequence number running out of cycles.
[0127] 当此兴趣包到达接收代理时, 代理即知道在发送端有待取数据, 立即发送兴趣 包去请求数据, 由 CCN中的匹配原则可知, 这里兴趣包的名字和前面的数据包 是一致的, 待数据包到达接收代理后, 即执行解封装操作, 将封装在数据包中 的 TCP片段通过 IP网传送至 TCP接收端, 最后发回 ACK响应, 这样就实现了 TCP 流通过 CCN进行传送的过程。 如图 7所示。 [0128] 2) TCP连接建立 [0127] When the interest packet arrives at the receiving agent, the agent knows that there is data to be fetched at the sending end, and immediately sends the interest packet to request the data. According to the matching principle in CCN, the name of the interest packet here is the same as the previous data packet After the data packet arrives at the receiving agent, it performs the decapsulation operation, transmits the TCP fragment encapsulated in the data packet to the TCP receiving end through the IP network, and finally sends back an ACK response, which realizes the transmission of the TCP stream through the CCN the process of. As shown in Figure 7. [0128] 2) TCP connection establishment
[0129] 建立连接: TCP三向握手映射到等效的三次兴趣交换, 两个代理都经过一系列 初始化。 在 TCP设置阶段只使用 Interests是有益的, 因为为了传递实际的 TCP数 据, 可以保存相应的 Data消息。 如图 8所示。 [0129] Connection establishment: The TCP three-way handshake is mapped to the equivalent of three interest exchanges, and both agents undergo a series of initializations. It is beneficial to use only Interests during the TCP setup phase, because in order to transfer actual TCP data, corresponding Data messages can be saved. As shown in Figure 8.
[0130] 3) TCP连接断开 [0130] 3) TCP connection is disconnected
[0131] 拆除连接: 类似地, TCP四次挥手过程等效于 TCP/CCN中四次兴趣包交换, 两 个代理都经历一系列终止状态。 值得注意的是, 对于 TCP连接建立 /拆卸, 兴趣 包交换是相同的。 [0131] Disconnection: Similarly, the TCP four wave process is equivalent to four interest packet exchanges in TCP/CCN, and both agents experience a series of termination states. It is worth noting that for TCP connection establishment/disassembly, the interest packet exchange is the same.
[0132] 本发明的另一目的在于提供一种以内容中心网络为隧道传输 IP数据分组的方法 和系统, 其特征在于, 所述系统包括 [0132] Another object of the present invention is to provide a method and system for transmitting IP data packets using a content center network as a tunnel, characterized in that the system includes
[0133] 划分模块, 用于将 CCN网络划分为应用层、 内容层、 数据链路层及物理层并将 CCN网络中内容名字映射为 MAC地址查询; [0133] A dividing module for dividing the CCN network into an application layer, a content layer, a data link layer and a physical layer and mapping content names in the CCN network to MAC address queries;
[0134] 构建模块, 用于在分层后的 CCN网络中根据链路层传输技术构建 FIB表项、 PIT 表项、 CS缓存及 FWD表项形成新型 CCN网络; [0134] a building module for constructing a new CCN network according to the link layer transmission technology in the layered CCN network to construct FIB entries, PIT entries, CS caches, and FWD entries;
[0135] 搭建网络模块, 用于在 IP网与新型 CCN网的边界处部署一对带有双栈功能的转 接节点分别连接到 TCP的发送端与接收端构建成 TCP/CCN网络; [0135] Build a network module for deploying a pair of relay nodes with dual stack functions at the boundary of the IP network and the new CCN network to connect to the TCP sender and receiver respectively to build a TCP/CCN network;
[0136] 数据交换模块, 用于在 TCP/CCN网络中 IP数据通过多次兴趣包交换完成数据分 组传输。 [0136] A data exchange module, configured to complete data packet transmission through multiple interest packet exchanges on IP data in a TCP/CCN network.
[0137] 所述 FIB表项有路由协议生成, 所述 FIB [0137] The FIB entry is generated by a routing protocol, the FIB
表项在运行期间不会发生改变, 所述 FIB表项为 Interest包处理模块提供查找服务 The entry does not change during operation, the FIB entry provides a search service for the Interest packet processing module
[0138] 所述 PIT表项记录的 Interest包的到达接口, CCN节点在转发 Interest包之前, 要 在 PIT表项中记录其到达的物理网口以及源 MAC地址, 为响应的 Data包提供转发 依据, PIT表项需支持查找、 插入和删除功能。 [0138] The arrival interface of the Interest packet recorded in the PIT entry, before forwarding the Interest packet, the CCN node should record the physical network port and source MAC address it arrives in the PIT entry to provide a forwarding basis for the responding Data packet , PIT table items need to support search, insert and delete functions.
[0139] 所述 CS缓存支持查找、 读取、 插入、 替换及删除的操作, 在 Interest包或 Data包 到来均要先在 CS缓存中进行匹配查找, 根据缓存策略为已缓存的内容维护被访 问的状态。 [0139] The CS cache supports operations of searching, reading, inserting, replacing, and deleting. When the Interest package or the Data package arrives, the CS cache is first searched for matching, and the accessed content is maintained according to the cache strategy. status.
[0140] 所述数据交换模块中的数据传输过程包括以下单元 [0141] 发送兴趣包单元, 用于发送代理接收 TCP片段后将待传输的数据转化为 CCN数 据包的形式并生成一个兴趣包告知接收代理有待取数据; [0140] The data transmission process in the data exchange module includes the following units [0141] an interest packet sending unit, which is used for the sending agent to convert the data to be transmitted into the form of a CCN data packet after receiving the TCP segment and generate an interest packet to inform the receiving agent that there is data to be fetched;
[0142] 发送请求数据包单元, 用于接收端接收代理接收兴趣包后并发送请求数据兴趣 包到接收代理; [0142] sending a request data packet unit, for the receiving end to receive the interest packet received by the agent and send the request data interest packet to the receiving agent;
[0143] 解封传输单元, 用于接收代理收到请求数据兴趣包对封装数据包进行解封将封 装的 TCP片段通过 IP网传送至 TCP接收端并发回 ACK响应。 [0143] The decapsulation transmission unit is used to receive the request data interest packet to decapsulate the encapsulated data packet, transmit the encapsulated TCP segment to the TCP receiving end through the IP network, and send back an ACK response.
[0144] 所述数据交换模块中 TCP/CCN网络建立连接包括以下单元 [0144] The TCP/CCN network establishment connection in the data exchange module includes the following units
[0145] 第一 SYN单元, 用于发送代理接收发送端发送的 SYN; [0145] The first SYN unit for the sending agent to receive the SYN sent by the sending end;
[0146] 第一 SYN标示兴趣包发送单元, 用于接收代理将带有 SYN标识的兴趣包经 CCN 网络发送给接收代理并接收; [0146] The first SYN marked interest packet sending unit is used by the receiving agent to send the interest packet with the SYN logo to the receiving agent via the CCN network and receive it;
[0147] 发送 SYN和 ACK单元, 用于接收端接收取收接收代理发送 SYN并发 SYN+ACK 给接收代理; [0147] Send SYN and ACK unit, for the receiving end to receive the receiving agent to send SYN and send SYN+ACK to the receiving agent;
[0148] 传输 SYN和 ACK标识兴趣包单元, 用于接收代理将带有 SYN和 ACK标识的兴趣 包经 CCN网络发给发送代理; [0148] transmitting a SYN and ACK identification interest packet unit, used by the receiving agent to send the SYN and ACK identification interest packet to the sending agent via the CCN network;
[0149] 传输带发送 ACK单元, 用于发送端接收发送代理发送的带有 SYN和 ACK并生成 发送 ACK传输给发送代理; [0149] The transmission band sending ACK unit is used for the sending end to receive the SYN and ACK sent by the sending agent and generate a sending ACK transmission to the sending agent;
[0150] 传输带发送 ACK标识兴趣包单元, 用于发送代理将带有发送 ACK标识的兴趣包 经 CCN网络发送给接收代理; [0150] The transmission belt sends an ACK identification interest packet unit for the sending agent to send the interest packet with the sent ACK identification to the receiving agent via the CCN network;
[0151] 接收带发送 ACK标识兴趣包单元接收代理将带有发送 ACK标识的兴趣包发送给 接收端。 [0151] The receiving agent with the ACK identification and sending interest packet unit receiving agent sends the interest packet with the sending ACK identification to the receiving end.
[0152] 所述数据交换模块中 TCP/CCN网络连接断开包括以下单元 [0152] The disconnection of the TCP/CCN network connection in the data exchange module includes the following units
[0153] 第一接收转发单元, 用于发送代理接收发送端发送的 FIN, 并经 CCN网络转发 带有发送端 FIN标识的兴趣包给接收代理; [0153] a first receiving and forwarding unit, configured to send an agent to receive the FIN sent by the sending end, and forward the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
[0154] 第一传输单元, 用于接收代理将带有发送端 FIN标识的兴趣包传输给接收端; [0154] a first transmission unit, configured to receive an agent to transmit the interest packet with the FIN identification of the sending end to the receiving end;
[0155] 第二接收转发单元, 用于接收代理收到接收端发送的 ACK, 并经 CCN网络转发 带有接收端 ACK标识的兴趣包给发送代理; [0155] The second receiving and forwarding unit is used for the receiving agent to receive the ACK sent by the receiving end, and forward the interest packet with the ACK identification of the receiving end to the sending agent via the CCN network;
[0156] 第二传输单元, 用于发送代理将带有接收端 ACK标识的兴趣包传输给发送端; [0156] a second transmission unit, configured to send the agent to transmit the interest packet with the ACK identifier of the receiving end to the sending end;
[0157] 第三接收转发单元, 用于接收代理收到接收端发送的 FIN, 并将 CCN网络转发 带有接收端 FIN标识的兴趣包给发送代理; [0157] A third receiving and forwarding unit, configured to receive the FIN sent by the receiving agent and forward the CCN network Interest packets with FIN identification at the receiving end are sent to the sending agent;
[0158] 第三传输单元, 用于发送代理将带有接收端 FIN标识的兴趣包传输给发送端; [0158] a third transmission unit, which is used by the sending agent to transmit the interest packet with the FIN identification of the receiving end to the sending end;
[0159] 第四接收转发单元, 用于发送代理收到发送端发送的 ACK, 并经 CCN网络转发 带有发送端 ACK标识的兴趣包给接收代理; [0159] a fourth receiving and forwarding unit, which is used by the sending agent to receive the ACK sent by the sending end, and forward the interest packet with the ACK identifier of the sending end to the receiving agent via the CCN network;
[0160] 第四传输单元, 用于接收代理将带发送端 ACK标识的兴趣包传输给接收端。 [0160] A fourth transmission unit is configured to receive an agent to transmit the interest packet with the ACK identifier of the sending end to the receiving end.
[0161] 现在的网络应用都是建立在 IP之上的, 所以任何部署的 CCN也需要能够与 IP共 存。 对比现有的工作在部署时候 CCN使用 TCP、 UDP或 IP为隧道, 这通常需要对 隧道端点进行手动压缩。 在需要新部署 CCN时候, 需要手动改变隧道。 此外, 这些点对点隧道限制了 CCN利用底层来广播媒体的能力。 为了充分利用以内容 为中心的通信和简化部署过程, 我们提出了直接通过以太网部署 CCN节点的方 案。 [0161] The current network applications are all built on IP, so any deployed CCN also needs to be able to coexist with IP. Compared with existing work, CCN uses TCP, UDP, or IP as the tunnel during deployment. This usually requires manual compression of the tunnel endpoints. When a new CCN needs to be deployed, the tunnel needs to be changed manually. In addition, these point-to-point tunnels limit CCN's ability to use the bottom layer to broadcast media. In order to make full use of content-centric communication and simplify the deployment process, we proposed a solution to deploy CCN nodes directly via Ethernet.
[0162] 本发明提出的新型网络协议栈, 将 CCN网络中的内容名字映射为 MAC地址, 再复用现有的链路层传输技术实现数据传输, 在以太网数据链路层之上搭建了 一个 CCN网络的隧道。 同时提出一种在 IP网络与 CCN网络的边缘部署带有双栈 功能的路由器, 实现 IP网络和基于以太网的 CCN网络的对接。 这种在现有的网络 基础设施的基础上进行增量部署的方案可以很好的因对现有的 IP网络到未来网络 的过渡问题, 可以最大限度的复用现有的 IP网络的基础设施, 同时又对 IP网络和 CCN网络的对接提供了平滑支持。 [0162] The new network protocol stack proposed by the present invention maps the content names in the CCN network to MAC addresses, and then reuses the existing link layer transmission technology to realize data transmission, and builds on the Ethernet data link layer. A tunnel of a CCN network. At the same time, a router with dual stack function is deployed at the edge of the IP network and the CCN network to realize the connection between the IP network and the CCN network based on Ethernet. This solution of incremental deployment on the basis of the existing network infrastructure can be very good due to the transition problem from the existing IP network to the future network, and can maximize the reuse of the existing IP network infrastructure At the same time, it provides smooth support for the connection between the IP network and the CCN network.
[0163] 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的 精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明的保 护范围之内。 [0163] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention should be included in this Within the scope of protection of the invention.

Claims

权利要求书 Claims
[权利要求 1] 一种以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所 述方法包括以下步骤: [Claim 1] A method for transmitting IP data packets using a content-centric network as a tunnel, characterized in that the method includes the following steps:
51、 将 CCN网络划分为应用层、 内容层、 数据链路层及物理层并将 C CN网络中内容名字映射为 MAC地址查询; 51. The CCN network is divided into an application layer, a content layer, a data link layer, and a physical layer, and the content names in the C CN network are mapped to MAC address queries;
52、 在分层后的 CCN网络中根据链路层传输技术在转发守护进程 FW D中构建 FIB表项、 PIT表项及 CS缓存表项形成新型 CCN网络; 52. Build FIB entries, PIT entries and CS cache entries in the forwarding daemon FW D according to the link layer transmission technology in the layered CCN network to form a new CCN network;
53、 在 IP网与新型 CCN网络的边界处部署一对带有双栈功能的转接节 点分别连接到 TCP的发送端与接收端构建成 TCP/CCN网络; 53. Deploy a pair of transfer nodes with dual stack functions at the boundary of the IP network and the new CCN network to connect to the TCP sender and receiver respectively to build a TCP/CCN network;
54、 在 TCP/CCN网络中 IP数据分组通过多次 CCN节点兴趣包交换完 成数据分组传输。 54. In a TCP/CCN network, IP data packets are transmitted through multiple CCN node interest packet exchanges.
[权利要求 2] 根据权利要求 1所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述 FIB表项由路由协议生成, 所述 FIB表项在运行期 间不会发生改变, 所述 FIB表项为 Interest包处理模块提供查找服务。 [Claim 2] The method for transmitting IP data packets using a content-centric network as a tunnel according to claim 1, wherein the FIB entry is generated by a routing protocol, and the FIB entry will not change during operation The FIB entry provides a search service for the Interest packet processing module.
[权利要求 3] 根据权利要求 2所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述 PIT表项记录的 Interest包的到达接口, CCN节点在 转发 Interest包之前, 要在 PIT表项中记录其到达的物理网口以及源 M AC地址, 为响应的 Data包提供转发依据, PIT表项需支持查找、 插入 和删除功能。 [Claim 3] The method for transmitting IP data packets using a content-centric network as a tunnel according to claim 2, characterized in that, before the arrival packet of the Interest packet recorded in the PIT entry, the CCN node needs to forward the Interest packet, Record the physical network port and source MAC address it arrives in the PIT entry to provide the basis for forwarding the responding Data packet. The PIT entry must support search, insert, and delete functions.
[权利要求 4] 根据权利要求 3所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述 CS缓存支持查找、 读取、 插入、 替换及删除的操 作, 在 Interest包或 Data包到来均要先在 CS缓存中进行匹配查找, 根 据缓存策略为已缓存的内容维护被访问的状态。 [Claim 4] The method for transmitting IP data packets using a content-centric network as a tunnel according to claim 3, characterized in that the CS cache supports operations of searching, reading, inserting, replacing and deleting, in the Interest package or When the data package arrives, it is necessary to perform a matching search in the CS cache, and maintain the accessed state of the cached content according to the cache strategy.
[权利要求 5] 根据权利要求 4所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述步骤 S4中的数据传输过程包括以下步骤: [Claim 5] The method for transmitting IP data packets using a content-centric network as a tunnel according to claim 4, wherein the data transmission process in step S4 includes the following steps:
5411、 发送代理接收 TCP片段后将待传输的数据转化为 CCN数据包的 形式并生成一个兴趣包告知接收代理有待取数据; 5411. After receiving the TCP segment, the sending agent converts the data to be transmitted into the form of a CCN data packet and generates an interest packet to inform the receiving agent that there is data to be fetched;
5412、 接收代理接收兴趣包后发送请求数据兴趣包到接收代理; S413、 接收代理收到请求数据兴趣包对封装数据包进行解封将封装的 TCP片段通过 IP网传送至 TCP接收端并发回 ACK响应。 5412: After receiving the interest packet, the receiving agent sends the request data interest packet to the receiving agent; S413: The receiving agent receives the request data interest packet, decapsulates the encapsulated data packet, transmits the encapsulated TCP segment to the TCP receiving end through the IP network, and sends back an ACK response.
[权利要求 6] 根据权利要求 5所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述步骤 84中1070^网络建立连接包括以下步骤: [Claim 6] The method for transmitting IP data packets using a content-centric network as a tunnel according to claim 5, characterized in that, in step 84, the network establishment connection includes the following steps:
5421、 发送代理接收发送端发送的 SYN; 5421, the sending agent receives the SYN sent by the sending end;
5422、 接收代理将带有 SYN标识的兴趣包经 CCN网络发送给接收代 理并接收; 5422. The receiving agent sends the interest packet with the SYN logo to the receiving agent via the CCN network and receives it;
5423、 接收端接收取收接收代理发送 SYN并发 SYN+ACK给接收代理 5423. The receiving end receives the receiving agent and sends the SYN and sends SYN+ACK to the receiving agent
5424、 接收代理将带有 SYN和 ACK标识的兴趣包经 CCN网络发给发 送代理; 5424. The receiving agent sends the interest packet with SYN and ACK signs to the sending agent via the CCN network;
5425、 发送端接收发送代理发送的带有 SYN和 ACK并生成发送 ACK 传输给发送代理; 5425. The sending end receives the SYN and ACK sent by the sending agent and generates a sending ACK to transmit to the sending agent;
5426、 发送代理将带有发送 ACK标识的兴趣包经 CCN网络发送给接 收代理; 5426. The sending agent sends the interest packet with the ACK mark to the receiving agent via the CCN network;
5427、 接收代理将带有发送 ACK标识的兴趣包发送给接收端。 5427. The receiving agent sends the interest packet with the ACK mark to the receiving end.
[权利要求 7] 根据权利要求 6所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述步骤 S4中 TCP/CCN网络连接断开包括以下步骤: [Claim 7] The method for transmitting IP data packets by using the content-centric network as a tunnel according to claim 6, characterized in that the disconnection of the TCP/CCN network connection in the step S4 includes the following steps:
5431、 发送代理接收发送端发送的 FIN, 并经 CCN网络转发带有发送 端 FIN标识的兴趣包给接收代理; 5431. The sending agent receives the FIN sent by the sending end, and forwards the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
5432、 接收代理将带有发送端 FIN标识的兴趣包传输给接收端; 5432. The receiving agent transmits the interest packet with the FIN identifier of the sending end to the receiving end;
5433、 接收代理收到接收端发送的 ACK, 并经 CCN网络转发带有接 收端 ACK标识的兴趣包给发送代理; 5433. The receiving agent receives the ACK sent by the receiving end, and forwards the interest packet with the ACK identification of the receiving end to the sending agent via the CCN network;
5434、 发送代理将带有接收端 ACK标识的兴趣包传输给发送端; 5434. The sending agent transmits the interest packet with the ACK identifier of the receiving end to the sending end;
5435、 接收代理收到接收端发送的 FIN, 并将 CCN网络转发带有接收 端 FIN标识的兴趣包给发送代理; 5435. The receiving agent receives the FIN sent by the receiving end, and forwards the interest packet with the FIN identification of the receiving end to the sending agent on the CCN network;
5436、 发送代理将带有接收端 FIN标识的兴趣包传输给发送端; 5436. The sending agent transmits the interest packet with the FIN identification of the receiving end to the sending end;
5437、 发送代理收到发送端发送的 ACK, 并经 CCN网络转发带有发 送端 ACK标识的兴趣包给接收代理; 5437. The sending agent receives the ACK sent by the sending end, and forwards the sent message via the CCN network. Send the interest packet identified by the ACK to the receiving agent;
S438、 接收代理将带发送端 ACK标识的兴趣包传输给接收端。 S438. The receiving agent transmits the interest packet with the ACK identifier of the sending end to the receiving end.
[权利要求 8] 一种以内容中心网络为隧道传输 IP数据分组的系统, 其特征在于, 所 述系统包括 [Claim 8] A system for transmitting IP data packets using a content-centric network as a tunnel, characterized in that the system includes
划分模块, 用于将 CCN网络划分为应用层、 内容层、 数据链路层及物 理层并将 CCN网络中内容名字映射为 MAC地址查询; The dividing module is used to divide the CCN network into an application layer, a content layer, a data link layer and a physical layer and map the content names in the CCN network to MAC address queries;
构建模块, 用于在分层后的新型 CCN网络中根据链路层传输技术在 F WD中构建 FIB表项、 PIT表项及 CS缓存表项形成新型 CCN网络; 搭建网络模块, 用于在 IP网与新型 CCN网的边界处部署一对带有双栈 功能的转接节点分别连接到 IP网络的 TCP发送端与接收端构建成 TCP/ CCN网络; Construction module, used to construct FIB entries, PIT entries, and CS cache entries in F WD in the layered new CCN network according to the link layer transmission technology; form a new CCN network; build a network module, used in IP A pair of transit nodes with dual stack functions are deployed at the border of the network and the new CCN network to connect to the TCP sender and receiver of the IP network to form a TCP/CCN network;
数据交换模块, 用于在 TCP/CCN网络中 IP数据通过多次兴趣包交换完 成数据分组传输。 The data exchange module is used to complete the data packet transmission of IP data through multiple interest packet exchanges in the TCP/CCN network.
[权利要求 9] 根据权利要求 8所述以内容中心网络为隧道传输 IP数据分组的系统, 其特征在于, 所述 FIB表项由路由协议生成, 所述 FIB表项在运行期 间不会发生改变, 所述 FIB表项为 Interest包处理模块提供查找服务。 [Claim 9] The system for tunneling IP data packets using a content-centric network as claimed in claim 8, wherein the FIB entry is generated by a routing protocol, and the FIB entry will not change during operation The FIB entry provides a search service for the Interest packet processing module.
[权利要求 10] 根据权利要求 9所述以内容中心网络为隧道传输 IP数据分组的系统, 其特征在于, 所述 PIT表项记录的 Interest包的到达接口, CCN节点在 转发 Interest包之前, 要在 PIT表项中记录其到达的物理网口以及源 M AC地址, 为响应的 Data包提供转发依据, PIT表项需支持查找、 插入 和删除功能。 [Claim 10] The system for tunneling IP data packets using the content-centric network as claimed in claim 9, characterized in that: the arrival interface of the Interest packet recorded in the PIT entry, before the CCN node forwards the Interest packet, Record the physical network port and source MAC address it arrives in the PIT entry to provide the basis for forwarding the responding Data packet. The PIT entry must support search, insert, and delete functions.
[权利要求 11] 根据权利要求 10所述以内容中心网络为隧道传输 IP数据分组的系统, 其特征在于, 所述 CS缓存支持查找、 读取、 插入、 替换及删除的操 作, 在 Interest包或 Data包到来均要先在 CS缓存中进行匹配查找, 根 据缓存策略为已缓存的内容维护被访问的状态。 [Claim 11] The system for transmitting IP data packets using a content-centric network as a tunnel according to claim 10, characterized in that the CS cache supports operations of searching, reading, inserting, replacing and deleting, in the Interest package or When the data package arrives, it is necessary to perform a matching search in the CS cache, and maintain the accessed state of the cached content according to the cache strategy.
[权利要求 12] 根据权利要求 11所述以内容中心网络为隧道传输 IP数据分组的系统, 其特征在于, 所述数据交换模块中的数据传输过程包括以下单元 发送兴趣包单元, 用于发送代理接收 TCP片段后将待传输的数据转化 为 CCN数据包的形式并生成一个兴趣包告知接收代理有待取数据; 发送请求数据包单元, 用于接收端接收代理接收兴趣包后并发送请求 数据兴趣包到接收代理; [Claim 12] The system for transmitting IP data packets using a content-centric network as a tunnel according to claim 11, characterized in that the data transmission process in the data exchange module includes the following unit for sending an interest packet unit for sending an agent After receiving TCP fragments, convert the data to be transmitted It is in the form of a CCN data packet and generates an interest packet to inform the receiving agent that there is data to be fetched; Send request data packet unit is used by the receiving end to receive the interest packet and send the request data interest packet to the receiving agent;
解封传输单元, 用于接收代理收到请求数据兴趣包对封装数据包进行 解封将封装的 TCP片段通过 IP网传送至 TCP接收端并发回 ACK响应。 The decapsulation transmission unit is used for the receiving agent to receive the request data interest packet to decapsulate the encapsulated data packet, transmit the encapsulated TCP segment to the TCP receiving end through the IP network and send back an ACK response.
[权利要求 13] 根据权利要求 12所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述数据交换模块中 TCP/CCN网络建立连接包括以下 单元 [Claim 13] The method for tunneling IP data packets using the content-centric network as claimed in claim 12, wherein the TCP/CCN network establishment connection in the data exchange module includes the following units
第一 SYN单元, 用于发送代理接收发送端发送的 SYN; The first SYN unit is used for the sending agent to receive the SYN sent by the sending end;
第一 SYN标示兴趣包发送单元, 用于接收代理将带有 SYN标识的兴趣 包经 CCN网络发送给接收代理并接收; The first SYN marked interest packet sending unit is used by the receiving agent to send the interest packet with the SYN logo to the receiving agent via the CCN network and receive it;
发送 SYN和 ACK单元, 用于接收端接收取收接收代理发送 SYN并发 S YN+ACK给接收代理; Sending SYN and ACK units, used for the receiving end to receive and receive the receiving agent to send SYN concurrent S YN+ACK to the receiving agent;
传输 SYN和 ACK标识兴趣包单元, 用于接收代理将带有 SYN和 ACK 标识的兴趣包经 CCN网络发给发送代理; Transmit the SYN and ACK identification interest packet unit, used by the receiving agent to send the SYN and ACK identification interest packet to the sending agent via the CCN network;
传输端发送 ACK单元, 用于发送端接收发送代理发送的带有 SYN和 A CK并生成发送 ACK传输给发送代理; The transmitting end sends an ACK unit, which is used by the sending end to receive the SYN and A CK sent by the sending agent and generate a sending ACK transmission to the sending agent;
传输端发送 ACK标识兴趣包单元, 用于发送代理将带有发送 ACK标 识的兴趣包经 CCN网络发送给接收代理; The transmission end sends an ACK to identify the interest packet unit, which is used by the sending agent to send the interest packet with the ACK identification to the receiving agent via the CCN network;
接收端发送 ACK标识兴趣包单元接收代理将带有发送 ACK标识的兴 趣包发送给接收端。 The receiving end sends an ACK to mark the interest packet unit. The receiving agent sends the interesting packet with the sending ACK mark to the receiving end.
[权利要求 14] 根据权利要求 13所述以内容中心网络为隧道传输 IP数据分组的方法, 其特征在于, 所述数据交换模块中 TCP/CCN网络连接断开包括以下 单元 [Claim 14] The method for tunneling IP data packets using the content-centric network as claimed in claim 13, wherein the disconnection of the TCP/CCN network connection in the data exchange module includes the following units
第一接收转发单元, 用于发送代理接收发送端发送的 FIN, 并经 CCN 网络转发带有发送端 FIN标识的兴趣包给接收代理; The first receiving and forwarding unit is used by the sending agent to receive the FIN sent by the sending end, and forwards the interest packet with the FIN identification of the sending end to the receiving agent via the CCN network;
第一传输单元, 用于接收代理将带有发送端 FIN标识的兴趣包传输给 接收端; 第二接收转发单元, 用于接收代理收到接收端发送的 ACK, 并经 CC N网络转发带有接收端 ACK标识的兴趣包给发送代理; A first transmission unit, used for the receiving agent to transmit the interest packet with the FIN identification of the sending end to the receiving end; The second receiving and forwarding unit is used for the receiving agent to receive the ACK sent by the receiving end, and forward the interest packet with the ACK identification of the receiving end to the sending agent via the CC N network;
第二传输单元, 用于发送代理将带有接收端 ACK标识的兴趣包传输 给发送端; A second transmission unit, used by the sending agent to transmit the interest packet with the ACK identification of the receiving end to the sending end;
第三接收转发单元, 用于接收代理收到接收端发送的 FIN, 并将 CCN 网络转发带有接收端 FIN标识的兴趣包给发送代理; The third receiving and forwarding unit is used for the receiving agent to receive the FIN sent by the receiving end, and forward the interest packet with the FIN identification of the receiving end to the sending agent in the CCN network;
第三传输单元, 用于发送代理将带有接收端 FIN标识的兴趣包传输给 发送端; The third transmission unit is used by the sending agent to transmit the interest packet with the FIN identification of the receiving end to the sending end;
第四接收转发单元, 用于发送代理收到发送端发送的 ACK, 并经 CC N网络转发带有发送端 ACK标识的兴趣包给接收代理; The fourth receiving and forwarding unit is used for the sending agent to receive the ACK sent by the sending end, and forward the interest packet with the sending end ACK identifier to the receiving agent via the CC N network;
第四传输单元, 用于接收代理将带发送端 ACK标识的兴趣包传输给 接收端。 The fourth transmission unit is used for the receiving agent to transmit the interest packet with the ACK identifier of the sending end to the receiving end.
PCT/CN2018/120686 2018-12-12 2018-12-12 Method and system for transmitting ip data packet by using content centric network as tunnel WO2020118571A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/120686 WO2020118571A1 (en) 2018-12-12 2018-12-12 Method and system for transmitting ip data packet by using content centric network as tunnel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/120686 WO2020118571A1 (en) 2018-12-12 2018-12-12 Method and system for transmitting ip data packet by using content centric network as tunnel

Publications (1)

Publication Number Publication Date
WO2020118571A1 true WO2020118571A1 (en) 2020-06-18

Family

ID=71076185

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120686 WO2020118571A1 (en) 2018-12-12 2018-12-12 Method and system for transmitting ip data packet by using content centric network as tunnel

Country Status (1)

Country Link
WO (1) WO2020118571A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116073939A (en) * 2023-03-07 2023-05-05 中南民族大学 Method for resolving data conflict in optical named data network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2562978A1 (en) * 2011-08-12 2013-02-27 Alcatel Lucent Content router of a content centric network
CN106487837A (en) * 2015-08-27 2017-03-08 北京大学深圳研究生院 The method and apparatus sending in network and obtaining target data from network
CN107634935A (en) * 2017-08-11 2018-01-26 北京大学深圳研究生院 A kind of content management-control method, device and the storage medium of NDN and IP UNEs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2562978A1 (en) * 2011-08-12 2013-02-27 Alcatel Lucent Content router of a content centric network
CN106487837A (en) * 2015-08-27 2017-03-08 北京大学深圳研究生院 The method and apparatus sending in network and obtaining target data from network
CN107634935A (en) * 2017-08-11 2018-01-26 北京大学深圳研究生院 A kind of content management-control method, device and the storage medium of NDN and IP UNEs

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FENG, FEI ET AL.: "The Implementation of CCN Routing Node Based on Ethernet", COMPUTER APPLICATIONS AND SOFTWARE, 31 July 2017 (2017-07-31), pages 91 - 96, DOI: 20190823163928Y *
OU, SIWEI ET AL.: "A Survey of Communication Between IP and ICN", INFORMATION AND COMMUNICATIONS TECHNOLOGIES, 31 December 2017 (2017-12-31), pages 51 - 57, DOI: 20190823164119Y *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116073939A (en) * 2023-03-07 2023-05-05 中南民族大学 Method for resolving data conflict in optical named data network

Similar Documents

Publication Publication Date Title
JP3603057B2 (en) Method for supporting small group multicast in mobile IP
JP3667586B2 (en) Multicast packet transfer device, multicast packet transfer system, and storage medium
US6747979B1 (en) Method and apparatus for bridging between networks
CN102075420B (en) Location identifier and host identifier separation-based system and mobility management method thereof
KR100811890B1 (en) Anycast routing method and apparatus for supporting service flow in internet system
JP2019526983A (en) Separation of control plane function and transfer plane function of broadband remote access server
KR20120058782A (en) Terminal and intermediate node in content oriented network environment and method of commnication thereof
CN100534218C (en) A method for realizing the communication between the mobile IPv4 node and IPv6 communication node
WO2011035710A1 (en) User-oriented communication method, route registration method and device and communication system
KR101381701B1 (en) Data message processing method, system and access service node
WO2012106935A1 (en) Data communication network configuration method, gateway element and data communication system
WO2011131088A1 (en) Data message processing method, ingress tunnel router and system
US11917523B2 (en) Polymorphic network control system and method supporting mobile access of terminal
WO2017031947A1 (en) Method and apparatus for sending target data to and acquiring target data from network
WO2011032462A1 (en) Method for data transmission and receiving, system and router thereof
US8547998B2 (en) Tunneling IPv6 packet through IPv4 network using a tunnel entry based on IPv6 prefix and tunneling IPv4 packet using a tunnel entry based on IPv4 prefix
WO2012013126A1 (en) Inter-host access method, device and system
WO2013097400A1 (en) Method for binding network apparatus, and communication method, device and system
JP2017530615A (en) Translation method and apparatus between IPv4 and IPv6
WO2014110986A1 (en) Trill network interconnection method, device and system
WO2020118571A1 (en) Method and system for transmitting ip data packet by using content centric network as tunnel
WO2009146615A1 (en) A processing method, a system and a processor for network address translation service
EP1874005A1 (en) A personal network comprising a plurality of clusters
WO2009039788A1 (en) A method and apparatus of realizing multicast transmission
US20100241750A1 (en) Method, network entity and network system for forwarding resources

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: 18943031

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18943031

Country of ref document: EP

Kind code of ref document: A1