ICN-based IPFS service optimization method

The ICN-based IPFS service optimization method addresses compatibility and optimization limitations by configuring extended IPFS nodes with ICN routers, ensuring seamless integration and improved data retrieval efficiency.

JP2026501410APending Publication Date: 2026-01-14INST OF ACOUSTICS CHINESE ACAD OF SCI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2025539442
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-01-09
Filing Date
2023-01-17
Publication Date
2026-01-14

AI Technical Summary

Technical Problem

Conventional ICN-based IPFS service optimization methods are incompatible with traditional TCP/IP networks and have limited optimization capabilities, leading to issues such as poor end-to-end data transmission, low data availability, and inefficient addressing in high-performance service scenarios.

Method used

An ICN-based IPFS service optimization method where an extended IPFS node is configured with an ICN router, allowing it to form both an IPFS network with traditional nodes and an ICN network with other routers, enabling data retrieval directly from the extended node without establishing additional connections.

Benefits of technology

Ensures compatibility with existing IPFS networks and enhances service quality by allowing direct data provision from extended nodes, eliminating the need for additional connections and improving addressing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026501410000001_ABST
    Figure 2026501410000001_ABST
Patent Text Reader

Abstract

The present invention discloses an ICN-based IPFS service optimization method, in which an extended IPFS node is constituted by an ICN router, the extended IPFS node and a native IPFS node constitute an IPFS network, the native IPFS node and the extended IPFS node are IPFS peers with each other, and the extended IPFS node and other ICN routers constitute an ICN network, the method includes: in a process in which a first IPFS node obtains data according to an IPFS mechanism, after an index information obtainment request arrives at the extended IPFS node, the extended IPFS node returns index information of the data stored in the node to the first IPFS node; the first IPFS node initiates a data obtainment request to the extended IPFS node based on the index information; after the extended IPFS node receives the request, it returns the locally stored data or the data obtained from the ICN network to the first IPFS node.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] (Related Applications) This application claims priority from Chinese Patent Application No. 2023100274405, entitled "ICN-Based IPFS Service Optimization Method," filed on January 9, 2023, the entire contents of which are incorporated herein by reference.

[0002] The present invention relates to the fields of computer network technology, information center network technology, and distributed data storage, and in particular to an ICN-based IPFS service optimization method. [Background technology]

[0003] The HTTP protocol has had a significant impact on people's internet behavior. However, with the emergence of new network applications such as 5G and IoT, not only is the number of accesses increasing rapidly, but network data distribution is becoming more fragmented and decentralized. This is gradually exposing the shortcomings of the browser / server (B / S) and client / server (C / S) architectures that HTTP employs. IPFS (Inter Planetary File System) is a new P2P distributed data system that incorporates many of the leading technologies of traditional distributed systems and is intended to replace the traditional HTTP protocol. Currently, the IPFS network is based on the TCP / IP architecture, resulting in a number of issues with service quality and performance. For example, poor end-to-end data transmission and network and node status detection capabilities result in poor IPFS service content delivery; frequent online / offline IPFS nodes result in low data availability; and nodes use a distributed hash table (DHT) to address content, which means the logical topology of network nodes does not match the physical topology, resulting in low addressing efficiency and irrational addressing results. The ICN network is based on an architecture in which identifiers and addresses are separated, allowing any entity in the ICN network (Information-Centric Networking) to be uniquely identified by an ICN identifier. The data plane and control plane are separated, and the network architecture of the message routing and forwarding mechanism for destination addresses is changed as needed in cooperation with channels according to dynamically detected network conditions, thereby resolving a series of problems in the TCP / IP architecture. To combine the ICN network with IPFS to realize a high-performance IPFS service, it is necessary to provide an ICN-based IPFS service optimization method.

[0004] Conventional IPFS service optimization methods in ICNs mainly include the following policies. One approach is to use NDN as an additional network layer architecture for IPFS based on the NDN network architecture. Due to its inherent name-based routing, NDN eliminates the need for name resolution and instead obtains required data through a symmetric routing method for interest packets and data packets. At the same time, NDN's self-adaptive, stateful routing mechanism can monitor and address congestion at producers and direct access to less congested producers. Furthermore, NDN relays with added satisfaction point tables can monitor the location of content and publish this information to the control plane. This approach realizes a load-based self-adaptive forwarding policy at the network layer, thereby improving IPFS service performance. However, this approach is incompatible with the traditional TCP / IP network architecture and cannot provide services to conventional IPFS nodes. Another approach is to use a hybrid addressing method combining an ICN resolution system and a DHT to reduce content addressing time. However, after the IPFS node performs addressing, it still needs to establish a new connection with other nodes to transmit data, and the optimization level has a certain bottleneck.

[0005] Therefore, the conventional ICN-based IPFS service optimization method is incompatible with the conventional IPFS network, or has a relatively limited degree of optimization, and is not applicable to high-performance service scenarios in the combined ICN and IPFS architecture. Summary of the Invention [Problem to be solved by the invention]

[0006] The present invention aims to overcome the deficiencies of the prior art and provide an ICN-based IPFS service optimization method. [Means for solving the problem]

[0007] In order to achieve the above object, the present invention provides an ICN-based IPFS service optimization method, in which an extended IPFS node is configured by an ICN router, the extended IPFS node and a native IPFS node form an IPFS network, the native IPFS node and the extended IPFS node are IPFS peers with each other, and the extended IPFS node and other ICN routers form an ICN network; The method comprises: Step 1), where a first IPFS node initiates a data retrieval service, and the first IPFS node is a native IPFS node; Step 2) a first IPFS node queries a second IPFS node where the data index information is stored by an IPFS distributed routing system, and obtains the data index information from the second IPFS node; If the second IPFS node is an extended IPFS node, go to step 4), otherwise follow the IPFS-specific process and the service will terminate. Step 4) the second IPFS node returns index information about the data stored in the second IPFS node to the first IPFS node; Step 5) the first IPFS node initiates a data retrieval request to the second IPFS node based on the index information; After receiving the data acquisition request, the second IPFS node determines whether the data exists in the local ICN router. If NO, proceed to step 7); otherwise, proceed to step 8). Step 6); Step 7) a second IPFS node converts the IPFS data identifier into an ICN data identifier, initiates a data retrieval request to the ICN network, and retrieves the data through an ICN data retrieval method; Step 8) the second IPFS node returns the data to the first IPFS node, and the data retrieval service ends.

[0008] As an improvement to the above method, the extended IPFS node has a unique node identifier and node address and registers with the IPFS distributed routing system, the node identifier generation method meets IPFS requirements, it can communicate with and authenticate the identity of other IPFS nodes, and the node address is the address that configures its ICN router.

[0009] As an improvement to the above method, the native IPFS node is a node that runs a standard IPFS program.

[0010] As an improvement of the above method, the native IPFS node and the extended IPFS node both store data index information according to the IPFS data index storage mechanism, and provide mapping information between data and its corresponding storage node.

[0011] As an improvement to the above method, the ICN network is based on an architecture in which identifiers and addresses are separated, allowing any entity in the ICN network to be uniquely identified by an ICN identifier, and re-addressed in conjunction with a channel as needed based on detected network conditions; an ICN identifier resolution system maintains the mapping relationship between ICN identifiers and network addresses, and provides identifier registration, deregistration and resolution services.

[0012] As an improvement of the above method, the IPFS distributed routing system in step 2) is a distributed routing system that meets IPFS requirements and has the function of providing addressing and routing to IPFS nodes.

[0013] As an improvement to the above method, the data acquisition request in step 5) is an IPFS data request message.

[0014] As an improvement to the above method, the reply data in step 8) is an IPFS data response message.

[0015] As an improvement to the above method, the method further includes, before step 1), a step in which the extended IPFS node stores index information and data, specifically: The extended IPFS node has received index information to store; and The enhanced IPFS node obtains the data from a corresponding IPFS node that has the data stored in its index information; After the enhanced IPFS node completes retrieving the data, storing the data in the ICN router based on the node load. [Effects of the Invention]

[0016] Compared with the prior art, the advantages of the present invention are as follows:

[0017] (1) In this method, when an IPFS node acquires data based on the IPFS method, if the index information of the data to be acquired is stored in the extended IPFS node, the extended IPFS node can not only provide the index information but also provide the data, without needing to establish a connection with other nodes to acquire the data. (2) This method ensures compatibility with the existing IPFS network and ECO, while improving the service quality of the existing IPFS. [Brief explanation of the drawings]

[0018] [Figure 1] FIG. 1 is a schematic diagram showing the network architecture of the information center network-based IPFS service optimization method according to the present invention. [Figure 2] FIG. 2 is a flowchart illustrating how an enhanced IPFS node stores index information and data according to the present invention. [Figure 3] FIG. 3 is a flowchart illustrating service optimization of an enhanced IPFS node according to the present invention. [Figure 4] FIG. 4 is a schematic diagram illustrating service optimization of an extended IPFS node according to the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0019] The present invention discloses an ICN-based IPFS service optimization method. This method uses an ICN router to construct an extended IPFS node based on ICN technology, which separates identifiers and addresses. The extended IPFS node not only forms an IPFS network together with traditional IPFS nodes, but also forms an ICN network together with other ICN routers. When an extended IPFS node stores IPFS data index information, it must store the corresponding data in the ICN network. According to this mechanism, during the process of an IPFS node acquiring data according to the IPFS mechanism, after a request for index information is received from the extended IPFS node, the extended IPFS node returns index information for the data stored in the node to the requesting IPFS node. The requesting IPFS node initiates a data acquisition request to the extended IPFS node based on the index information. After receiving the request, the extended IPFS node may return data stored locally or data acquired from the ICN network to the requesting IPFS node. In this method, during the process of an IPFS node acquiring data according to the IPFS method, if the data index information to be acquired is stored in the extended IPFS node, the extended IPFS node can provide not only the index information but also the data, eliminating the need to establish a connection with another node to acquire the data. This method ensures compatibility with the existing IPFS network and ECO, while improving the service quality of the existing IPFS.

[0020] The entire IPFS network is composed of native IPFS nodes and extended IPFS nodes, where the native IPFS nodes and extended IPFS nodes are IPFS peers, and the extended IPFS nodes are composed of ICN routers based on ICN technology. When an extended IPFS node stores data index information, it needs to store the corresponding data in the ICN network, and based on this, it can provide extended data retrieval services to the IPFS network. Specifically, it includes the following steps:

[0021] (1) IPFS nodes start data retrieval services.

[0022] (2) The IPFS node queries the IPFS node whose data index information is stored by the IPFS distributed routing system, and obtains the data index information from it.

[0023] (3) If the node is an extended IPFS node, proceed to (4); otherwise, follow the IPFS-specific process and the service will be terminated. (4) The extended IPFS node returns the index information of the data stored in this node to the requesting IPFS node. (5) The requesting IPFS node initiates a data acquisition request to the extended IPFS node based on the index information. (6) After the extended IPFS node receives the data acquisition request, it determines whether the data exists in the local ICN router. If it is not, it proceeds to (7). If it is not, it proceeds to (8). (7) The extended IPFS node converts the IPFS data identifier into an ICN data identifier, initiates a data retrieval request to the ICN network, and retrieves the data according to the ICN data retrieval method; (8) The extended IPFS node sends the data back to the requesting IPFS node, and the service is terminated. As an improvement to the above method, the native IPFS node may be a node that runs standard IPFS programs and initiates and responds to data retrieval and data storage requests to the IPFS network.

[0024] As an improvement of the above method, the IPFS distributed routing system is a distributed routing system that meets IPFS requirements and provides addressing and routing functions to IPFS nodes. The IPFS nodes store data index information according to the IPFS data index storage mechanism, and provide mapping information between data and its corresponding storage nodes.

[0025] As an improvement of the above method, the ICN network may be based on an architecture in which identifiers and addresses are separated, allowing any entity in the ICN network to be uniquely identified by an ICN identifier, and re-addressed in conjunction with a channel as needed based on detected network conditions. An ICN identifier resolution system maintains a mapping relationship between ICN identifiers and network addresses, and provides identifier registration, deregistration and resolution services.

[0026] As an improvement over the above method, the extended IPFS node has the following features: The extended IPFS node is configured as an ICN router and may receive and respond to service requests from the IPFS network. In the IPFS network, the extended IPFS node has a unique node identifier and node address and registers with the IPFS distributed routing system. The node identifier generation method meets IPFS requirements and enables communication and identity authentication with other IPFS nodes. The address of the extended IPFS node is the address that constitutes its ICN router. When an extended IPFS node stores data index information, it must store the corresponding data in the index information in the ICN network. Methods by which the extended IPFS node obtains the corresponding data in the index include, but are not limited to, the extended IPFS node obtaining the data from the IPFS node that stored the data using an IPFS-based data acquisition method, and the extended IPFS node obtaining the data from the ICN node that stored the data using an ICN-based data acquisition method.

[0027] As an improvement to the above method, the ICN router for configuring the enhanced IPFS node described above has the functions of initiating and responding to data retrieval requests in the ICN network, converting IPFS data request messages into ICN data request messages, and constructing data retrieved locally or from the ICN network into IPFS data response messages.

[0028] The technical solution of the present invention will be described in detail below by way of examples with reference to the drawings.

[0029] Example 1 The present invention discloses an ICN-based IPFS service optimization method. This method uses an ICN router to construct an extended IPFS node based on ICN technology, which separates identifiers and addresses. The extended IPFS node not only forms an IPFS network together with traditional IPFS nodes, but also forms an ICN network together with other ICN routers. When an extended IPFS node stores IPFS data index information, it must store the corresponding data in the ICN network. According to this mechanism, during the process of an IPFS node acquiring data according to the IPFS mechanism, after a request for index information is received from the extended IPFS node, the extended IPFS node returns index information for the data stored in the node to the requesting IPFS node. The requesting IPFS node initiates a data acquisition request to the extended IPFS node based on the index information. After receiving the request, the extended IPFS node may return data stored locally or data acquired from the ICN network to the requesting IPFS node. In this method, during the process of an IPFS node acquiring data according to the IPFS method, if the data index information to be acquired is stored in the extended IPFS node, the extended IPFS node can provide not only the index information but also the data, eliminating the need to establish a connection with another node to acquire the data. This method ensures compatibility with the existing IPFS network and ECO, while improving the service quality of the existing IPFS.

[0030] In the described example, Figure 1 is an overall architecture diagram of the IPFS network, where the entire IPFS network is composed of native IPFS nodes and extended IPFS nodes, where the native IPFS nodes and the extended IPFS nodes are IPFS peers with each other, and the extended IPFS nodes are composed of ICN routers based on ICN technology.

[0031] In a specific implementation, the extended IPFS node Peer_1 is configured by an ICN router ICN_Router_1, and its IPFS node identifier is PeerID_1; Figure 2 is a flowchart showing how an extended IPFS node obtains corresponding data when storing index information; The process by which an extended IPFS node stores index information and data is as follows: Step S1001, in which an extended IPFS node Peer_1 receives DHT data mapping information key_1 / value_1 to be stored, where key_1 is CID_1 to store the mapping information data block chunk_1, and value_1 is IPFS node PeerID_2 that stores the data block chunk_1; Step S1002: the extended IPFS node Peer_1 acquires a data block chunk_1 from the IPFS node Peer_2 corresponding to value_1 by the IPFS data block acquisition method; Step S1003: after the extended IPFS node Peer_1 completes acquisition of the data block chunk_1, the extended IPFS node Peer_1 stores the data block in the ICN router ICN_Router_2 based on the node load.

[0032] Figure 3 is a flowchart showing service optimization for an enhanced IPFS node; Figure 4 is a schematic diagram showing service optimization of an extended IPFS node. The service optimization process of an extended IPFS node includes the following steps:

[0033] At S2001, the IPFS node Peer_3 initiates a request to obtain chunk_1 data, In S2002, the IPFS node Peer_3 queries the IPFS node Peer_1 that stores the chunk_1 mapping information, and obtains the mapping information from it. If the query finds that the IPFS node that stores the chunk_1 mapping information is a normal IPFS node, Peer_4, proceed to S2007. In S2003, the extended IPFS node returns the data block index information CID_1 / PeerID_1 to the requesting node Peer_3, In S2004, after the IPFS node Peer_3 receives the index information CID_1 / PeerID_1, it obtains the data block chunk_1 from the extended IPFS node Peer_1, When chunk_1 is stored in the extended IPFS node Peer_1, the process proceeds to S2006. In S2005, after the extended IPFS node Peer_1 receives the acquisition of the mapping request for chunk_1 from the IPFS node Peer_3, it constructs an ICN request message using the data block CID_1 to acquire the data block chunk_1; In S2006, the extended IPFS node returns the data block chunk_1 to the requesting node Peer_3, and the service ends.

[0034] In S2007, the process specific to IPFS is executed between the IPFS node Peer_3 and the IPFS node Peer_4, and the service ends.

[0035] Finally, it should be noted that the above embodiments are merely for illustrating the technical solution of the present invention, and are not intended to limit the same. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art should understand that any modifications or equivalent replacements made to the technical solution of the present invention do not depart from the spirit and scope of the technical solution of the present invention, and should all be included in the scope of the claims of the present invention.

Claims

1. 1. An ICN-based IPFS service optimization method, comprising: An extended IPFS node is configured by an ICN router, the extended IPFS node and a native IPFS node configure an IPFS network, the native IPFS node and the extended IPFS node are IPFS peers with each other, and the extended IPFS node and another ICN router configure an ICN network, and the method includes: Step 1), where a first IPFS node starts a data retrieval service, and the first IPFS node is a native IPFS node; Step 2) a first IPFS node queries a second IPFS node where data index information is stored by an IPFS distributed routing system, and obtains data index information from the second IPFS node; If the second IPFS node is an extended IPFS node, go to step 4), otherwise, follow the IPFS specific process and the service will be terminated. Step 3); Step 4) the second IPFS node returns index information of the data stored in this node to the first IPFS node; Step 5) the first IPFS node initiates a data retrieval request to the second IPFS node based on the index information; Step 6) after the second IPFS node receives the data acquisition request, judge whether the data exists in the local ICN router, if NO, go to step 7), if not, go to step 8); Step 7) a second IPFS node converts the IPFS data identifier into an ICN data identifier, initiates a data retrieval request to the ICN network, and retrieves the data through an ICN data retrieval method; Step 8), the second IPFS node returns the data to the first IPFS node, and the data retrieval service is completed.

2. The ICN-based IPFS service optimization method of claim 1, wherein the extended IPFS node has a unique node identifier and node address and is registered in the IPFS distributed routing system, the node identifier generation method meets IPFS requirements, can communicate with and authenticate the identity of other IPFS nodes, and the node address is the address that configures its ICN router.

3. 2. The ICN-based IPFS service optimization method according to claim 1, wherein the native IPFS node is a node that runs a standard IPFS program.

4. The ICN-based IPFS service optimization method of claim 1, wherein the native IPFS node and the extended IPFS node both store data index information according to the IPFS data index storage mechanism, and provide mapping information of data and its corresponding storage nodes.

5. The ICN network is based on an architecture in which identifiers and addresses are separated, and any entity in the ICN network can be uniquely identified by an ICN identifier, and can be re-addressed in conjunction with a channel as needed based on detected network conditions, and an ICN identifier analysis system maintains a mapping relationship between ICN identifiers and network addresses, and provides identifier registration, deregistration and analysis services. The ICN-based IPFS service optimization method described in claim 1.

6. 2) The ICN-based IPFS service optimization method according to claim 1, wherein the IPFS distributed routing system in step 2) is a distributed routing system that meets IPFS requirements and has the function of providing addressing and routing to IPFS nodes.

7. 2. The ICN-based IPFS service optimization method according to claim 1, wherein the data acquisition request in step 5) is an IPFS data request message.

8. 2. The ICN-based IPFS service optimization method according to claim 1, wherein the return data in step 8) is an IPFS data response message.

9. The method further includes, before step 1), a step in which the extended IPFS node stores index information and data, specifically: The enhanced IPFS node receives index information to store; and The enhanced IPFS node obtains the data from the corresponding IPFS node in which the data is stored in the index information; 2. The ICN-based IPFS service optimization method of claim 1, further comprising: after the enhanced IPFS node completes data acquisition, storing the data in the ICN router based on node load.

Citation Information

Patent Citations

  • Data transmission system with in-network storage capability

    CN114697347A

  • Image Distribution Method and Apparatus, and Image Obtaining Method and Apparatus

    US20200036772A1