CN113824785A - Resource downloading method, system and storage medium based on point-to-point network - Google Patents

Resource downloading method, system and storage medium based on point-to-point network Download PDF

Info

Publication number
CN113824785A
CN113824785A CN202111106311.2A CN202111106311A CN113824785A CN 113824785 A CN113824785 A CN 113824785A CN 202111106311 A CN202111106311 A CN 202111106311A CN 113824785 A CN113824785 A CN 113824785A
Authority
CN
China
Prior art keywords
node
resource
network
peer
downloading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111106311.2A
Other languages
Chinese (zh)
Inventor
祝永见
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yici Netlink Hangzhou Technology Co ltd
Original Assignee
Yici Netlink Hangzhou Technology Co ltd
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 Yici Netlink Hangzhou Technology Co ltd filed Critical Yici Netlink Hangzhou Technology Co ltd
Priority to CN202111106311.2A priority Critical patent/CN113824785A/en
Publication of CN113824785A publication Critical patent/CN113824785A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a resource downloading method, a system and a storage medium based on a point-to-point network, wherein the method comprises the following steps: the downloading node acquires the resource information and sends a downloading request to the resource node according to the first network information of the resource node contained in the resource information; the resource node extracts second network information of the download node from the download request and searches for a shortest path to the download node from a preset point-to-point network topological graph according to the second network information; and the resource node sends the shortest path to the downloading node so that the downloading node downloads the corresponding resource by using the shortest path radial resource node. The resource node in the invention can determine the shortest path according to the preset point-to-point network topological graph and send the shortest path to the downloading node according to the downloading request, so that the downloading node can directly download the resource to the resource node through the shortest path without the participation of cloud acceleration edge equipment, thereby ensuring the downloading efficiency, avoiding the capital cost brought by the deployment of the cloud acceleration edge equipment and reducing the deployment cost of the point-to-point network.

Description

Resource downloading method, system and storage medium based on point-to-point network
Technical Field
The present invention relates to the field of network technologies, and in particular, to a resource downloading method, system, and storage medium based on a peer-to-peer network.
Background
A Peer-to-Peer network (P2P, Peer-to-Peer) is a network constructed by using Peer-to-Peer technology, in which each node in the network can be used as both a client and a server, i.e. a downloading node having a downloading requirement and a resource node providing resources. In the related art, a plurality of cloud acceleration edge devices are generally arranged in a peer-to-peer network, and are used for caching resource data of resource nodes according to the requirements of download nodes, and the download nodes download the resource data through the devices. However, the cloud acceleration edge device needs to cache the resource data, so that the downloading step is complicated; meanwhile, with the expansion of the network scale, the number of the cache devices such as the cloud acceleration edge device needs to be increased, and further the deployment cost of the point-to-point network is increased.
Disclosure of Invention
The invention aims to provide a resource downloading method, a resource downloading system and a storage medium based on a peer-to-peer network, wherein a resource node can determine a path for providing a downloading service for the downloading node according to a preset peer-to-peer network topological graph, and directly provide the downloading service for the downloading node by using the path, the whole downloading process does not need cloud acceleration edge equipment to participate, the downloading step can be simplified, the capital cost caused by the deployment of cache equipment such as the cloud acceleration edge equipment can be avoided, and the deployment cost of the peer-to-peer network can be reduced.
In order to solve the above technical problem, the present invention provides a resource downloading method based on a peer-to-peer network, comprising:
a downloading node acquires resource information and sends a downloading request to the resource node according to first network information of the resource node contained in the resource information;
the resource node extracts second network information of the download node from the download request, and searches for a shortest path to the download node from a preset point-to-point network topological graph according to the second network information;
and the resource node sends the shortest path to the downloading node so that the downloading node downloads the corresponding resource to the resource node by using the shortest path.
Optionally, the searching for the shortest path to the download node from a preset peer-to-peer network topology according to the second network information includes:
the resource node sends the first network information and the second network information to a preset topology node;
the topology node searches an accessible path from the resource node to the download node by using a preset point-to-point network topology graph according to the first network information and the second network information;
and if the accessible paths are inquired, the topological nodes send the shortest paths in the accessible paths to the resource nodes.
Optionally, the method further comprises:
when detecting that other nodes directly establishing point-to-point connection change, nodes in the point-to-point network send direct connection change information to the topology nodes;
and the topology node updates the preset point-to-point network topology map by using the direct connection change information.
Optionally, after searching for an accessible path from the resource node to the download node in a preset peer-to-peer network topology, the method further includes:
if the accessible path is not inquired, the topology node sends preset cloud relay service information to the resource node, so that the resource node provides the download service for the download node by using the cloud relay service.
Optionally, the acquiring, by the download node, the resource information includes:
and the downloading node acquires the resource information from a preset directory node.
The invention also provides a resource downloading system based on the point-to-point network, which comprises: a download node and a resource node, wherein,
the download node is used for acquiring resource information and sending a download request to the resource node according to the first network information of the resource node contained in the resource information; downloading the corresponding resources to the resource nodes by using the shortest path sent by the resource nodes;
the resource node is used for extracting second network information of the download node from the download request and searching the shortest path to the download node from a preset point-to-point network topological graph according to the second network information; and sending the shortest path to the downloading node.
Optionally, the method further comprises: a topology node, wherein,
the resource node is further configured to send the first network information and the second network information to the preset topology node;
the topology node is configured to search, according to the first network information and the second network information, an accessible path from the resource node to the download node in a preset peer-to-peer network topology map; and if the accessible paths are inquired, the topological nodes send the shortest paths in the accessible paths to the resource nodes.
Alternatively,
the topology node is further configured to update the preset peer-to-peer network topology map by using direct connection change information; and the direct connection change information is generated and sent to the topology node by the node in the point-to-point network when detecting that other nodes directly establishing the point-to-point connection change.
Alternatively,
the topology node is further configured to send preset cloud relay service information to the resource node if the accessible path is not queried;
the resource node is further configured to provide the download service to the download node by using a cloud relay service.
The invention also provides a storage medium, wherein the storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, the resource downloading method based on the peer-to-peer network is realized.
The invention provides a resource downloading method based on a point-to-point network, which comprises the following steps: a downloading node acquires resource information and sends a downloading request to the resource node according to first network information of the resource node contained in the resource information; the resource node extracts second network information of the download node from the download request, and searches for a shortest path to the download node from a preset point-to-point network topological graph according to the second network information; and the resource node sends the shortest path to the downloading node so that the downloading node downloads the corresponding resource to the resource node by using the shortest path.
Therefore, after acquiring the resource information, the download node in the invention directly sends a download request to the resource node according to the first network information contained in the information, and does not need to send the download request to the cloud acceleration edge device; after receiving the request, the resource node directly provides downloading service to the downloading node by using the shortest path to the downloading node, so that the downloading node directly downloads the required resource data from the downloading node without the participation of cloud acceleration edge equipment, thereby not only avoiding the complex downloading process generated by the cloud acceleration edge equipment, but also avoiding the capital cost brought by the deployment of cache equipment such as the cloud acceleration edge equipment and reducing the deployment cost of the point-to-point network; meanwhile, the download path between the resource node and the download node is the shortest path generated based on the point-to-point network topological graph, so that the influence of node forwarding on the download service can be reduced, and the download speed and efficiency are further ensured. The invention also provides a resource downloading system and a storage medium based on the point-to-point network, which have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a resource downloading method based on a peer-to-peer network according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a peer-to-peer network according to an embodiment of the present invention;
fig. 3 is a block diagram of a resource downloading system based on a peer-to-peer network according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related art, a plurality of cloud acceleration edge devices are generally arranged in a peer-to-peer network, and are used for caching resource data of resource nodes according to the requirements of download nodes, and the download nodes download the resource data through the devices. However, the cloud acceleration edge device needs to cache the resource data, so that the downloading step is complicated; meanwhile, with the expansion of the network scale, the number of the cache devices such as the cloud acceleration edge device needs to be increased, and further the deployment cost of the point-to-point network is increased. In view of the above, the present invention provides a resource downloading method based on a peer-to-peer network, wherein a resource node may determine a path for providing a downloading service to a downloading node according to a preset peer-to-peer network topology, and directly provide the downloading service to the downloading node using the path, and the whole downloading process does not require a cloud acceleration edge device to participate, so that the downloading step may be simplified, the capital cost caused by deploying a cache device such as a cloud acceleration edge device may be avoided, and the deployment cost of the peer-to-peer network may be reduced. Referring to fig. 1, fig. 1 is a flowchart of a resource downloading method based on a peer-to-peer network according to an embodiment of the present invention, where the method includes:
s101, the downloading node acquires the resource information and sends a downloading request to the resource node according to the first network information of the resource node contained in the resource information.
In the embodiment of the invention, when a resource downloading requirement exists in a downloading node, related resource information is acquired, and a downloading request is directly sent to the resource node according to first network information of the resource node contained in the resource information to inform the resource node of providing downloading service, wherein the resource information contains a resource name, a type and a node position for storing the resource, and the first network information is communication information required for network communication to the resource node, such as an IP address, an MAC address and the like; of course, if each node in the peer-to-peer network is provided with a node ID for unique identification, the first network information may further include the node ID of the resource node. Obviously, in the embodiment of the invention, the downloading node does not need to send the downloading request to the cloud acceleration edge device, but directly sends the request to the resource node, so that the step of sending the request to the cloud acceleration edge device to enable the device to cache the resource can be omitted, the step of downloading the point-to-point network resource is simplified, and the efficiency is improved. It should be noted that the embodiment of the present invention does not limit the specific form of the download request, and the download request may be network request information capable of representing the download requirement, and may be set according to the actual application requirement; the embodiment of the invention also does not limit the transmission mode of the downloading request, and can refer to the related technology of the network.
Furthermore, the embodiment of the present invention does not limit the way in which the downloading node obtains the resource information, for example, each node may preset a resource information directory, and the directory stores the resource information corresponding to each resource, so that the downloading node can obtain the resource information from the resource information directory inside the downloading node; of course, it is also possible to designate a node in the peer-to-peer network as a directory node, where the node is preset with a resource information directory, and each node may upload resource information corresponding to its own resource to the directory node for management, and the download node may also obtain required resource information through the directory node. In the embodiment of the invention, in order to avoid repeatedly storing the resource information, a single directory node can be appointed and used for uniformly storing the resource information.
In one possible case, the obtaining resource information by the downloading node may include:
step 11: and the downloading node acquires the resource information from the preset directory node.
Further, it should be emphasized that the resource node, the download node, and the directory node in the embodiment of the present invention are all user terminal devices in a peer-to-peer network, any terminal device in the network can be used as the resource node, the download node, and the directory node, and the identities of the nodes can be switched according to actual application requirements.
S102, the resource node extracts second network information of the download node from the download request, and searches for a shortest path to the download node from the preset point-to-point network topological graph according to the second network information.
It is understood that, in order to transmit a download request through the network, the request should include the second network information of the download node, where the second network information is consistent with the first network information and is also the communication information for network communication to the download node, reference may be made to the description in the above embodiments; after the resource node obtains the second network information, the shortest path to the downloading node can be inquired from a preset point-to-point network topological graph, and then the downloading node can be provided with downloading service by utilizing the path, wherein the graph contains the connection relation of each node establishing point-to-point connection in the point-to-point network. In other words, the resource node in the embodiment of the present invention can directly provide a download service to the download node, and does not need to pass through the cloud acceleration edge device, so that the cloud acceleration edge device can be avoided from being used in the full download process, the extra steps brought by the cloud acceleration edge device for downloading can be simplified, the deployment cost of deploying the cache device such as the cloud acceleration edge device can be avoided, and the deployment cost of the peer-to-peer network can be reduced; meanwhile, the resource node provides the download service to the download node by using the shortest path to the download node, so that the influence of a link on the download speed can be effectively reduced, and the download stability is ensured.
It will be appreciated that the establishment of a pre-provisioned peer-to-peer network topology requires the collection of peer-to-peer connection information between nodes in the network. The embodiment of the present invention does not limit the main body of collecting information, for example, each node in the network may broadcast the information in the network, in other words, any node stores point-to-point connection information of all nodes in the network; certainly, in order to avoid the influence of information broadcast on the peer-to-peer network and avoid repeatedly storing the same information, a topology node may also be designated, where the topology node is used to manage the peer-to-peer connection conditions of all nodes in the network, and other nodes send the peer-to-peer connection information corresponding to the topology node for unified management. Further, it will be appreciated that the topology nodes can utilize these point-to-point connection scenarios to construct a point-to-point network topology graph. The embodiment of the invention does not limit the generation process of the topological graph, and can refer to the related technology of the topology. Further, when the resource node has a path query request, the corresponding first network information and the second network information of the download node can be sent to the topology node, so that the topology node can determine an accessible path from the resource node to the download node, and further select a shortest path from the accessible paths and return the shortest path to the resource node.
In a possible case, searching for a shortest path to a download node from a preset point-to-point network topology according to the second network information may include:
step 21: the resource node sends the first network information and the second network information to a preset topology node;
step 22: the topology node searches an accessible path from the resource node to the download node in a preset point-to-point network topology graph according to the first network information and the second network information;
step 23: and if the accessible paths are inquired, the topology nodes send the shortest paths in the accessible paths to the resource nodes.
It should be noted that the embodiment of the present invention does not limit how to find the accessible path in the topological graph, and may refer to a related technology of querying a simple path between any two points of an undirected graph. Further, since the peer-to-peer connection in the peer-to-peer network has a change condition, that is, there may not be an accessible path between the download node and the resource node at a certain time, at this time, the resource node may provide the download service to the download node again after waiting for the path to be recovered, and certainly, may also provide the download service to the download node through the cloud relay service, where the cloud relay service is a link relay service provided by the cloud end, and may be used to communicate two isolated peer-to-peer networks. It should be noted that, the embodiment of the present invention does not limit the specific cloud relay service, and reference may be made to the related technology of the cloud service. It can be understood that, if the topology node does not query the accessible path between the download node and the resource node, the topology node may send preset cloud relay service information to the resource node, so that the node provides the download service to the download node through the cloud relay service. The embodiment of the invention also does not limit specific cloud relay service information, and can refer to cloud services and related technologies of relay services.
In a possible case, after searching the accessible path from the resource node to the download node in the preset peer-to-peer network topology map, the method may further include:
step 31: if the accessible path is not inquired, the topology node sends preset cloud relay service information to the resource node, so that the resource node provides a download service to the download node by using the cloud relay service.
Further, it can be understood that when each node in the peer-to-peer network detects that other nodes with which direct peer-to-peer connections are established change (such as newly added, offline, etc.), the change information needs to be sent to the topology node, so that the topology node updates the topology node to ensure smooth communication.
In one possible case, the method may further comprise:
step 41: when detecting that other nodes directly establishing point-to-point connection change, nodes in the point-to-point network send direct connection change information to topology nodes;
step 42: and the topological nodes update the preset point-to-point network topological graph by using the direct connection change information.
Further, it should be noted that the topology node is consistent with the resource node, the download node, and the directory node, and all are user terminal devices in the peer-to-peer network, and reference may be made to the related contents in the foregoing embodiments. In other words, the user terminal devices in the network can be at least the resource node and the download node, and in addition, can also be the target node, the topology node or the combination of the target node and the topology node.
S103, the resource node sends the shortest path to the downloading node so that the downloading node downloads the corresponding resource by using the shortest path radial resource node.
It should be noted that the embodiment of the present invention does not limit how the downloading node downloads the required resource by using the shortest radial resource node, and may refer to the related technology of the peer-to-peer network.
Based on the above embodiment, after acquiring the resource information, the download node in the present invention directly sends a download request to the resource node according to the first network information included in the information, and does not need to send the download request to the cloud acceleration edge device; after receiving the request, the resource node directly provides downloading service to the downloading node by using the shortest path to the downloading node, so that the downloading node directly downloads the required resource data from the downloading node without the participation of cloud acceleration edge equipment, thereby not only avoiding the complex downloading process generated by the cloud acceleration edge equipment, but also avoiding the capital cost brought by the deployment of cache equipment such as the cloud acceleration edge equipment and reducing the deployment cost of the point-to-point network; meanwhile, the download path between the resource node and the download node is the shortest path generated based on the point-to-point network topological graph, so that the influence of the path on the download service can be reduced, and the download speed and efficiency are further ensured.
The resource downloading method based on the peer-to-peer network is described below based on a specific network structure diagram. Referring to fig. 2, fig. 2 is a schematic structural diagram of a Peer-to-Peer network according to an embodiment of the present invention, in which N0, N1, N2, N3, and N4 all represent nodes (i.e., user terminals), where N0 is a resource provider (i.e., a resource node), N1 is a resource requester (i.e., a download node), P2P (Peer-to-Peer) between the nodes represents that a Peer-to-Peer connection is established, and it can be seen that no Peer-to-Peer connection is established between N0 and N1. When N1 has a resource downloading requirement, it sends a downloading request to N0 through P2P network or cloud relay service, and after receiving the downloading request, N0 determines an accessible path to N1, i.e., N0 → N2 → N3 → N1 and N0 → N3 → N1, by itself or by means of another designated topological node, and determines the shortest path among the accessible paths, i.e., N0 → N3 → N1, and finally provides the downloading service by using the shortest path to N1. Of course, since the peer-to-peer connection situation in the P2P network (peer-to-peer network) is easy to change, for example, in a certain situation, the peer-to-peer connection between N2 to N3 and between N0 to N3 is broken, i.e. there is no accessible path from N0 to N1, at this time, N0 may provide the download service to N1 by means of the cloud relay service.
In the following, the resource downloading system and the storage medium based on the peer-to-peer network according to the embodiments of the present invention are introduced, and the resource downloading system and the storage medium based on the peer-to-peer network described below and the resource downloading method based on the peer-to-peer network described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of a resource downloading system based on a peer-to-peer network according to an embodiment of the present invention, where the system may include: a download node 301 and a resource node 302, wherein,
the download node 301 is configured to acquire the resource information, and send a download request to the resource node 302 according to the first network information of the resource node 302 included in the resource information; downloading the corresponding resource by using the shortest radial resource node 302 sent by the resource node 302;
the resource node 302 is configured to extract second network information of the download node 301 from the download request, and search for a shortest path to the download node 301 from the preset peer-to-peer network topology map according to the second network information; the shortest path is sent to the download node 301.
Optionally, the system may further include: a topology node, wherein,
the resource node 302 is further configured to send the first network information and the second network information to a preset topology node;
the topology node is used for searching an accessible path from the resource node 302 to the download node 301 in a preset point-to-point network topology map according to the first network information and the second network information; if the accessible paths are queried, the topology node sends the shortest path in the accessible paths to the resource node 302.
Alternatively,
the topology node is also used for updating a preset point-to-point network topology map by utilizing the direct connection change information; and the direct connection change information is generated and sent to the topology node by the node in the point-to-point network when detecting that other nodes directly establishing the point-to-point connection change.
Alternatively,
the topology node is further configured to send preset cloud relay service information to the resource node 302 if the accessible path is not queried;
the resource node 302 is further configured to provide a download service to the download node 301 by using a cloud relay service.
Optionally, the system may further include: the directory node, wherein,
the downloading node 301 is further configured to obtain resource information from a preset directory node.
And the directory node is used for storing the resource information.
The embodiment of the invention also provides a storage medium, wherein the storage medium is stored with a computer program, and the computer program is executed by a processor to realize the steps of the resource downloading method based on the point-to-point network in any embodiment.
Since the embodiment of the storage medium portion corresponds to the embodiment of the resource downloading method portion based on the peer-to-peer network, please refer to the description of the embodiment of the resource downloading method portion based on the peer-to-peer network for the embodiment of the storage medium portion, and details thereof are not repeated here.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The resource downloading method, system and storage medium based on peer-to-peer network provided by the invention are introduced in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A resource downloading method based on a peer-to-peer network is characterized by comprising the following steps:
a downloading node acquires resource information and sends a downloading request to the resource node according to first network information of the resource node contained in the resource information;
the resource node extracts second network information of the download node from the download request, and searches for a shortest path to the download node from a preset point-to-point network topological graph according to the second network information;
and the resource node sends the shortest path to the downloading node so that the downloading node downloads the corresponding resource to the resource node by using the shortest path.
2. The method for downloading resources based on peer-to-peer network according to claim 1, wherein the searching for the shortest path to the downloading node from the preset peer-to-peer network topology according to the second network information comprises:
the resource node sends the first network information and the second network information to a preset topology node;
the topology node searches an accessible path from the resource node to the download node by using a preset point-to-point network topology graph according to the first network information and the second network information;
and if the accessible paths are inquired, the topological nodes send the shortest paths in the accessible paths to the resource nodes.
3. The peer-to-peer network-based resource downloading method as claimed in claim 2, further comprising:
when detecting that other nodes directly establishing point-to-point connection change, nodes in the point-to-point network send direct connection change information to the topology nodes;
and the topology node updates the preset point-to-point network topology map by using the direct connection change information.
4. The method for downloading resources based on peer-to-peer network as claimed in claim 2, wherein after searching the accessible path from the resource node to the download node in the preset peer-to-peer network topology, further comprising:
if the accessible path is not inquired, the topology node sends preset cloud relay service information to the resource node, so that the resource node provides the download service for the download node by using the cloud relay service.
5. The method for downloading resources based on peer-to-peer network as claimed in claim 1, wherein the downloading node obtains the resource information, comprising:
and the downloading node acquires the resource information from a preset directory node.
6. A resource download system based on a peer-to-peer network, comprising: a download node and a resource node, wherein,
the download node is used for acquiring resource information and sending a download request to the resource node according to the first network information of the resource node contained in the resource information; downloading the corresponding resources to the resource nodes by using the shortest path sent by the resource nodes;
the resource node is used for extracting second network information of the download node from the download request and searching the shortest path to the download node from a preset point-to-point network topological graph according to the second network information; and sending the shortest path to the downloading node.
7. The peer-to-peer network-based resource download system as recited in claim 6, further comprising: a topology node, wherein,
the resource node is further configured to send the first network information and the second network information to the preset topology node;
the topology node is configured to search, according to the first network information and the second network information, an accessible path from the resource node to the download node in a preset peer-to-peer network topology map; and if the accessible paths are inquired, the topological nodes send the shortest paths in the accessible paths to the resource nodes.
8. The peer-to-peer network-based resource download system as recited in claim 7,
the topology node is further configured to update the preset peer-to-peer network topology map by using direct connection change information; and the direct connection change information is generated and sent to the topology node by the node in the point-to-point network when detecting that other nodes directly establishing the point-to-point connection change.
9. The peer-to-peer network-based resource download system as recited in claim 7,
the topology node is further configured to send preset cloud relay service information to the resource node if the accessible path is not queried;
the resource node is further configured to provide the download service to the download node by using a cloud relay service.
10. A storage medium having stored thereon computer-executable instructions that, when loaded and executed by a processor, carry out a method for peer-to-peer network based resource downloading according to any one of claims 1 to 5.
CN202111106311.2A 2021-09-22 2021-09-22 Resource downloading method, system and storage medium based on point-to-point network Pending CN113824785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111106311.2A CN113824785A (en) 2021-09-22 2021-09-22 Resource downloading method, system and storage medium based on point-to-point network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111106311.2A CN113824785A (en) 2021-09-22 2021-09-22 Resource downloading method, system and storage medium based on point-to-point network

Publications (1)

Publication Number Publication Date
CN113824785A true CN113824785A (en) 2021-12-21

Family

ID=78915068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111106311.2A Pending CN113824785A (en) 2021-09-22 2021-09-22 Resource downloading method, system and storage medium based on point-to-point network

Country Status (1)

Country Link
CN (1) CN113824785A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466003A (en) * 2022-03-21 2022-05-10 北京有竹居网络技术有限公司 Communication method and related equipment thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051913A (en) * 2007-01-12 2007-10-10 北京时代亮点科技发展有限公司 Reciprocal network transmission method facing moving terminal
CN101895482A (en) * 2009-05-18 2010-11-24 华为技术有限公司 Method and device for abstracting logic topology information of peer-to-peer technological network
CN101997924A (en) * 2010-11-22 2011-03-30 杨文军 Cloud storage file transfer protocol (CFTP)
CN102497405A (en) * 2011-12-07 2012-06-13 湖南大学 Interference sensing wireless mesh network peer-to-peer (P2P) resource distributing method
CN104935640A (en) * 2015-05-07 2015-09-23 上海逸云信息科技发展有限公司 P2P acceleration content distribution network system and method
CN105656876A (en) * 2015-11-26 2016-06-08 乐视云计算有限公司 Live video play method, device and system
CN105657063A (en) * 2016-03-23 2016-06-08 北京百度网讯科技有限公司 Data downloading method and device
CN109150576A (en) * 2017-06-28 2019-01-04 华为技术有限公司 A kind of content data transmission method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051913A (en) * 2007-01-12 2007-10-10 北京时代亮点科技发展有限公司 Reciprocal network transmission method facing moving terminal
CN101895482A (en) * 2009-05-18 2010-11-24 华为技术有限公司 Method and device for abstracting logic topology information of peer-to-peer technological network
CN101997924A (en) * 2010-11-22 2011-03-30 杨文军 Cloud storage file transfer protocol (CFTP)
CN102497405A (en) * 2011-12-07 2012-06-13 湖南大学 Interference sensing wireless mesh network peer-to-peer (P2P) resource distributing method
CN104935640A (en) * 2015-05-07 2015-09-23 上海逸云信息科技发展有限公司 P2P acceleration content distribution network system and method
CN105656876A (en) * 2015-11-26 2016-06-08 乐视云计算有限公司 Live video play method, device and system
CN105657063A (en) * 2016-03-23 2016-06-08 北京百度网讯科技有限公司 Data downloading method and device
CN109150576A (en) * 2017-06-28 2019-01-04 华为技术有限公司 A kind of content data transmission method and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466003A (en) * 2022-03-21 2022-05-10 北京有竹居网络技术有限公司 Communication method and related equipment thereof
CN114466003B (en) * 2022-03-21 2023-12-05 北京有竹居网络技术有限公司 Communication method and related equipment thereof

Similar Documents

Publication Publication Date Title
CN113452592B (en) Cross-cloud data access method and device under hybrid cloud architecture
KR102158654B1 (en) Resource subscription method, resource subscription device, and resource subscription system
CN111510476B (en) Communication method, communication device, computer equipment and computer readable storage medium
CN111598564B (en) Block chain node connection establishment method, device and equipment
CN110413845B (en) Resource storage method and device based on Internet of things operating system
CN102664938A (en) Method and device for controlling downloading of resources
CN113055297B (en) Network topology discovery method and device
CN102185920A (en) Network-based downloading method and system, and terminal
KR20130103621A (en) Peer node and method for improved peer node selection
CN110784409A (en) Spring Cloud-based micro-service gray level publishing method
CN104023055A (en) Video sharing method and system, and terminal device
CN114064206A (en) Pod method, system, equipment and storage medium for accessing edge node
CN113824785A (en) Resource downloading method, system and storage medium based on point-to-point network
CN111935697B (en) eSIM discovery service method, discovery server and eSIM terminal
CN111211991B (en) Asset processing method, system and terminal equipment
US11108680B2 (en) Dynamic routing method in a network of connected objects
JP5440574B2 (en) Node device, information communication method, and program
CN109873764B (en) Method, device and electronic equipment for establishing oriented OSPF (open shortest Path first) neighbor relation
CN102118422A (en) Peer node of RELOAD peer network as well as method and system for updating configuration of peer node
CN109962834B (en) Information processing method, system, terminal and computer storage medium
CN115004657B (en) Addressing method, addressing system and addressing device
CN112637351B (en) File downloading method and device
CN102118421B (en) Peer-to-peer network and method for restarting peer nodes
JP2008065611A (en) Software update method and software update program
CN107612831A (en) A kind of transmission method and device of the data message for accessing source station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination