A storage and forwarding method and device based on source routing

By adopting the store-and-forward method based on source routing and the acknowledgment and retransmission mechanism of the ICMP protocol in the deep space network, the reliability problem of the IP Internet architecture in the deep space environment is solved, and low-cost research and development of simplified protocol stacks and equipment are achieved. Support interconnection and networking planning of deep space networks.

CN118214705BActive Publication Date: 2024-08-23NANJING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410635966.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-08-23
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

The existing IP Internet architecture cannot be directly applied to deep space communication environments and cannot guarantee the reliability and timeliness of data transmission. Moreover, the DTN architecture cannot efficiently adapt to hybrid networking of non-terrestrial networks, resulting in long equipment development cycles and high costs.

Method used

Adopt a store-and-forward method based on source routing to implement the data-plane store-and-forward function at the network IP layer. It stores and forwards hop-by-hop through the source routing header, and uses the ICMP protocol for confirmation and retransmission, simplifying the protocol stack, removing the bundle layer and aggregation layer, and expanding Store-and-forward functionality at the IP layer.

Benefits of technology

It achieves reliable transmission of data in deep space networks, simplifies the protocol stack, reduces equipment research and development cycles and costs, supports the interconnection of space-ground integrated networks, has network planning with explicit control paths, and adapts to the dynamics of space networks. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118214705B
    Figure CN118214705B
Patent Text Reader

Abstract

The present invention discloses a storage and forwarding method and device based on source routing. The method of the present invention proposes to realize the data plane storage and forwarding function at the network IP layer, and realize the segment-by-segment routing forwarding of the message by using the source routing technology; by adding End.XS as the function of the segment identifier, the indication of the storage and forwarding operation is realized, and a new ICMP message type is proposed to realize the confirmation and retransmission mechanism of the message storage file, so as to ensure the reliability of the message transmission and reduce the message confirmation signaling overhead. Based on the storage and forwarding method, the storage and forwarding device based on source routing of the present invention includes a routing processing subsystem: used for calculating an optimal path based on the segment identifiers issued by each node in the network using a routing protocol, and converting it into an ordered segment list to generate a SID routing table; a message forwarding subsystem: used for parsing, forwarding and confirming source routing messages; a message storage subsystem: used for storing, releasing and reading SR messages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology, and in particular to a store-and-forward method and device based on source routing (Segment Routing, SR). Background Art

[0002] The existing Internet is mainly based on transmission control protocols, including TCP and UDP, and Internet Protocol (IP) for data transmission. The IP protocol encapsulates the message segments of the transport layer into packets, and transmits the packets from the source to the destination according to the destination address information in the message header, providing unreliable and connectionless data services. The existing IP Internet usually includes basic assumptions such as the existence of end-to-end paths, short round-trip delays, and low packet loss rates.

[0003] The deep space communication environment has the characteristics of high bit error rate, ultra-long propagation delay, easy link interruption, asymmetric round-trip data rate, etc., which cannot guarantee the existence of an end-to-end path between the source and the destination during the communication session, and therefore cannot guarantee that the destination can achieve timely and stable confirmation to retransmit the data. The characteristics of the deep space communication environment make some basic assumptions of the ground Internet invalid, which in turn makes the TCP / IP protocol stack unable to be directly applied to deep space data transmission, which has promoted the proposal of Delay / Disruption Tolerant Networks (DTN), Bundle Protocol (BP) and Licklider Transmission Protocol (LTP).

[0004] The core of the DTN architecture is the BP / LTP protocol stack. The BP protocol mainly implements the functions of store-and-forward, managed transmission, and connecting heterogeneous subnets. Store-and-forward solves the problem of data transmission difficulties caused by frequent link interruptions in deep space networks to a certain extent. Managed transmission ensures the integrity of the bundle, and connecting heterogeneous subnets ensures that data can be transmitted even if different underlying protocols are used. The LTP protocol mainly implements the function of reliable point-to-point data transmission, and provides automatic retransmission services in links with long delays and intermittent connections.

[0005] DTN is an independent network architecture system that cannot efficiently adapt to the hybrid networking of non-terrestrial networks (NTN). All upper-layer applications need to be redeveloped. The network equipment in the DTN architecture cannot directly use existing routers or switches. New equipment needs to be developed, which has a long R&D cycle and high costs. The network layer IP of the existing IP Internet architecture is connectionless, and the routing adopts the shortest path priority algorithm. It is difficult to adapt to the environment of space networks with strong dynamics, large transmission delays, and frequent link switching. It lacks reliability guarantees and is difficult to adapt to the transmission characteristics of space networks, especially deep space networks with large time and space scale spans and easily interrupted links. It also cannot meet the requirements for reliable data transmission in intermittent communication networks. Summary of the invention

[0006] Purpose of the invention: In view of the problems existing in the above-mentioned DTN and traditional IP networks, the present invention discloses a storage and forwarding method and device based on source routing using an IP architecture, which is used to replace the BP protocol and the LTP protocol in the DTN architecture, so that the existing IP architecture can break through the limitations of the large-scale space-time environment, and be applied and deployed in space networks and even deep space network scenarios, so as to achieve interconnection from ground networks to space networks and even deep space networks with a unified IP network architecture.

[0007] The above objectives are achieved through the following technical solutions:

[0008] The present invention firstly provides a storage and forwarding method based on source routing, which realizes the data plane storage and forwarding function at the network IP layer.

[0009] Furthermore, the method specifically comprises the following steps:

[0010] S1. Implement hop-by-hop store-and-forward through source routing. Source routing calculates the forwarding path based on different service requirements and converts the path into an ordered list of segments and network nodes. The ordered list of segments and network nodes is encapsulated into the Segment Routing Header (SRH) of the message header. The intermediate nodes of the path only need to perform segment-by-segment forwarding according to the ordered list in the source routing header.

[0011] S2. IP message storage;

[0012] S3. Confirmation retransmission of IP storage and forwarding. After successfully storing the IP message, the current node needs to send a message confirmation message to the previous hop node to notify the previous hop node to release the message that has been successfully sent from the storage resources of the current node.

[0013] Furthermore, the hop-by-hop store-and-forwarding by source routing in step S1 is implemented by source routing based on IPv6, namely, SRv6 (Segment Routing over IPv6), including:

[0014] 1) Define a new SRv6 Segment Identifier (SID): End.XS SID. When the next-hop network node is reachable, the current network node forwards the received SR message first, then stores it in the block file, and waits for the next-hop node to confirm receipt; if the next-hop node is unreachable, the current node only stores the SR message in the block file;

[0015] 2) Add new parameters including block number and packet number in the Argument of End.XS SID to identify the location information of message storage;

[0016] 3) Implement the configuration of the End.XS SID on the control plane to form a local SID table. When the local router matches the End.XS, perform the store and forward operation;

[0017] 4) The Locator route of the End.XS SID is published through the routing protocol to form a SID routing table for determining the forwarding interface of the specified address.

[0018] Furthermore, the IP message storage in step S2 adopts a message storage file block, and divides the storage space into blocks, each block is a file, and one block stores multiple SR message binary byte streams.

[0019] Furthermore, the block file format includes the following fields:

[0020] Block priority: indicates the priority category of the block, which is used to determine the order in which the blocks are sent;

[0021] Original message buffer: represents the data cached by the block, which consists of packets;

[0022] Number of packets: indicates the number of packets saved in the block;

[0023] The packet includes the following fields:

[0024] Packet length: indicates the number of bytes occupied by the packet;

[0025] Packet number: indicates the sequence number of the packet in the block;

[0026] Data packet payload: indicates the data information carried in the packet.

[0027] Furthermore, the confirmation retransmission of the store-and-forward described in step S3 is implemented based on the ICMP protocol, and the block confirmation message of ICMP includes the following fields:

[0028] Message type: indicates the new ICMP message type applied for;

[0029] Checksum: indicates the checksum, which can be used to detect whether errors occur during the transmission of ICMP block messages;

[0030] Block number: indicates the block number of the confirmed message in the storage space of the previous hop;

[0031] Packet sequence number: indicates the packet sequence number of the confirmed message in the storage space of the previous hop;

[0032] Optional: indicates optional fields that can be used to extend other functions;

[0033] Code segment: Indicates the type of ICMP block confirmation message, with optional values ​​of 1 to 5. Specifically:

[0034] The code segment is 1, indicating that the message is a confirmation message of a message in a block;

[0035] The code segment 2 indicates that the message is a message sequence confirmation message in a block;

[0036] The code segment 3 indicates that the message is a block confirmation message;

[0037] The code segment is 4, indicating that the message is a block sequence confirmation message;

[0038] The code segment 5 indicates that the message is an ACK message of a block confirmation message.

[0039] Furthermore, the confirmation retransmission described in step S3 includes confirmation for the entire block or batch blocks, or confirmation for one or more messages in the block.

[0040] The present invention also provides a storage and forwarding device based on source routing, which is based on the above-mentioned storage and forwarding method based on source routing, and includes:

[0041] Routing processing subsystem: used to calculate an optimal path based on the SIDs published by each node in the network using the routing protocol, and convert it into an ordered list of segments to generate a SID routing table;

[0042] Message forwarding subsystem: used for parsing, forwarding and confirming SR messages;

[0043] Message storage subsystem: used for saving, releasing and reading SR messages.

[0044] Furthermore, the message forwarding subsystem and the message storage subsystem are deployed in the CPU, or the two subsystems are deployed in the FPGA, or are solidified into the AISC or the network processor.

[0045] Furthermore, the storage medium used by the source routing-based storage and forwarding device is SSD.

[0046] Beneficial effects: 1. The present invention provides a storage and forwarding method and device based on source routing, which adopts the five-layer architecture of the existing IP architecture to replace the seven-layer architecture of DTN, simplifies the deep space network protocol, and can greatly improve the space transmission performance by removing the beam layer and the convergence layer, and further removing the data block assembly function in the LTP protocol.

[0047] 2. Realize the IPization of the integrated sky-ground network, and use a unified IP network architecture to achieve interconnection from the existing ground network to the space network and even the deep space network.

[0048] 3. Current soft forwarding data planes, such as DPDK and VPP, do not have the storage and forwarding function; current hard forwarding data planes, such as BRCM network chips, P4 switches, Huawei routers, switches, etc. do not have the storage and forwarding function. By extending the storage and forwarding function of the IP layer through the present invention, the current network equipment can be used for deep space networks, greatly reducing the R&D cycle and cost of deep space network equipment.

[0049] 4. Based on the IP architecture proposed by the present invention, the existing rich Internet application APPs can be applied to the deep space network, solving the problem of lack of deep space network applications.

[0050] 5. Hop-by-hop store-and-forward is achieved through source routing. Source routing calculates the forwarding path based on different business needs, and converts the path into an ordered arrangement of segments and network nodes. The ordered list of segments and network nodes is encapsulated into the source routing header of the message header. The intermediate nodes of the path only need to perform segment-by-segment forwarding according to the ordered arrangement in the source routing header. It has the characteristics of explicit control of the path, can realize programmable network planning, better realize traffic engineering, and can effectively match the software defined networking (SDN) architecture of IP networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A layered comparison of the protocol stacks of the DTN network architecture and the IP network architecture;

[0052] Figure 2 It is a system block diagram of a store-and-forward device based on source routing;

[0053] Figure 3 Data packets and SID structures for source routing;

[0054] Figure 4 This is the structure of ICMP-based block confirmation message;

[0055] Figure 5 The structure of the block file for storing messages;

[0056] Figure 6 This is a typical networking scenario for space networks;

[0057] Figure 7 This is the process of deep space network configuration and message transmission. DETAILED DESCRIPTION

[0058] The present invention is further described below in conjunction with the accompanying drawings and specific application scenarios.

[0059] As attached Figure 1 As shown, the DTN architecture currently used for deep space communication consists of a seven-layer structure of physical layer, data link layer, network layer, transport layer, convergence layer, bundle layer, and application layer. The bundle layer uses the BP protocol and provides storage and forwarding functions at the bundle layer. The convergence layer integrates different underlying network transmission protocols through three adapters: LTPCL, TCPCL, and UDPCL. The DTN protocol stack requires interface adaptation with the BP protocol when developing upper-layer protocols and underlying protocols. The upper-layer protocol needs to be developed based on the BP protocol, resulting in relatively limited application layer protocols at present. The existing IP Internet architecture used in the present invention consists of a five-layer structure of physical layer, data link layer, network layer, transport layer, and application layer.

[0060] The present invention can utilize the mature mechanism of UDP+IP to realize the IPization of the integrated sky-ground network, and realize the interconnection from the existing ground network to the space network and even the deep space network with a unified IP network architecture.

[0061] For the realization of the store-and-forward function, the DTN architecture is implemented at the bundle layer; while the present invention directly realizes the store-and-forward function at the IP network layer. The current soft forwarding data plane, such as the Data Plane Development Kit (DPDK), Vector Packet Processing (VPP), etc., do not have the store-and-forward function; the current hard forwarding data plane, such as Broadcom Corporation (BRCM) network chips, P4 switches, Huawei routers, switches, etc., do not have the store-and-forward function. By extending the store-and-forward function of the IP layer by the present invention, the current network equipment can be immediately applied to the deep space network, greatly reducing the R&D cycle and cost of the deep space network equipment.

[0062] Specifically, a storage and forwarding method based on source routing (Segment Routing, SR) of the present invention includes:

[0063] 1. Implement the data plane store-and-forward function at the network IP layer, and use SRv6 to implement the hop-by-hop store-and-forward function. SR calculates the forwarding path based on different business needs, converts the path into an ordered arrangement of segments and network nodes, and encapsulates the ordered segment list into the source routing header (Segment Routing Header, SRH) of the message header. The intermediate nodes of the path only need to forward the segment routing segment by segment according to the segment list in the SRH. It has the characteristics of explicit control of the path, can realize programmable network planning, and can better realize traffic engineering.

[0064] SRv6 segment identifier, mainly composed of Locator, Function, and Argument, as shown in the attached Figure 3 As shown, where:

[0065] Locator is the IPv6 routing prefix, which is mainly used for routing delivery;

[0066] Function is the instruction of the device, indicating the corresponding functional operation;

[0067] Argument is an optional parameter of SID. Other options can be defined in Argument to achieve functional extension.

[0068] There are many types of Function in SID, and different types represent different functions. The operations performed by the main types of existing Function are shown in Table 1. The present invention adds the End.XS function in Function, and adds parameters such as block number and packet number in Argument.

[0069] Table 1. The operations performed by the main types of existing functions

[0070]

[0071] (1) The present invention proposes a new SRv6 SID: End.XS SID. The specific operations performed by End.XS SID are: updating the IPv6 destination address, forwarding from the specified outbound interface, and storing the message in the memory or hard disk after forwarding. End.XS implements that when the next-hop network node is reachable, the current network node first forwards the received SR message, then stores it in the block file of the current network node, and waits for the next-hop node to confirm receipt; if the next-hop network node is unreachable, the current network node only stores the message in the block file;

[0072] (2) End.XS adds the block number and packet number to the Argument of SID to identify the location information of the message storage;

[0073] (3) Implement the configuration of End.XS on the control plane to form a local SID table. When the local router matches the End.XSSID, it performs the storage and forwarding operation.

[0074] (4) The Locator route of the End.XS SID is published through the routing protocol to form a SID routing table, which is used to determine the forwarding interface of the specified address.

[0075] 2. Implemented an efficient IP message storage file.

[0076] A new IP message storage file block is proposed. In order to improve the performance of file operation, in the message storage subsystem, the present invention newly defines a message storage file block.

[0077] The message storage file block divides the storage space into blocks, each block is a file, and a block can store multiple SR message binary byte streams.

[0078] The block file format is as attached Figure 5 As shown, it includes the following fields:

[0079] Block priority: indicates the priority category of the block, which is used to determine the order in which the blocks are sent;

[0080] Original message buffer: represents the data cached by the block, which consists of packets;

[0081] Number of packets: indicates the number of packets saved in the block;

[0082] The packet includes the following fields:

[0083] Packet length: indicates the number of bytes occupied by the packet;

[0084] Packet number: indicates the sequence number of the packet in the block;

[0085] Data packet payload: indicates the data information carried in the packet.

[0086] The flexibility and efficiency of block are reflected in:

[0087] The size and number of blocks can be flexibly configured. The purpose of setting blocks is to improve the performance of file operations. Controlling the block file to an appropriate size can avoid long delays in opening or closing large files.

[0088] Blocks can be divided based on policies, for example, packets with different next hops are placed in different blocks, or packets with the same destination are placed in the same block.

[0089] 3. Use a new ICMP message type to implement the store-and-forward confirmation retransmission mechanism.

[0090] (1) A new ICMP block confirmation message type is proposed. After successfully storing an SR message, the current node needs to send a message confirmation message to the previous hop node to notify the previous hop node to release the successfully sent message from the storage resources of the current node.

[0091] The newly added ICMP-based block confirmation message includes the following fields:

[0092] Message type: indicates the new ICMP message type applied for;

[0093] Checksum: indicates the checksum, which can be used to detect whether errors occur during the transmission of ICMP block messages;

[0094] Block number: indicates the block number of the confirmed message in the storage space of the previous hop;

[0095] Packet sequence number: indicates the packet sequence number of the confirmed message in the storage space of the previous hop;

[0096] Optional: indicates optional fields that can be used to extend other functions;

[0097] Code segment: Indicates the type of ICMP block confirmation message, with optional values ​​of 1 to 5. Specifically:

[0098] The code segment is 1, indicating that the message is a confirmation message of a message in a block;

[0099] The code segment 2 indicates that the message is a message sequence confirmation message in a block;

[0100] The code segment 3 indicates that the message is a block confirmation message;

[0101] The code segment is 4, indicating that the message is a block sequence confirmation message;

[0102] The code segment 5 indicates that the message is an ACK message of a block confirmation message.

[0103] Taking code segment 1 as an example, the ICMP message structure is as follows: Figure 4 shown.

[0104] (2) A variety of flexible block confirmation methods are proposed, including confirmation of the entire block or batches of blocks, and confirmation of one or more messages in a block. Through these flexible confirmation and notification mechanisms, the reliability of message transmission is guaranteed and the overhead of message confirmation signaling is reduced.

[0105] Based on the above method, the present invention provides a storage and forwarding device based on source routing, the device comprising:

[0106] Routing processing subsystem: used to calculate an optimal path based on the SIDs published by each node in the network using the routing protocol, and convert it into an ordered list of segments to generate a SID routing table;

[0107] Message forwarding subsystem: used for parsing, forwarding and confirming SR messages;

[0108] Message storage subsystem: used for saving, releasing and reading SR messages.

[0109] The routing processing subsystem includes the SID configuration module, routing protocol module, SR routing calculation module, and SID routing table. The SID configuration module is used to implement the SID configuration of each node in the spatial network; at the same time, the SID information of the node is transmitted to the routing protocol module, and the SID routing information is published through the routing protocol module; the SR routing calculation module uses the routing algorithm to calculate an optimal path based on the SID routing information published by the routing protocol module and according to the application service requirements, and converts it into an ordered SID arrangement of segments and network nodes, and stores it in the SID routing table.

[0110] The message forwarding subsystem includes two major parts: an SR forwarding module for receiving SR messages of the input link and an ICMP module for receiving ICMP messages of the input link. The SR forwarding module includes an SR message receiving and parsing module, an SR routing lookup module, an SR message encapsulation and sending module, a local SID table, and a SID forwarding table. The local SID table is formed by the SID configuration. The present invention adds the configuration of the End.XS SID; the SID forwarding table is formed by the SID routing table. The SR message receiving and parsing module is used to obtain and parse the SID, search the local SID table, and execute the message storage operation if it matches the End.XS SID, and pass the processed SR message to the SR routing lookup module to search the SID forwarding table to determine the forwarding interface, then perform the forwarding operation, and pass the SR message to the SR message encapsulation and sending module;

[0111] The ICMP module includes a block confirmation message module and a block confirmation ACK message module. The block confirmation message module is used to pass in messages with code segments 1 to 4 after parsing the ICMP message, and obtain the confirmed block number and packet number information, and then pass this information to the message storage subsystem. The block confirmation ACK message module is used to send an ACK message to the other end.

[0112] The block confirmation message module includes the following fields:

[0113] Message type: indicates the new ICMP message type applied for;

[0114] Checksum: indicates the checksum, which can be used to detect whether errors occur during the transmission of ICMP block messages;

[0115] Block number: indicates the block number of the confirmed message in the storage space of the previous hop;

[0116] Packet sequence number: indicates the packet sequence number of the confirmed message in the storage space of the previous hop;

[0117] Optional: indicates optional fields that can be used to extend other functions;

[0118] Code segment: Indicates the type of ICMP block confirmation message.

[0119] The message storage subsystem includes a message storage module, a message reading module, a block deletion module, and several blocks. The message storage module is used to store the received SR message in the SSD of the current node to form blocks. The block deletion module is used to release the storage resources of the current node based on the block number and packet number output by the block confirmation message module. The message reading module is used to perform message reading operations.

[0120] Based on the above method, the specific processing steps of the store-and-forward device based on source routing are as follows.

[0121] In the routing processing subsystem, the SID configuration module implements the configuration of the local SID and forms the local SID table in the message forwarding subsystem. At the same time, the SID information is transmitted to the routing protocol module, and the SID Locator routing information is published through the routing protocol module. The SR routing calculation module uses the routing algorithm to calculate an optimal path based on the SID routing information published by the routing protocol module and according to the application service requirements, and converts it into an ordered SID arrangement of the end-to-end network path, stores it in the SID routing table, and forms the SID forwarding table in the message forwarding subsystem;

[0122] In the message forwarding subsystem, the SR message of the input link is transmitted to the SR forwarding module, and the ICMP message of the input link is transmitted to the ICMP module. After receiving the SR message, the SR forwarding module performs the following actions in sequence:

[0123] (1) The SR message is passed to the receiving and parsing module, the SID is obtained and parsed, the local SID table is searched, and End.XS is matched. The Function of the SID indicates the message storage operation. The SR message and its parsing information are passed to the message storage module in the message storage subsystem, and the message is saved in the block file;

[0124] (2) Determine the status of the next hop node. If the next hop node is reachable, pass the SR message to the SR routing lookup module, search the End.XS SID forwarding table to determine the forwarding interface; if the next hop node is unreachable, no forwarding operation is performed;

[0125] (3) After determining the forwarding interface, the SR message is passed to the SR message encapsulation and sending module, the number of remaining segment entries in the SRH is reduced by 1, the corresponding next-hop SID in the segment list is obtained, the block number and packet number are added to the argument field of the SID to form a 128-bit IPv6 address, which is copied to the destination address of the message, encapsulated in the Segment Routing Header (SRH), and then the SR message is sent. The block number and packet number are used by the next-hop node to confirm the receipt of the message.

[0126] After successfully storing the SR message, the current node needs to send a message confirmation message to the previous hop node to notify the previous hop node to release the successfully sent block and packet from the storage resources of the current node.

[0127] After receiving an ICMP message, the ICMP module performs the following actions in sequence:

[0128] (1) Perform ICMP message parsing. If the code segment field of the ICMP message is 1 to 4, it is passed to the block confirmation message module to obtain the confirmed block number and packet number information. This information is then passed to the block deletion module in the message storage subsystem to release the block and packet. At the same time, the block confirmation ACK message module sends an ACK message to the other end.

[0129] (2) The block confirmation module sets a confirmation retransmission timer. If the ACK for the block confirmation message has not been received from the previous hop node when the timer expires, the block confirmation message will be retransmitted. If an ICMP message with a code segment field of 5 is received, the timer will be turned off.

[0130] In the message storage subsystem, the message storage module stores the received SR message in the SSD of the current node to form blocks. If the storage is successful, the ICMP is notified to send a block confirmation message based on the parsing information output by the SR message receiving and parsing module. The block deletion module releases the storage resources of the current node based on the block number and packet number output by the block confirmation message module. If the release is successful, the ICMP is notified to send a block confirmation ACK message. The message reading module reads and recovers the message if the next-hop node is reachable and the current node has an SR message to be sent, and transmits the recovered message to the SR routing lookup module for message forwarding.

[0131] The forwarding process of storage files is the same as that of common SR packets, which is hop-by-hop forwarding based on source routing.

[0132] The message forwarding subsystem and the message storage subsystem can be deployed in the CPU. In order to improve performance, the present invention deploys these two subsystems in the FPGA, and in the future they can also be solidified into the AISC or network processor. In order to improve the block file reading and writing performance, the present invention recommends that the storage medium is SSD.

[0133] A specific application scenario is described as follows.

[0134] Based on the existing Internet architecture, the present invention expands the data plane function of IP forwarding at the network layer to realize the storage and forwarding function. It can be used for ground Internet, deep space network, deep space network and geosynchronous orbit satellite (Geostationary Earth Orbit, GEO) / medium orbit satellite (MEO) / low orbit satellite (LEO) hybrid networking, mobile vehicle network networking, and can also be used for intermittent communication networks and self-organizing networks.

[0135] A practical application scenario of the present invention is deep space network data transmission. A typical scenario is shown in the attached Figure 6 To illustrate how the present invention can be used in an actual network, the attached Figure 6 Abstract Figure 7 The five-node topology shown in Figure 1 includes deep space terminals, deep space relay satellites, geosynchronous orbit satellites, ground stations, and ground servers. Deep space relay satellites, geosynchronous orbit satellites, and ground stations all support IPv6 and SRv6. The specific internal structure is shown in the attached figure. Figure 2 As shown; both the deep space terminal and the ground server support IPv6.

[0136] 1. SID configuration

[0137] The IPv6 address of the deep space terminal is configured as fc00:1::1 / 64, and the IPv6 address of the ground server is configured as fc00:2::2 / 64. The SID configuration of the deep space relay satellite, geosynchronous orbit satellite, and ground station is shown in Table 2. Locator indicates the IPv6 routing prefix; Function configured as 200 indicates the execution of the End.XS operation; Function configured as 300 indicates the execution of the End.DXS operation. Specifically, the End.DX6 forwarding operation is executed first, and then the message storage operation is executed.

[0138] Table 2. SID stack for deep space network networking example scenario

[0139]

[0140] 2. Generation of segment list

[0141] Deep space relay satellites, geosynchronous orbit satellites, and ground stations configure their own SRv6 SIDs, generate local SID tables, and publish SID information through routing protocols to calculate SID forwarding tables. According to the SID forwarding table, messages need to be forwarded from deep space relay satellites to geosynchronous orbit satellites, and then forwarded from geosynchronous orbit satellites to ground stations, and deep space relay satellites, geosynchronous orbit satellites, and ground stations all need to implement store-and-forward functions. In addition, the ground station also needs to decapsulate IPv6 messages and forward the original IPv6 messages to the ground server.

[0142] As the first node of source routing, the deep space relay satellite needs to configure and encapsulate the SRH according to the SID forwarding table to generate a segment list. In the segment list, the first hop destination address is 2001:DB8:100:1:200:: / 80, indicating that the store-and-forward operation is performed on the deep space relay satellite; the second hop destination address is 2001:DB8:200:1:200:: / 80, indicating that the store-and-forward operation is performed on the geosynchronous orbit satellite; the third hop destination address is 2001:DB8:300:1:300:: / 80, indicating that the store-and-forward and message decapsulation operations are performed on the ground station.

[0143] 3. Store and forward process

[0144] To realize the data transmission service from the deep space terminal to the ground server, the specific process is as follows:

[0145] (3.1) The deep space terminal sends the original IPv6 message from the binding interface to the deep space relay satellite;

[0146] (3.2) Encapsulate the IPv6 data packet with destination address fc00:2::2 into SRv6 on the deep space relay satellite and configure SRH;

[0147] (3.3) The deep space relay satellite searches the local SID table according to the destination address information in the IPv6 message header, matches End.XS SID 2001:DB8:100:1:200:: / 80, and performs a store-and-forward operation at the current node: the message is stored in the block file of the current node, and a packet number is assigned. If the next-hop node, the geosynchronous orbit satellite, is reachable at this time, the routing table is searched, the SID of the geosynchronous orbit satellite is taken out, the block number and packet number information are added to the SID of the geosynchronous orbit satellite to generate a 128-bit IPv6 address, the destination address of the message is modified to the generated IPv6 address, the message is sent, and the next-hop node receives the confirmation; if the next-hop node, the geosynchronous orbit satellite, is unreachable at this time, the message is only stored;

[0148] (3.4) After the geosynchronous orbit satellite receives the message, it searches the local SID table according to the destination address (SID with parameters of block number and packet number) in the IPv6 message header, matches End.XS SID 2001:DB8:200:1:200:: / 80, and performs the store-and-forward operation in the same way as in step (3.3);

[0149] (3.5) After completing the current node storage of the message, the geosynchronous orbit satellite sends a block confirmation message of the message to the deep space relay satellite;

[0150] (3.6) The deep space relay satellite releases the storage resources of the current node based on the received block confirmation message. After successful release, it returns a block confirmation ACK message to the geosynchronous orbit satellite and retransmits the lost message.

[0151] (3.7) After receiving the message, the ground station searches the local SID table according to the destination address information in the IPv6 message header and matches End.DXS SID 2001:DB8:300:1:300:: / 80. First, perform a store-and-forward operation at the current node: store the message at the current node. If the next-hop node ground server is reachable at this time, search the routing table, perform IPv6 message decapsulation, remove the SRH header, obtain the original IP message, and search the IPv6 routing table to match the outbound interface, and forward the original IPv6 message to the ground server; if the next-hop node ground server is unreachable at this time, only store the message at the current node. Note that at this time, the message transmission from the ground station to the ground server side is restored to the traditional IP forwarding process, and no reliable confirmation retransmission is required at the IP layer;

[0152] (3.8) After completing the current node storage of the message, the ground station sends a block confirmation message of the message to the geosynchronous orbit satellite;

[0153] (3.9) The geosynchronous orbit satellite releases the storage resources of the current node based on the received block confirmation message, returns a block confirmation ACK message to the ground station after successful release, and retransmits the lost message;

[0154] (3.10) The ground server receives the message from the ground station. At this point, the data transmission from the deep space terminal to the ground server is completed.

Claims

1. A store-and-forward method based on source routing, characterized in that: Implementing the data plane store-and-forward function at the network IP layer includes the following steps: S1. Implement hop-by-hop store-and-forward through source routing. Source routing calculates the forwarding path based on different business requirements and converts the path into an ordered list of segments and network nodes. The ordered list of segments and network nodes is encapsulated into the source routing header of the message header. The intermediate nodes of the path only need to perform segment-by-segment forwarding according to the ordered list in the source routing header. S2. IP message storage; S3 IP store and forward confirmation retransmission, after the successful storage of the IP message, the current node needs to send a message confirmation message to the previous hop node, notifying the previous hop node will have been successfully sent message released from the current node's storage resources; The hop-by-hop store-and-forwarding by source routing described in step S1 is implemented by source routing based on IPv6, i.e., SRv6, and includes: 1) Define a new SRv6 segment identifier: End.XS SID. When the next-hop network node is reachable, the current network node will first forward the received SR message, then store it in the block file, and wait for the next-hop node to confirm receipt; if the next-hop node is unreachable, the current node will only store the SR message in the block file; 2) Add new parameters including block number and packet number in the Argument of End.XS SID to identify the location information of message storage; 3) Implement the configuration of the End.XS SID on the control plane to form a local SID table. When the local router matches the End.XS, it performs the store and forward operation. 4) Publish the Locator route of the End.XS SID through the routing protocol to form a SID routing table, which is used to determine the forwarding interface of the specified address; The IP message storage in step S2 adopts a message storage file block, and divides the storage space into multiple blocks, each block is a file, and one block stores multiple SR message binary byte streams; The file format of the message storage file block includes the following fields: Block priority: indicates the priority category of the block, which is used to determine the order in which the blocks are sent; Original message buffer: represents the data cached by the block, which consists of packets; Number of packets: indicates the number of packets saved in the block; The packet includes the following fields: Packet length: indicates the number of bytes occupied by the packet; Packet number: indicates the sequence number of the packet in the block; Packet payload: indicates the data information carried in the packet; The confirmation retransmission of the store-and-forward described in step S3 is implemented based on the ICMP protocol. The block confirmation message of ICMP includes the following fields: Message type: indicates the new ICMP message type applied for; Checksum: indicates the checksum, which is used to detect whether errors occur during the transmission of ICMP block messages; Block number: indicates the block number of the confirmed message in the storage space of the previous hop; Packet sequence number: indicates the packet sequence number of the confirmed message in the storage space of the previous hop; Optional: indicates optional fields, used for the extension of other functions; Code segment: Indicates the type of ICMP block confirmation message, with a value of 1 to 5. Specifically: The code segment is 1, indicating that the message is a confirmation message of a message in a block; The code segment 2 indicates that the message is a message sequence confirmation message in a block; The code segment 3 indicates that the message is a block confirmation message; The code segment is 4, indicating that the message is a block sequence confirmation message; The code segment 5 indicates that the message is an ACK message of a block confirmation message.

2. The store-and-forward method based on source routing according to claim 1, characterized in that: The confirmation retransmission described in step S3 includes confirmation for the entire block or batch blocks, or confirmation for one or more messages in the block.

3. A store-and-forward device based on source routing, characterized in that: The storage and forwarding device is based on the storage and forwarding method based on source routing according to any one of claims 1 to 2, comprising: Routing processing subsystem: used to calculate an optimal path based on the SIDs published by each node in the network using the routing protocol, and convert it into an ordered list of segments to generate a SID routing table; Message forwarding subsystem: used for parsing, forwarding and confirming SR messages; Message storage subsystem: used for saving, releasing and reading SR messages.

4. The store-and-forward device based on source routing according to claim 3, characterized in that: The message forwarding subsystem and the message storage subsystem are deployed in the CPU for implementation, or the message forwarding subsystem and the message storage subsystem are deployed in the FPGA for implementation, or are solidified into the AISC or the network processor.

5. The store-and-forward device based on source routing according to claim 3, characterized in that: The storage medium used by the source routing-based storage and forwarding device is SSD.