WO2018023858A1 - P2p数据加速方法、装置和系统 - Google Patents

P2p数据加速方法、装置和系统 Download PDF

Info

Publication number
WO2018023858A1
WO2018023858A1 PCT/CN2016/099177 CN2016099177W WO2018023858A1 WO 2018023858 A1 WO2018023858 A1 WO 2018023858A1 CN 2016099177 W CN2016099177 W CN 2016099177W WO 2018023858 A1 WO2018023858 A1 WO 2018023858A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
identifier
target cache
authentication information
packet
Prior art date
Application number
PCT/CN2016/099177
Other languages
English (en)
French (fr)
Inventor
黄志晖
柳小鹏
Original Assignee
网宿科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 网宿科技股份有限公司 filed Critical 网宿科技股份有限公司
Priority to US16/093,797 priority Critical patent/US20190141158A1/en
Priority to EP16911453.5A priority patent/EP3477910B1/en
Publication of WO2018023858A1 publication Critical patent/WO2018023858A1/zh

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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/457Network directories; Name-to-address mapping containing identifiers of data entities on a computer, e.g. file names
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the present invention relates to the field of computers, and in particular to a P2P data acceleration method, apparatus and system.
  • One method of accelerating the P2P cache that is transparent to the user is to integrate the transparent proxy module and the P2P cache acceleration module into one service program on the same device.
  • This deployment method causes one device to handle a large number of tasks and has a high load. In the case of high load, the packet delay and loss will eventually affect the user's online experience, and the cache module requires a large amount of disk space. The device is quite large and difficult to expand, so the proxy module and the P2P cache can be accelerated. Modules are deployed on different devices to make the proxy device and P2P cache acceleration device work.
  • the proxy module and the P2P cache acceleration module are respectively deployed on different devices, the load balancing problem of the P2P cache device, the security of the P2P cache acceleration device, and the P2P acceleration process cannot be returned to the source due to the loss of the source data. problem.
  • the embodiment of the invention provides a method, a device and a system for accelerating P2P data, so as to solve at least the prior art P2P cache acceleration, when the proxy device and the cache acceleration device are separately deployed, it is difficult to load balance multiple cache devices. technical problem.
  • a P2P data acceleration method including: receiving an authentication information packet sent by a client, and acquiring a file identifier in the authentication information packet, wherein the file identifier and the client request downloading Corresponding to the file identifier; obtaining the identification information of the target cache acceleration device corresponding to the file identifier according to the file identifier; replacing the original destination identification information of the authentication information packet with the identification information of the target cache acceleration device; The replaced identification information sends the authentication packet to the target cache acceleration device.
  • a P2P data acceleration apparatus including: a receiving module, configured to receive an authentication information packet sent by a client, and obtain a file identifier in the authentication information packet, where the file The identifier corresponds to the file requested by the client to download; the determining module is configured to preset by the file identifier The algorithm obtains the identifier information of the target cache acceleration device corresponding to the file identifier, and the replacement module is configured to replace the original destination identifier information of the authentication information packet with the identifier information of the target cache acceleration device, and the sending module is configured to use the authentication information packet.
  • the replaced identification information sends the authentication packet to the target cache acceleration device.
  • a P2P data acceleration system including: a client, configured to send an authentication information packet to a proxy device; and a proxy device, configured to communicate with the client, to pass the file identifier according to the file identifier
  • the preset algorithm obtains the identifier information of the target cache acceleration device corresponding to the file identifier, replaces the original destination identifier information of the authentication information packet with the identifier information of the target cache acceleration device, and authenticates according to the replaced identifier information in the authentication information packet.
  • the information packet is sent to the target cache acceleration device, wherein the file identifier corresponds to the file requested by the client, and the target cache acceleration device communicates with the proxy device for returning the file corresponding to the file identifier to the proxy device.
  • the authentication information packet sent by the client is received, and the file identifier in the authentication information packet is obtained, and the identifier information of the target cache acceleration device corresponding to the file identifier is obtained by using a preset algorithm according to the file identifier.
  • the original destination identification information of the authentication information packet is replaced with the identification information of the target cache acceleration device, and the authentication information packet is sent to the target cache acceleration device according to the replaced identification information in the authentication information packet.
  • the foregoing solution matches the corresponding target cache acceleration device for the file ID according to the file ID included in the authentication information packet by using a preset algorithm, and obtains the identification information of the matched target cache acceleration device, so that the proxy device can accelerate the device according to the target cache.
  • the identification information is sent to the target cache acceleration device, which solves the technical problem that it is difficult to load balance multiple cache devices when the proxy device is deployed separately from the cache acceleration device in the P2P cache acceleration of the prior art.
  • the technical effect of load balancing the cache acceleration device thereby improving the user's online experience.
  • FIG. 1 is a flow chart of a P2P data acceleration method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an optional P2P data acceleration method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a P2P data acceleration apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a P2P data acceleration system according to an embodiment of the present invention.
  • a method embodiment of a P2P data acceleration method is provided, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions, and Although the logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
  • FIG. 1 is a flowchart of a P2P data acceleration method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 Receive an authentication information packet sent by the client, and obtain a file identifier in the authentication information packet, where the file identifier corresponds to the file requested by the client to download.
  • the foregoing authentication information packet may be a handshake packet, which is different from the authentication information packet used in the three-way handshake in the TCP protocol, but belongs to an authentication method used by the P2P in an application layer customization manner.
  • the file identifier may be a hash value calculated from a file downloaded by the client request.
  • the data entry device obtains the service data packet sent by the client to the destination server, and parses the content of the service data packet according to the characteristics of the handshake packet, thereby acquiring the P2P. Handshake package.
  • Step S104 Obtain identification information of the target cache acceleration device corresponding to the file identifier by using a preset algorithm according to the file identifier.
  • the identifier information of the target cache acceleration device is used to represent the target cache acceleration device, and the proxy device may send the data packet to the cache acceleration device corresponding to the identifier information according to the identifier information of the cache acceleration device.
  • the same file download requirement can be allocated to the same target cache acceleration device, for example, when the same file ID is obtained, by default
  • the algorithm assigns the same cache acceleration device to the authentication packets containing the same file ID.
  • Step S106 Replace the original destination identifier information of the authentication information packet with the identifier information of the target cache acceleration device.
  • the original destination end of the authentication information packet is a peer end
  • the original destination identifier information of the foregoing authentication information packet is identifier information of the peer end.
  • the identifier information of the target cache acceleration device is obtained by using a preset algorithm, where the identifier information includes an IP address and a port number, and the IP address and port number of the peer in the authentication packet are replaced with the target.
  • the IP address and port number of the cache acceleration device is obtained by using a preset algorithm, where the identifier information includes an IP address and a port number, and the IP address and port number of the peer in the authentication packet are replaced with the target. The IP address and port number of the cache acceleration device.
  • Step S108 Send the authentication information packet to the target cache acceleration device according to the replaced identification information in the authentication information packet.
  • the proxy device after replacing the original destination identifier information with the identifier information of the target cache acceleration device, the proxy device sends the authentication information packet to the target cache acceleration device according to the identifier information of the target cache acceleration device.
  • the original source identification information of the service data packet may be replaced with the identification information of the proxy device, where the identifier information of the proxy device includes an IP address and a port number of the proxy device; this causes the service data packet to be sent to the cache.
  • the cache acceleration device sends the response packet to the proxy device, thereby enabling the proxy device to effectively manage and control the data interaction.
  • the authentication information packet sent by the client is received, and the file identifier in the authentication information packet is obtained, and the identifier information of the target cache acceleration device corresponding to the file identifier is obtained by using a preset algorithm according to the file identifier.
  • the original destination identification information of the authentication information packet is replaced with the identification information of the target cache acceleration device, and the authentication information packet is sent to the target cache acceleration device according to the replaced identification information in the authentication information packet.
  • the foregoing solution matches the corresponding target cache acceleration device for the file ID according to the file ID included in the authentication information packet by using a preset algorithm, and obtains the identification information of the matched target cache acceleration device, so that the proxy device can accelerate the device according to the target cache.
  • the identification information is sent to the target cache acceleration device, which solves the technical problem that it is difficult to load balance multiple cache devices when the proxy device is deployed separately from the cache acceleration device in the P2P cache acceleration of the prior art.
  • the technical effect of load balancing the cache acceleration device thereby improving the user's online experience.
  • obtaining the file identifier in the authentication information packet includes:
  • step S1021 the byte located in the preset position is searched for in the authentication information packet.
  • step S1023 the byte located at the preset position is used as a starting end, and a preset number of bytes are continuously obtained to obtain a file identifier.
  • the file identifier is taken as the file ID as an example.
  • the file ID is the consecutive 20 bytes starting from the 49th byte in the authentication information packet. Find the 49th byte in the authentication packet, and then take the 49th byte as the starting byte and sequentially acquire 20 bytes in sequence, then the file ID can be obtained.
  • the above steps in the present application find the byte located in the preset position in the authentication information packet, and use the byte located in the preset position as the starting end to continuously acquire the preset number of bytes to obtain the file identifier.
  • the above solution achieves the technical effect of obtaining a file identifier in an authentication packet.
  • the identifier information of the target cache acceleration device corresponding to the file identifier is obtained by using a preset algorithm according to the file identifier, including:
  • Step S1025 Searching for the identifier information of the target cache acceleration device corresponding to the file identifier in the mapping relationship between the preset file identifier and the cache acceleration device by using the consistency hash algorithm, where the identifier information of the target cache acceleration device includes: The target cache speeds up the device's IP address and port number.
  • the consistency hash algorithm is used to assign the same cache acceleration device to the authentication packets having the same file identifier.
  • the five authentication information packets A1, B2, C3, D4, and E5 respectively request the identification information of the target cache acceleration device from the proxy device, and the files requested to be downloaded in the five authentication information packets respectively
  • the identification information of the cache acceleration device a may be allocated to the authentication information packets A1 and C3, the identification information of the cache acceleration device b may be allocated to the authentication information packets B2 and E5, and the identification information of the cache acceleration device c may be allocated to the authentication information package D4.
  • the proxy device may send the authentication packet to the target cache acceleration device according to the IP address and port number of the target cache acceleration device.
  • the identifier information of the target cache acceleration device corresponding to the file identifier is searched by the consistency hash algorithm in the mapping relationship between the preset file identifier and the cache acceleration device.
  • the above solution implements the technical effect of load balancing the cache acceleration device by using a consistent hash algorithm.
  • the method further includes: after receiving the authentication information packet sent by the client, according to the foregoing embodiment of the present application, the method further includes:
  • Step S1010 The quintuple information of the authentication information packet is saved, where the quintuple information includes an IP address and a port number of the client.
  • the quintuple information may include: a source IP address, a source port, a destination IP address, a destination port, and a transport layer protocol.
  • the authentication information packet transmitted by the client to the proxy device is taken as an example, and the quintuple information in the foregoing authentication information packet may include: a client IP address, a client port, and a peer IP address. Address, peer port, and transport layer protocol.
  • the proxy device when the proxy device receives the response information returned by the target cache acceleration device, the identifier information of the target cache acceleration device is hidden, wherein the step of hiding the identifier information of the target cache acceleration device includes:
  • Step S1012 The proxy device replaces the source address and port number of the response information with the IP address and port number of the peer included in the quintuple information, where the source address and port number of the response information are the IP address of the target cache acceleration device. And port number.
  • the identifier information of the target cache acceleration device is hidden, which is used to prevent the client from attacking the cache acceleration device after knowing the identifier information of the cache acceleration device, thereby achieving the technology for ensuring the device security of the backend P2P cache acceleration device. effect.
  • the response information is the file returned by the target cache acceleration device, and the source identifier information (including the IP address and port) in the response information. No.) is the target cache acceleration device identification information.
  • the source identification information of the response information is replaced with the identifier of the peer end in order to prevent the client from obtaining the identification information of the target cache acceleration device.
  • Information (including IP address and port number).
  • the proxy device when receiving the response information returned by the target cache acceleration device, the proxy device replaces the source address and port number of the response information with the IP address and port of the client included in the quintuple information. Number to hide the identification information of the target cache acceleration device.
  • the foregoing solution prevents the client from attacking the cache acceleration device after knowing the identifier information of the cache acceleration device, thereby achieving the technical effect of ensuring device security of the backend P2P cache acceleration device.
  • the same quintuple information as the saved quintuple information is monitored within a preset time, the same quintuple group as the saved quintuple information is used.
  • the authentication packet corresponding to the information performs data interaction according to the path of the authentication packet corresponding to the saved quintuple information.
  • the client sends the authentication information packet containing the quintuple information F to the proxy device as an example, and assumes that the proxy device sends the authentication information packet including the quintuple information F to the corresponding target.
  • the algorithm does not need to calculate and The IP address of the target cache acceleration device corresponding to the authentication packet of the quintuple information F is directly transmitted according to the IP address of the target cache acceleration device corresponding to the authentication packet including the quintuple information F calculated for the first time.
  • the above steps of the present application use the same data interaction path for the authentication data packets with the same quintuple information, without repeated calculations, and no need to replace the path, thereby achieving the task of reducing the proxy device and improving the task processing efficiency.
  • the method before the sending the authentication information packet to the target cache acceleration device according to the identifier information after the replacement in the authentication information packet, the method further includes:
  • Step S1014 The identifier information of the peer end of the authentication information packet is added to the header and/or the tail of the authentication information packet that replaces the identifier information according to a preset protocol format, where the identifier information of the peer end is the original purpose. Identification information.
  • the peer end is a destination end that is requested when the authentication information packet is requested to be downloaded by the cache acceleration device, and is generally requested to be downloaded in the cache acceleration device miss authentication information packet.
  • the cache acceleration device needs to forward the authentication packet to the peer.
  • the identifier information of the peer end may be replaced with the identifier information of the target cache acceleration device, and the identifier information of the peer end is added to the header and/or the tail of the authentication information packet according to a preset protocol. And sending the encapsulated authentication information packet to the target cache acceleration device.
  • the identification information of the peer includes an IP address and a port number of the peer.
  • the preset protocol may be: adding the IP of the peer to the header of the authentication packet, and adding the port number of the peer to the end of the authentication packet. For example, four can be added in the header of the authentication packet.
  • Byte add two bytes at the end of the authentication packet, store the IP of the peer to the four bytes of the header of the authentication packet, and store the port number of the peer to the end of the authentication packet. In the byte, thereby achieving the purpose of adding the identification information of the peer at the head and/or the end of the authentication packet.
  • the protocol used to add the IP and port number of the peer to the authentication packet may be the protocol used in the above embodiment, but is not limited to the protocol used in the above embodiment, and may also be used. Add the IP and port number of the peer to the method such as the header and/or trailer of the authentication packet.
  • the target cache acceleration device when the target cache acceleration device misses the file corresponding to the file identifier, the target cache acceleration device sends the authentication information packet to the peer of the client, where the authentication information packet is sent to
  • the steps of the client's peer include:
  • Step S1016 Obtain identification information of a peer added to the header and/or the tail of the authentication packet, where the identifier information of the peer includes: an IP address and a port number of the peer.
  • step S1018 the authentication information packet is sent to the peer according to the IP address and port number of the peer.
  • the target cache acceleration device if the target cache acceleration device misses the download file requested by the client, then the source peer needs to request the download file, and the target cache acceleration device removes the encapsulated authentication packet.
  • the header and/or the tail obtain the identification information of the peer, and send the authentication information packet according to the identification information of the peer to request the download file requested by the client.
  • the proxy device in the case that the target cache acceleration device misses the file requested by the client and causes the proxy to return to the source, the proxy device saves the identifier information of the source peer.
  • the target cache acceleration device can proxy back to the source through the saved identity information of the source peer.
  • the foregoing implementation solution is not limited to a scenario in which the target cache acceleration device misses the client requesting to download the file, which requires the proxy to return to the source, and any proxy is required.
  • the scenes returned to the source can be implemented using the above method.
  • the foregoing step of the present application adds the identification information of the peer of the authentication information packet to the preset protocol format before the authentication information packet is sent to the target cache acceleration device according to the identification information replaced in the authentication information packet.
  • the header and/or the tail of the authentication packet of the identification information acquires the identification information of the peer added to the header and/or the tail of the authentication packet when the target cache acceleration device misses the file corresponding to the file identifier, and
  • the authentication packet is sent to the peer according to the IP address and port number of the peer.
  • FIG. 2 is a schematic diagram of an optional P2P data acceleration method according to an embodiment of the present invention. An optional embodiment of the P2P data acceleration method described above is described below with reference to the example shown in FIG.
  • the client initiates a request for obtaining a peer IP list to the P2P application server through the Internet, and the P2P application server returns the peer IP list to the client, and the client searches the peer IP list for the destination pair corresponding to the file to be downloaded.
  • the equal-end end uses the identification information of the destination peer as the destination identification information of the authentication information packet, and sends the authentication information packet to the proxy device.
  • the proxy device After obtaining the authentication information packet whose destination identification information is the identification information of the peer, the proxy device saves the identifier information of the peer, obtains the file identifier of the file requested to be downloaded in the authentication information packet, and uses the consistency hash algorithm according to the file identifier.
  • the identifier information of the target cache acceleration device (including the cache adding device 1 and the cache acceleration device 2 shown in FIG. 2) corresponding to the file requested by the client is obtained, and the identification information of the peer is replaced with the target cache acceleration device. Identifying the information, and packaging the replaced authentication information packet, and sending the authentication information packet to the target cache acceleration after adding the saved identification information of the peer to the header and/or the tail of the packaged authentication information according to a preset protocol. device.
  • the target cache acceleration device After the target cache acceleration device misses the download request of the client, the target cache acceleration device sends the authentication information packet to the peer according to the identification information of the peer end and/or the tail of the authentication information packet to obtain the client.
  • the file requested to be downloaded The file requested to be downloaded.
  • FIG. 3 is a schematic structural diagram of a P2P data acceleration apparatus according to an embodiment of the present application.
  • the apparatus shown in FIG. 3 may be used to perform any P2P data acceleration method in Embodiment 1, and the apparatus includes:
  • the receiving module 30 is configured to receive an authentication information packet sent by the client, and obtain a file identifier in the authentication information packet, where the file identifier corresponds to the file requested by the client to download.
  • the foregoing authentication information packet may be a handshake packet
  • the file identifier may be a file ID, which is used to represent a file requested by different clients to download.
  • the file identifier may be a hash value calculated from a file downloaded by the client request.
  • the data entry device obtains the service data packet sent by the client to the destination server, and obtains the P2P handshake from the content of the service data packet according to the characteristics of the handshake packet. package.
  • the determining module 32 is configured to obtain, by using a preset algorithm, identifier information of the target cache acceleration device corresponding to the file identifier according to the file identifier.
  • the identifier information of the target cache acceleration device is used to represent the target cache acceleration device, and the proxy device may send the data packet to the cache acceleration device corresponding to the identifier information according to the identifier information of the cache acceleration device.
  • the same file download requirement can be allocated to the same target cache acceleration device, for example, when the same file ID is obtained, by default
  • the algorithm assigns the same cache acceleration device to the authentication packets containing the same file ID.
  • the replacement module 34 is configured to replace the original destination identifier information of the authentication information packet with the identifier information of the target cache acceleration device.
  • the original destination end of the authentication information packet is a peer end
  • the original destination identifier information of the foregoing authentication information packet is identifier information of the peer end.
  • the identifier information of the target cache acceleration device is obtained by using a preset algorithm, where the identifier information includes an IP address and a port number, and the IP address and port number of the peer in the authentication packet are replaced with the target.
  • the IP address and port number of the cache acceleration device is obtained by using a preset algorithm, where the identifier information includes an IP address and a port number, and the IP address and port number of the peer in the authentication packet are replaced with the target. The IP address and port number of the cache acceleration device.
  • the sending module 36 is configured to send the authentication information packet to the target cache acceleration device according to the replaced identification information in the authentication information packet.
  • the proxy device after replacing the original destination identifier information with the identifier information of the target cache acceleration device, the proxy device sends the authentication information packet to the target cache acceleration device according to the identifier information of the target cache acceleration device.
  • the receiving module receives the authentication information packet sent by the client, and obtains the file identifier in the authentication information packet, and the determining module obtains the target cache corresponding to the file identifier by using a preset algorithm according to the file identifier. Accelerating the identification information of the device, replacing the original destination identification information of the authentication information packet with the identification information of the target cache acceleration device by using the replacement module, and sending the authentication information packet to the target cache acceleration by the sending module according to the replaced identification information in the authentication information packet device.
  • the foregoing solution matches the corresponding target cache acceleration device for the file ID according to the file ID included in the authentication information packet by using a preset algorithm, and obtains the identification information of the matched target cache acceleration device, so that the proxy device can accelerate the device according to the target cache.
  • the identification information is sent to the target cache acceleration device, which solves the technical problem that it is difficult to load balance multiple cache devices when the proxy device is deployed separately from the cache acceleration device in the P2P cache acceleration of the prior art.
  • the technical effect of load balancing the cache acceleration device thereby improving the user's online experience.
  • the foregoing receiving module includes:
  • a first searching module configured to search for a byte located in a preset location in the authentication information packet
  • the obtaining module is configured to obtain a file identifier by continuously obtaining a preset number of bytes by using a byte located at the preset position as a starting end.
  • the device of the present application searches for the byte located in the preset location in the authentication information packet by using the first search module, and obtains the preset number of words continuously by using the byte located at the preset position as the starting end by the acquiring module. Section, get the file identifier.
  • the above solution achieves the technical effect of obtaining a file identifier in an authentication packet.
  • the determining module includes:
  • a second search module configured to search, by using a consistent hash algorithm, the identifier information of the target cache acceleration device corresponding to the file identifier in a mapping relationship between the preset file identifier and the cache acceleration device, where the identifier information includes: The IP address and port number of the cache acceleration device.
  • the identifier information of the target cache acceleration device corresponding to the file identifier is searched by the consistency hash algorithm in the mapping relationship between the preset file identifier and the cache acceleration device.
  • the above solution implements the technical effect of load balancing the cache acceleration device by using a consistent hash algorithm.
  • FIG. 4 is a schematic structural diagram of a P2P data acceleration system according to an embodiment of the present application.
  • the system includes:
  • the client 40 is configured to send an authentication information packet to the proxy device.
  • the proxy device 42 is configured to communicate with the client, and obtain, by using a preset identifier, the identifier information of the target cache acceleration device corresponding to the file identifier according to the file identifier, and replace the original destination identifier information of the authentication information packet with the target cache acceleration device.
  • the identification information is sent to the target cache acceleration device according to the replaced identification information in the authentication information packet, wherein the file identifier corresponds to the file requested by the client to download.
  • the foregoing authentication information packet may be a handshake packet
  • the file identifier may be a file ID, which is used to represent a file requested by different clients to download.
  • the file identifier may be a hash value calculated according to the file requested by the client request; the identifier information of the target cache acceleration device is used to represent the target cache acceleration device, and the proxy device may send the data packet to the identifier according to the identifier information of the cache acceleration device.
  • the cache acceleration device corresponding to the information, the original destination end of the authentication information packet is the peer end, and the original destination identification information of the foregoing authentication information packet is the identification information of the peer end.
  • the target cache acceleration device 44 is in communication with the proxy device for returning a file corresponding to the file identifier to the proxy device.
  • the authentication information packet sent by the client is received, and the file identifier in the authentication information packet is obtained, and the identifier information of the target cache acceleration device corresponding to the file identifier is obtained by using a preset algorithm according to the file identifier.
  • the original destination identification information of the authentication information packet is replaced with the identification information of the target cache acceleration device, and the authentication information packet is sent to the target cache acceleration device according to the replaced identification information in the authentication information packet.
  • the foregoing solution matches the corresponding target cache acceleration device for the file ID according to the file ID included in the authentication information packet by using a preset algorithm, and obtains the identification information of the matched target cache acceleration device, so that the proxy device can accelerate the device according to the target cache.
  • the identification information is sent to the target cache acceleration device, which solves the technical problem that it is difficult to load balance multiple cache devices when the proxy device is deployed separately from the cache acceleration device in the P2P cache acceleration of the prior art.
  • the technical effect of load balancing the cache acceleration device thereby improving the user's online experience.
  • the proxy device is further configured to save the quintuple information of the authentication information packet, and when the proxy device receives the response information returned by the target cache acceleration device, the source address and the port of the response information are The number is replaced by the IP address and port number of the client included in the quintuple information, wherein the quintuple information includes the IP address and port number of the client, and the source address and port number of the response information are the IP address of the target cache acceleration device and The port number.
  • the proxy device when the proxy device receives the response information returned by the target cache acceleration device, the proxy device replaces the source address and port number of the response information with the IP address and port of the client included in the quintuple information. Number to hide the identification information of the target cache acceleration device.
  • the target cache acceleration device communicates with the proxy device, When the target cache acceleration device misses the file corresponding to the file identifier, the authentication information packet is sent to the peer port of the client; wherein the proxy device is further configured to use the identifier information of the peer of the authentication information packet according to a preset protocol format. Added to the header and/or trailer of the authentication packet with the identification information replaced.
  • the identifier information of the peer end of the authentication information packet is added and replaced according to the preset protocol format.
  • the header and/or the tail of the authentication packet of the identification information acquires the identification information of the peer added to the header and/or the tail of the authentication packet when the target cache acceleration device misses the file corresponding to the file identifier, and
  • the authentication packet is sent to the peer according to the IP address and port number of the peer.
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the unit may be a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a read only memory (ROM, Read-Only Memory), Random Access Memory (RAM), removable hard disk, disk or optical disk, etc., which can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种P2P数据加速方法、装置和系统。其中,该方法包括:接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,其中,文件标识符与客户端请求下载的文件对应;根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息;将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息;按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。本发明解决了现有技术的P2P缓存加速中,将代理设备与缓存加速设备分开部署时,难以对多台缓存设备进行负载均衡的技术问题。

Description

P2P数据加速方法、装置和系统 技术领域
本发明涉及计算机领域,具体而言,涉及一种P2P数据加速方法、装置和系统。
背景技术
目前在对用户透明的P2P缓存加速的一种方法,是将透明代理模块和P2P缓存加速模块集成一个服务程序部署在同一设备上,此种部署方式导致一台设备处理的任务繁多,负载极高,在高负载的情况下,造成数据包延时和丢失,最终影响用户的上网体验,且缓存模块又需要大量的磁盘空间,设备相当庞大,不易扩充,因此可以采用将代理模块和P2P缓存加速模块分别部署到不同设备上,使代理设备和P2P缓存加速设备工作专一化。
然而如果将代理模块和P2P缓存加速模块分别部署到不同设备上,则会引起P2P缓存设备的负载均衡问题、P2P缓存加速设备安全的问题以及P2P加速过程中,因源数据丢失无法代理回源的问题。
针对现有技术的P2P缓存加速中,将代理设备与缓存加速设备分开部署时,难以对多台缓存设备进行负载均衡的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种P2P数据加速方法、装置和系统,以至少解决现有技术的P2P缓存加速中,将代理设备与缓存加速设备分开部署时,难以对多台缓存设备进行负载均衡的技术问题。
根据本发明实施例的一个方面,提供了一种P2P数据加速方法,包括:接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,其中,文件标识符与客户端请求下载的文件对应;根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息;将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息;按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。
根据本发明实施例的另一方面,还提供了一种P2P数据加速装置,包括:接收模块,用于接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,其中,文件标识符与客户端请求下载的文件对应;确定模块,用于根据文件标识符通过预设 算法得到与文件标识符对应的目标缓存加速设备的标识信息;替换模块,用于将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息;发送模块,用于按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。
根据本发明实施例的另一方面,还提供了一种P2P数据加速系统,包括:客户端,用于向代理设备发送认证信息包;代理设备,与客户端通信,用于根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息,将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息,并按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备,其中,文件标识符与客户端请求下载的文件对应,目标缓存加速设备,与代理设备通信,用于向代理设备返回文件标识符对应的文件。
在本发明实施例中,接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息,将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息,按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。上述方案通过预设算法根据认证信息包中包含的文件ID来为文件ID匹配对应的目标缓存加速设备,并获取匹配到的目标缓存加速设备的标识信息,从而使得代理设备能够根据目标缓存加速设备的标识信息将认证信息包发送至目标缓存加速设备,解决了现有技术的P2P缓存加速中,将代理设备与缓存加速设备分开部署时,难以对多台缓存设备进行负载均衡的技术问题,实现了对缓存加速设备进行负载均衡的技术效果,从而提高用户的上网体验。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种P2P数据加速方法的流程图;
图2是根据本发明实施例的一种可选的P2P数据加速方法的示意图;
图3是根据本发明实施例的一种P2P数据加速装置的结构示意图;以及
图4是根据本发明实施例的一种P2P数据加速系统的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
实施例1
根据本发明实施例,提供了一种P2P数据加速方法的方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
图1是根据本发明实施例的一种P2P数据加速方法的流程图,如图1所示,该方法包括如下步骤:
步骤S102,接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,其中,文件标识符与客户端请求下载的文件对应。
具体的,上述认证信息包可以是握手包,该握手包不同于TCP协议中,进行三次握手时所使用的认证信息包,而是属于P2P在应用层自定义的一种认证方式所使用的认证信息包,上述文件标识符,用于表征不同客户端请求下载的文件。例如,文件标识符可以是根据客户端请求下载的文件计算出的hash值。
在一种可选的实施例中,由数据入口设备(例如:代理设备)获取客户端发往目的服务端的业务数据包,根据握手包的特征,对业务数据包的内容进行解析,从而获取P2P握手包。
步骤S104,根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息。
具体的,目标缓存加速设备的标识信息用于表征目标缓存加速设备,代理设备可以根据缓存加速设备的标识信息,将数据包发送至标识信息对应的缓存加速设备。
在一种可选的实施例中,为了满足缓存加速设备负载均衡的要求,可以将相同的文件下载需求分配至相同的目标缓存加速设备,例如,当获取到相同的文件ID时,通过预设算法为包含相同的文件ID的认证信息包分配相同的缓存加速设备。
步骤S106,将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息。
具体的,认证信息包的原目的端为对等端,上述认证信息包的原目的标识信息为对等端的标识信息。
在一种可选的实施例中,通过预设算法得到目标缓存加速设备的标识信息,其中,标识信息包括IP地址和端口号,将认证信息包中对等端的IP地址和端口号替换为目标缓存加速设备的IP地址和端口号。
步骤S108,按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。
在一种可选的实施例中,代理设备在将原目的标识信息替换为目标缓存加速设备的标识信息后,按照目标缓存加速设备的标识信息将认证信息包发送至目标缓存加速设备。
进一步,还可以将业务数据包的原源标识信息替换成代理设备的标识信息,其中所述代理设备的标识信息包括代理设备的IP地址和端口号;这就使得所述业务数据包发往缓存加速设备时,缓存加速设备将响应包发往代理设备,从而使得代理设备端对数据交互进行有效管理和控制。
通过本申请上述实施例,接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息,将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息,按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。上述方案通过预设算法根据认证信息包中包含的文件ID来为文件ID匹配对应的目标缓存加速设备,并获取匹配到的目标缓存加速设备的标识信息,从而使得代理设备能够根据目标缓存加速设备的标识信息将认证信息包发送至目标缓存加速设备,解决了现有技术的P2P缓存加速中,将代理设备与缓存加速设备分开部署时,难以对多台缓存设备进行负载均衡的技术问题,实现了对缓存加速设备进行负载均衡的技术效果,从而提高用户的上网体验。
可选的,根据本申请上述实施例,获取认证信息包中的文件标识符,包括:
步骤S1021,在认证信息包中查找位于预设位置的字节。
步骤S1023,以位于预设位置的字节作为起始端,连续获取预设个数的字节,得到文件标识符。
在一种可选的实施例中,以文件标识符为文件ID作为示例,对于bt这个公开的P2P协议,文件ID为认证信息包中,由第49字节开始的连续20字节,即可以在认证信息包中查找第49个字节,然后以第49个字节为起始字节,依次连续获取20个字节,则可得到文件ID。
由上可知,本申请上述步骤在认证信息包中查找位于预设位置的字节,以位于预设位置的字节作为起始端,连续获取预设个数的字节,得到文件标识符。上述方案实现了在认证信息包中获取文件标识符的技术效果。
可选的,根据本申请上述实施例,根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息,包括:
步骤S1025,通过一致性哈希算法在预设的文件标识符与缓存加速设备的映射关系中查找与文件标识符对应的目标缓存加速设备的标识信息,其中,目标缓存加速设备的标识信息包括:目标缓存加速设备的IP地址和端口号。
在上述步骤中,一致性哈希算法用于为具有相同文件标识符的认证信息包分配相同的缓存加速设备。在一种可选的实施例中,5个认证信息包A1、B2、C3、D4、E5,分别向代理设备请求目标加缓存加速设备的标识信息,5个认证信息包中请求下载的文件分别为文件A、文件B、文件A、文件C以及文件B,现有三个缓存加速设备a、b、c,分别存储有文件A、文件B以及文件C,则用一致性哈希算法进行计算,可以将缓存加速设备a的标识信息分配至认证信息包A1和C3,将缓存加速设备b的标识信息分配至认证信息包B2和E5,将缓存加速设备c的标识信息分配至认证信息包D4,在一致性哈希算法根据文件标识符得到目标缓存加速设备的IP地址和端口号之后,代理设备可以根据目标缓存加速设备的IP地址和端口号将认证信息包发送至目标缓存加速设备。
由上可知,通过一致性哈希算法在预设的文件标识符与缓存加速设备的映射关系中查找与文件标识符对应的目标缓存加速设备的标识信息。上述方案通过一致性哈希算法实现了对缓存加速设备进行负载均衡的技术效果。
可选的,根据本申请上述实施例,在接收客户端发送的认证信息包之后,上述方法还包括:
步骤S1010,保存认证信息包的五元组信息,其中,五元组信息包括客户端的IP地址和端口号。
具体的,在上述步骤中,五元组信息可以包括:源IP地址、源端口、目的IP地址、目的端口以及传输层协议。
在一种可选的实施例中,以客户端向代理设备传输的认证信息包作为示例,上述认证信息包中的五元组信息可以包括:客户端IP地址、客户端端口、对等端IP地址、对等端端口以及传输层协议。
可选的,根据本申请上述实施例,在代理设备接收到目标缓存加速设备返回的响应信息时,隐藏目标缓存加速设备的标识信息,其中,隐藏目标缓存加速设备的标识信息的步骤包括:
步骤S1012,代理设备将响应信息的源地址和端口号替换为五元组信息中包含的对等端的IP地址和端口号,其中,响应信息的源地址和端口号为目标缓存加速设备的IP地址和端口号。
在上述步骤中,隐藏目标缓存加速设备的标识信息,用于防止客户端在知晓缓存加速设备的标识信息后对缓存加速设备进行攻击,从而达到了保证后端P2P缓存加速设备的设备安全的技术效果。
在一种可选的实施例中,代理设备接收到目标缓存加速设备返回的响应信息后,由于响应信息为目标缓存加速设备返回的文件,因此响应信息中的源标识信息(包括IP地址和端口号)为目标缓存加速设备的标识信息,为了隐藏目标缓存加速设备的标识信息,即为了避免客户端获取到目标缓存加速设备的标识信息,则将响应信息的源标识信息替换为对等端的标识信息(包括IP地址和端口号)。
由上可知,在本申请上述步骤中,代理设备接收到目标缓存加速设备返回的响应信息时,通过将响应信息的源地址和端口号替换为五元组信息中包含的客户端的IP地址和端口号来隐藏目标缓存加速设备的标识信息。上述方案防止客户端在知晓缓存加速设备的标识信息后对缓存加速设备进行攻击,从而达到了保证后端P2P缓存加速设备的设备安全的技术效果。
可选的,根据本申请上述实施例,如果在预设时间内,监测到与已保存的五元组信息相同的五元组信息,则将与已保存的五元组信息相同的五元组信息对应的认证信息包,按照已保存的五元组信息对应的认证信息包的路径进行数据交互。
在一种可选的实施例中,以客户端向代理设备发送过包含五元组信息F的认证信息包作为示例,假设代理设备将包含五元组信息F的认证信息包发送至对应的目标缓 存加速设备,并将目标缓存加速设备返回的响应信息反馈至客户端,则在预设时间内,当代理设备再次接收到包括五元组信息F的认证信息包后,无需再通过算法计算与包括五元组信息F的认证信息包对应的目标缓存加速设备的IP地址,而直接按照第一次计算的包括五元组信息F的认证信息包对应的目标缓存加速设备的IP地址进行发送。
由上可知,本申请上述步骤对具有相同五元组信息的认证数据包采用相同的数据交互路径进行处理,无需重复计算,也无需更换路径,从而达到了降低代理设备的任务,提高任务处理效率的技术效果。
可选的,根据本申请上述实施例,在按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备之前,方法还包括:
步骤S1014,将认证信息包的对等端的标识信息按照预设协议格式添加于替换了标识信息的认证信息包的头部和/或尾部,其中,所述对等端的标识信息为所述原目的标识信息。
具体的,在上述步骤中,上述对等端为认证信息包在不通过缓存加速设备请求下载文件时所请求的目的端,通常情况下,在缓存加速设备未命中认证信息包中请求下载的文件时,缓存加速设备需要把认证信息包转发至对等端。
在一种可选的实施例中,可以将对等端的标识信息替换为目标缓存加速设备的标识信息,再将对等端的标识信息按照预设协议添加至认证信息包的头部和/或尾部,将上述封装过的认证信息包发送至目标缓存加速设备。其中,所述对等端的标识信息包括对等端的IP和端口号。在上述实施例中,预设协议可以是将对等端的IP添加于认证信息包头部,将对等端的端口号添加于认证信息包的尾部,例如,可以在认证信息包的头部添加四个字节,在认证信息包的尾部添加两个字节,再将对等端的IP存储至认证信息包头部的四个字节中,并将对等端的端口号存储至认证信息包尾部的两个字节中,从而达到在认证信息包的头部和/或尾部添加对等端的标识信息的目的。
此处需要说明的是,将对等端的IP和端口号添加于认证信息包所使用的协议可以是上述实施例所使用的协议,但不限制与上述实施例中所使用的协议,也可以使用将对等端的IP和端口号连接后同时添加至认证信息包的头部和/或尾部等协议等方法。
可选的,根据本申请上述实施例,在目标缓存加速设备未命中文件标识符对应的文件时,目标缓存加速设备将认证信息包发送至客户端的对等端,其中,将认证信息包发送至客户端的对等端的步骤包括:
步骤S1016,获取添加于认证信息包的头部和/或尾部的对等端的标识信息,其中,对等端的标识信息包括:对等端的IP地址和端口号。
步骤S1018,将认证信息包按照对等端的IP地址和端口号发送至对等端。
在一种可选的实施例中,在目标缓存加速设备未命中客户端所请求的下载文件的情况下,则需要向源对等端请求下载文件,则目标缓存加速设备从封装的认证信息包的头部和/或尾部获取对等端的标识信息,并根据对等端的标识信息发送认证信息包,来请求客户端请求的下载文件。
此处需要说明的是,在上述实施例中,在由于目标缓存加速设备未命中客户端请求下载的文件,导致需要代理回源的情况下,由于代理设备保存了源对等端的标识信息,使得目标缓存加速设备可以通过保存的源对等端的标识信息进行代理回源,但是上述实现方案不限于由于目标缓存加速设备未命中客户端请求下载的文件,导致需要代理回源的场景,任何需要代理回源的场景均可使用上述方法实施。
由上可知,本申请上述步骤在按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备之前,将认证信息包的对等端的标识信息按照预设协议格式添加于替换了标识信息的认证信息包的头部和/或尾部,在目标缓存加速设备未命中文件标识符对应的文件时,获取添加于认证信息包的头部和/或尾部的对等端的标识信息,并将认证信息包按照对等端的IP地址和端口号发送至对等端。上述方案解决了在P2P加速过程中,由于源数据(例如:对等端的标识信息)丢失,导致无法代理回源的问题。
图2是根据本发明实施例的一种可选的P2P数据加速方法的示意图,下面结合图2所示的示例,对上述P2P数据加速方法的一种可选的实施例进行描述。
客户端通过互联网向P2P应用服务器发起获取对等端IP列表的请求,P2P应用服务器将对等端IP列表返回至客户端,客户端在对等端IP列表中查找需要下载的文件对应的目的对等端,以目的对等端的标识信息作为认证信息包的目的标识信息,将认证信息包发送至代理设备。
代理设备在获取到目的标识信息为对等端的标识信息的认证信息包后,保存对等端的标识信息,获取认证信息包中请求下载的文件的文件标识符,通过一致性哈希算法根据文件标识符得到与客户端请求下载的文件对应的目标缓存加速设备(包括图2所示出的缓存加设备1和缓存加速设备2)的标识信息,将对等端的标识信息替换为目标缓存加速设备的标识信息,并将替换后的认证信息包进行打包,在打包后的认证信息的头部和/或尾部按照预设协议添加保存的对等端的标识信息后,将认证信息包发送至目标缓存加速设备。
在目标缓存加速设备未命中客户端的下载请求后,目标缓存加速设备根据认证信息包的头部和/或尾部的对等端的标识信息,将认证信息包发送至对等端,来获取客户 端请求下载的文件。
实施例2
图3是根据本申请实施例的一种P2P数据加速装置的结构示意图,图3所示的装置可以用于执行实施例1中的任意一种P2P数据加速方法,该装置包括:
接收模块30,用于接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,其中,文件标识符与客户端请求下载的文件对应。
具体的,上述认证信息包可以是握手包,所述文件标识符可以是文件ID,用于表征不同客户端请求下载的文件。文件标识符可以是根据客户端请求下载的文件计算出的hash值。
在一种可选的实施例中,由数据入口设备(例如:代理设备)获取客户端发往目的服务端的业务数据包,经过对业务数据包的内容,根据握手包的特征,从中获取P2P握手包。
确定模块32,用于根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息。
具体的,目标缓存加速设备的标识信息用于表征目标缓存加速设备,代理设备可以根据缓存加速设备的标识信息,将数据包发送至标识信息对应的缓存加速设备。
在一种可选的实施例中,为了满足缓存加速设备负载均衡的要求,可以将相同的文件下载需求分配至相同的目标缓存加速设备,例如,当获取到相同的文件ID时,通过预设算法为包含相同的文件ID的认证信息包分配相同的缓存加速设备。
替换模块34,用于将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息。
具体的,认证信息包的原目的端为对等端,上述认证信息包的原目的标识信息为对等端的标识信息。
在一种可选的实施例中,通过预设算法得到目标缓存加速设备的标识信息,其中,标识信息包括IP地址和端口号,将认证信息包中对等端的IP地址和端口号替换为目标缓存加速设备的IP地址和端口号。
发送模块36,用于按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。
在一种可选的实施例中,代理设备在将原目的标识信息替换为目标缓存加速设备的标识信息后,按照目标缓存加速设备的标识信息将认证信息包发送至目标缓存加速设备。
通过本申请上述实施例,通过接收模块接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,通过确定模块根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息,通过替换模块将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息,通过发送模块按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。上述方案通过预设算法根据认证信息包中包含的文件ID来为文件ID匹配对应的目标缓存加速设备,并获取匹配到的目标缓存加速设备的标识信息,从而使得代理设备能够根据目标缓存加速设备的标识信息将认证信息包发送至目标缓存加速设备,解决了现有技术的P2P缓存加速中,将代理设备与缓存加速设备分开部署时,难以对多台缓存设备进行负载均衡的技术问题,实现了对缓存加速设备进行负载均衡的技术效果,从而提高用户的上网体验。
可选的,根据本申请上述实施例,上述接收模块包括:
第一查找模块,用于在认证信息包中查找位于预设位置的字节;
获取模块,用于以位于预设位置的字节作为起始端,连续获取预设个数的字节,得到文件标识符。
由上可知,本申请上述装置通过第一查找模块在认证信息包中查找位于预设位置的字节,通过获取模块以位于预设位置的字节作为起始端,连续获取预设个数的字节,得到文件标识符。上述方案实现了在认证信息包中获取文件标识符的技术效果。
可选的,根据本申请上述实施例,上述确定模块包括:
第二查找模块,用于通过一致性哈希算法在预设的文件标识符与缓存加速设备的映射关系中查找与文件标识符对应的目标缓存加速设备的标识信息,其中,标识信息包括:目标缓存加速设备的IP地址和端口号。
由上可知,通过一致性哈希算法在预设的文件标识符与缓存加速设备的映射关系中查找与文件标识符对应的目标缓存加速设备的标识信息。上述方案通过一致性哈希算法实现了对缓存加速设备进行负载均衡的技术效果。
实施例3
图4是根据本申请实施例的一种P2P数据加速系统的结构示意图。该系统包括:
客户端40,用于向代理设备发送认证信息包。
代理设备42,与客户端通信,用于根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息,将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息,并按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备,其中,文件标识符与客户端请求下载的文件对应。
具体的,上述认证信息包可以是握手包,所述文件标识符可以是文件ID,用于表征不同客户端请求下载的文件。文件标识符可以是根据客户端请求下载的文件计算出的hash值;目标缓存加速设备的标识信息用于表征目标缓存加速设备,代理设备可以根据缓存加速设备的标识信息,将数据包发送至标识信息对应的缓存加速设备,认证信息包的原目的端为对等端,上述认证信息包的原目的标识信息为对等端的标识信息。
目标缓存加速设备44,与代理设备通信,用于向代理设备返回所述文件标识符对应的文件。
通过本申请上述实施例,接收客户端发送的认证信息包,并获取认证信息包中的文件标识符,根据文件标识符通过预设算法得到与文件标识符对应的目标缓存加速设备的标识信息,将认证信息包的原目的标识信息替换为目标缓存加速设备的标识信息,按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备。上述方案通过预设算法根据认证信息包中包含的文件ID来为文件ID匹配对应的目标缓存加速设备,并获取匹配到的目标缓存加速设备的标识信息,从而使得代理设备能够根据目标缓存加速设备的标识信息将认证信息包发送至目标缓存加速设备,解决了现有技术的P2P缓存加速中,将代理设备与缓存加速设备分开部署时,难以对多台缓存设备进行负载均衡的技术问题,实现了对缓存加速设备进行负载均衡的技术效果,从而提高用户的上网体验。
可选的,根据本申请上述实施例,上述代理设备还用于保存认证信息包的五元组信息,在代理设备接收到目标缓存加速设备返回的响应信息时,将响应信息的源地址和端口号替换为五元组信息中包含的客户端的IP地址和端口号,其中,五元组信息包括客户端的IP地址和端口号,响应信息的源地址和端口号为目标缓存加速设备的IP地址和端口号。
由上可知,在本申请上述系统中,代理设备接收到目标缓存加速设备返回的响应信息时,通过将响应信息的源地址和端口号替换为五元组信息中包含的客户端的IP地址和端口号来隐藏目标缓存加速设备的标识信息。上述方案防止客户端在知晓缓存加速设备的标识信息后对缓存加速设备进行攻击,从而达到了保证后端P2P缓存加速设备的设备安全的技术效果。
可选的,根据本申请上述实施例,所述目标缓存加速设备,与代理设备通信,用 于在目标缓存加速设备未命中文件标识符对应的文件时,将认证信息包发送至客户端的对等端口;其中,代理设备还用于将认证信息包的对等端的标识信息按照预设协议格式添加于替换了标识信息的认证信息包的头部和/或尾部。
由上可知,本申请上述系统在按照认证信息包中替换后的标识信息将认证信息包发送至目标缓存加速设备之前,将认证信息包的对等端的标识信息按照预设协议格式添加于替换了标识信息的认证信息包的头部和/或尾部,在目标缓存加速设备未命中文件标识符对应的文件时,获取添加于认证信息包的头部和/或尾部的对等端的标识信息,并将认证信息包按照对等端的IP地址和端口号发送至对等端。上述方案解决了在P2P加速过程中,由于源数据(例如:对等端的标识信息)丢失,导致无法代理回源的问题
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM, Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (14)

  1. 一种P2P数据加速方法,其特征在于,包括:
    接收客户端发送的认证信息包,并获取所述认证信息包中的文件标识符,其中,所述文件标识符与所述客户端请求下载的文件对应;
    根据所述文件标识符通过预设算法得到与所述文件标识符对应的目标缓存加速设备的标识信息;
    将所述认证信息包的原目的标识信息替换为所述目标缓存加速设备的标识信息;
    按照所述认证信息包中替换后的标识信息将所述认证信息包发送至所述目标缓存加速设备。
  2. 根据权利要求1所述的方法,其特征在于,获取所述认证信息包中的文件标识符,包括:
    在所述认证信息包中查找位于预设位置的字节;
    以位于所述预设位置的字节作为起始端,连续获取预设个数的字节,得到所述文件标识符。
  3. 根据权利要求2所述的方法,其特征在于,根据所述文件标识符通过预设算法得到与所述文件标识符对应的目标缓存加速设备的标识信息,包括:
    通过一致性哈希算法在预设的文件标识符与缓存加速设备的映射关系中查找与所述文件标识符对应的目标缓存加速设备的标识信息,其中,所述目标缓存加速设备的标识信息包括:所述目标缓存加速设备的IP地址和端口号。
  4. 根据权利要求1至3中任意一项所述的方法,其特征在于,在接收客户端发送的认证信息包之后,所述方法还包括:在代理设备中保存所述认证信息包的五元组信息,其中,所述五元组信息包括所述客户端的IP地址和端口号。
  5. 根据权利要求4所述的方法,其特征在于,在代理设备接收到所述目标缓存加速设备返回的响应信息时,隐藏所述目标缓存加速设备的标识信息,其中,隐藏所述目标缓存加速设备的标识信息的步骤包括:
    所述代理设备将所述响应信息的源地址和端口号替换为所述五元组信息中包含的对等端的IP地址和端口号,其中,所述响应信息的源地址和端口号为所述目标缓存加速设备的IP地址和端口号。
  6. 根据权利要求5所述的方法,其特征在于,如果在预设时间内,监测到与已保存 的五元组信息相同的五元组信息,则将与已保存的五元组信息相同的五元组信息对应的认证信息包,按照所述已保存的五元组信息对应的认证信息包的路径进行数据交互。
  7. 根据权利要求1至3中任意一项所述的方法,其特征在于,在按照认证信息包中替换后的标识信息将所述认证信息包发送至所述目标缓存加速设备之前,所述方法还包括:
    将所述认证信息包的对等端的标识信息按照预设协议格式添加于替换了标识信息的认证信息包的头部和/或尾部,其中,所述对等端的标识信息为所述原目的标识信息。
  8. 根据权利要求7所述的方法,其特征在于,在所述目标缓存加速设备未命中所述文件标识符对应的文件时,所述目标缓存加速设备将所述认证信息包发送至所述客户端的对等端,其中,将所述认证信息包发送至所述客户端的对等端的步骤包括:
    获取添加于所述认证信息包的头部和/或尾部的对等端的标识信息,其中,所述对等端的标识信息包括:所述对等端的IP地址和端口号;
    将所述认证信息包按照所述对等端的IP地址和端口号发送至所述对等端。
  9. 一种P2P数据加速装置,其特征在于,包括:
    接收模块,用于接收客户端发送的认证信息包,并获取所述认证信息包中的文件标识符,其中,所述文件标识符与所述客户端请求下载的文件对应;
    确定模块,用于根据所述文件标识符通过预设算法得到与所述文件标识符对应的目标缓存加速设备的标识信息;
    替换模块,用于将所述认证信息包的原目的标识信息替换为所述目标缓存加速设备的标识信息;
    发送模块,用于按照认证信息包中替换后的标识信息将所述认证信息包发送至所述目标缓存加速设备。
  10. 根据权利要求9所述的装置,其特征在于,所述接收模块包括:
    第一查找模块,用于在所述认证信息包中查找位于预设位置的字节;
    获取模块,用于以位于所述预设位置的字节作为起始端,连续获取预设个数的字节,得到所述文件标识符。
  11. 根据权利要求10所述的装置,其特征在于,所述确定模块包括:
    第二查找模块,用于通过一致性哈希算法在预设的文件标识符与缓存加速设备的映射关系中查找与所述文件标识符对应的目标缓存加速设备的标识信息,其中,所述标识信息包括:所述目标缓存加速设备的IP地址和端口号。
  12. 一种P2P数据加速系统,其特征在于,包括:
    客户端,用于向代理设备发送认证信息包;
    代理设备,与所述客户端通信,用于根据文件标识符通过预设算法得到与所述文件标识符对应的目标缓存加速设备的标识信息,将所述认证信息包的原目的标识信息替换为所述目标缓存加速设备的标识信息,并按照认证信息包中替换后的标识信息将所述认证信息包发送至所述目标缓存加速设备,其中,所述文件标识符与所述客户端请求下载的文件对应;
    目标缓存加速设备,与所述代理设备通信,用于向所述代理设备返回所述文件标识符对应的文件。
  13. 根据权利要求12所述的系统,其特征在于,
    所述代理设备还用于保存所述认证信息包的五元组信息,在代理设备接收到所述目标缓存加速设备返回的响应信息时,将所述响应信息的源地址和端口号替换为所述五元组信息中包含的所述客户端的IP地址和端口号,其中,所述五元组信息包括所述客户端的IP地址和端口号,所述响应信息的源地址和端口号为所述目标缓存加速设备的IP地址和端口号。
  14. 根据权利要求12所述的系统,其特征在于,所述目标缓存加速设备还用于在未命中所述文件标识符对应的文件时,将所述认证信息包发送至所述客户端的对等端口;所述代理设备还用于将所述认证信息包的对等端的标识信息按照预设协议格式添加于替换了标识信息的认证信息包的头部和/或尾部。
PCT/CN2016/099177 2016-08-02 2016-09-18 P2p数据加速方法、装置和系统 WO2018023858A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/093,797 US20190141158A1 (en) 2016-08-02 2016-09-18 Acceleration method, device, and system for p2p data
EP16911453.5A EP3477910B1 (en) 2016-08-02 2016-09-18 Acceleration method, device, and system for p2p data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610626593.1 2016-08-02
CN201610626593.1A CN106302661B (zh) 2016-08-02 2016-08-02 P2p数据加速方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2018023858A1 true WO2018023858A1 (zh) 2018-02-08

Family

ID=57664584

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099177 WO2018023858A1 (zh) 2016-08-02 2016-09-18 P2p数据加速方法、装置和系统

Country Status (4)

Country Link
US (1) US20190141158A1 (zh)
EP (1) EP3477910B1 (zh)
CN (1) CN106302661B (zh)
WO (1) WO2018023858A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259527B (zh) * 2016-12-28 2020-10-16 华为技术有限公司 基于代理的业务处理方法、装置及网元设备
CN112737857B (zh) * 2020-12-31 2022-07-22 杭州趣链科技有限公司 P2p网络节点结构的优化方法、装置和电子设备
CN114513501B (zh) * 2022-02-15 2024-03-22 银联商务股份有限公司 目标分发方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812344A (zh) * 2006-03-09 2006-08-02 杭州华为三康技术有限公司 一种实现负载均衡的方法和系统
US20060212542A1 (en) * 2005-03-15 2006-09-21 1000 Oaks Hu Lian Technology Development Co., Ltd. Method and computer-readable medium for file downloading in a peer-to-peer network
CN102833337A (zh) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 一种ftp文件上传、下载方法及装置
CN104158868A (zh) * 2014-08-06 2014-11-19 杭州华三通信技术有限公司 一种文件传输方法和管理服务器

Family Cites Families (86)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6912588B1 (en) * 1998-04-02 2005-06-28 Intel Corporation System and method for managing client requests in client-server networks
US6157955A (en) * 1998-06-15 2000-12-05 Intel Corporation Packet processing system including a policy engine having a classification unit
US20110128972A1 (en) * 2000-04-17 2011-06-02 Randy Thornton Peer to peer dynamic network link acceleration
US20020026643A1 (en) * 2000-05-12 2002-02-28 Henry Ewen Data transmission system and method
US7027585B2 (en) * 2002-05-28 2006-04-11 Rockwell Electronic Commerce Technologies, Llc Web callback through multimedia devices
US7170882B2 (en) * 2002-12-11 2007-01-30 Broadcom Corporation Media exchange network supporting remote peripheral access
US8136025B1 (en) * 2003-07-03 2012-03-13 Google Inc. Assigning document identification tags
US7487353B2 (en) * 2004-05-20 2009-02-03 International Business Machines Corporation System, method and program for protecting communication
US9210036B2 (en) * 2004-05-25 2015-12-08 University Of Florida Metric driven holistic network management system
JP4339184B2 (ja) * 2004-06-07 2009-10-07 パナソニック株式会社 サーバ装置、通信機器、通信システム、通信方法、プログラム及び記録媒体
US7817647B2 (en) * 2005-04-22 2010-10-19 Microsoft Corporation Flower-petal resolutions for PNRP
US7764635B2 (en) * 2005-04-26 2010-07-27 Telcordia Technologies, Inc. Cross-layer self-healing in a wireless ad-hoc network
US20060265436A1 (en) * 2005-05-20 2006-11-23 Andrew Edmond Grid network for distribution of files
US20060291412A1 (en) * 2005-06-24 2006-12-28 Naqvi Shamim A Associated device discovery in IMS networks
CN1327658C (zh) * 2005-08-09 2007-07-18 华为技术有限公司 网络通信状况探测方法
US20070073878A1 (en) * 2005-09-23 2007-03-29 Qurio Holdings, Inc. System and method for lowering proxy bandwidth utilization
US8086722B2 (en) * 2005-12-21 2011-12-27 Rovi Solutions Corporation Techniques for measuring peer-to-peer (P2P) networks
US7818402B1 (en) * 2006-02-08 2010-10-19 Roxbeam Media Network Corporation Method and system for expediting peer-to-peer content delivery with improved network utilization
US9154512B2 (en) * 2006-03-30 2015-10-06 Cisco Technology, Inc. Transparently proxying transport protocol connections using an external server
JP2008104027A (ja) * 2006-10-19 2008-05-01 Fujitsu Ltd パケット情報収集装置およびパケット情報収集プログラム
US20080285577A1 (en) * 2007-05-15 2008-11-20 Yehuda Zisapel Systems and Methods for Providing Network-Wide, Traffic-Aware Dynamic Acceleration and Admission Control for Peer-to-Peer Based Services
US8024472B1 (en) * 2007-09-25 2011-09-20 Limelight Networks, Inc. Third party verification using override IP addresses
US8392604B2 (en) * 2007-10-09 2013-03-05 Yahoo! Inc. Peer to peer browser content caching
US20150089020A1 (en) * 2008-01-23 2015-03-26 Liveu Ltd. Live video content exchange
CN101562784B (zh) * 2008-04-14 2012-06-06 华为技术有限公司 报文分发方法、设备及系统
US8051185B2 (en) * 2008-05-16 2011-11-01 Fastsoft, Inc. Network communication through a specified intermediate destination
US9323681B2 (en) * 2008-09-18 2016-04-26 Avere Systems, Inc. File storage system, cache appliance, and method
US8103764B2 (en) * 2008-10-14 2012-01-24 CacheIQ, Inc. Method and apparatus for matching trigger pattern
US9559800B1 (en) * 2008-10-24 2017-01-31 Vmware, Inc. Dynamic packet filtering
CN101729581B (zh) * 2008-10-28 2016-01-20 华为技术有限公司 一种在p2p网络中实现重定向的方法、系统及设备
US8719336B2 (en) * 2009-02-03 2014-05-06 Microsoft Corporation Method and apparatus for thwarting traffic analysis in online games
US20100306059A1 (en) * 2009-05-26 2010-12-02 Rettig Michael B System and method for providing banner services
WO2010143669A1 (ja) * 2009-06-08 2010-12-16 日本電気株式会社 携帯端末装置、携帯端末装置の制御方法、通信システム、通信装置、通信装置の制御方法
US9432414B2 (en) * 2009-08-25 2016-08-30 Nokia Solutions And Networks Oy Control of codec negotiation for communication connection
JP2011049667A (ja) * 2009-08-25 2011-03-10 Panasonic Corp データ処理装置及びデータ処理方法
EP3703345A1 (en) * 2010-06-29 2020-09-02 Huawei Technologies Co., Ltd. Asymmetric network address encapsulation
US8463788B2 (en) * 2010-09-03 2013-06-11 Marvell World Trade Ltd. Balancing caching load in a peer-to-peer based network file system
US8406233B2 (en) * 2010-09-07 2013-03-26 Check Point Software Technologies Ltd. Predictive synchronization for clustered devices
US20120155471A1 (en) * 2010-12-15 2012-06-21 Electronics And Telecommunications Research Institute Method and apparatus for routing
EP2692095B1 (en) * 2011-03-28 2019-06-05 Telefonaktiebolaget LM Ericsson (publ) Method, apparatus and computer program product for updating load balancer configuration data
US9703843B2 (en) * 2011-07-01 2017-07-11 Nec Corporation Object placement apparatus, object placement method and program
WO2013046664A1 (ja) * 2011-09-27 2013-04-04 日本電気株式会社 情報システム、管理装置、データ処理方法、データ構造、プログラム、および記録媒体
US20130080603A1 (en) * 2011-09-27 2013-03-28 Microsoft Corporation Fault Tolerant External Application Server
US8872970B2 (en) * 2011-10-31 2014-10-28 Google Technology Holdings LLC System and method for transport stream sync byte detection with transport stream having multiple emulated sync bytes
CN103535011A (zh) * 2011-12-14 2014-01-22 华为技术有限公司 内容分发网络cdn路由方法、设备和系统
US9325676B2 (en) * 2012-05-24 2016-04-26 Ip Ghoster, Inc. Systems and methods for protecting communications between nodes
CN103491065B (zh) * 2012-06-14 2018-08-14 南京中兴软件有限责任公司 一种透明代理及其实现方法
CN103634365A (zh) * 2012-08-29 2014-03-12 中兴通讯股份有限公司 一种无线接入网中的第三方应用平台及其通讯方法
US9106711B2 (en) * 2012-09-04 2015-08-11 Telefonaktiebolaget L M Ericsson (Publ) Minimizing mapping and signaling for data path aggregation
KR101983034B1 (ko) * 2012-09-05 2019-09-03 삼성전자주식회사 인터넷을 통한 핸드오버 지원 방법 및 장치
US9614870B2 (en) * 2014-06-04 2017-04-04 Aaa Internet Publishing Inc. Method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium
US9654354B2 (en) * 2012-12-13 2017-05-16 Level 3 Communications, Llc Framework supporting content delivery with delivery services network
KR101478662B1 (ko) * 2013-01-15 2015-01-02 서정환 클라이언트의 ip주소를 서버로 전송하는 중계 시스템 및 방법
US10924895B2 (en) * 2013-01-22 2021-02-16 Blackberry Limited Enhancing short message service addressing and routing
US20140222618A1 (en) * 2013-02-05 2014-08-07 CAA South Central Ontario System and method for bidding
US9276846B2 (en) * 2013-03-15 2016-03-01 Cavium, Inc. Packet extraction optimization in a network processor
US9137211B2 (en) * 2013-05-16 2015-09-15 Cisco Technology, Inc. Application services based on dynamic split tunneling
EP2997750A4 (en) * 2013-05-17 2017-04-19 Initlive Inc. System for quickly finding the whereabouts of friends
US10284649B2 (en) * 2013-05-31 2019-05-07 Nec Corporation Distributed processing system
US20160085955A1 (en) * 2013-06-10 2016-03-24 Doosra, Inc. Secure Storing and Offline Transferring of Digitally Transferable Assets
KR101538762B1 (ko) * 2013-06-12 2015-07-24 서정환 캡슐화 프로토콜을 이용하여 클라이언트의 ip 주소를 서버로 전송하는 중계 시스템 및 방법
CA2915557A1 (en) * 2013-06-22 2014-12-31 Forgetbox Sas Methods and systems for displaying virtual files side-by-side with non-virtual files and for instantaneous file transfer
US20150128293A1 (en) * 2013-11-01 2015-05-07 Numecent Holdings Inc. Application distribution network
WO2015069576A1 (en) * 2013-11-05 2015-05-14 Cisco Technology, Inc. Network fabric overlay
US9495373B2 (en) * 2013-12-06 2016-11-15 International Business Machines Corporation File versions within content addressable storage
KR101932956B1 (ko) * 2013-12-19 2018-12-27 엠파이어 테크놀로지 디벨롭먼트 엘엘씨 중앙 관리형 온라인 서비스에서 p2p 코드 교환 촉진
EP3092766B1 (en) * 2014-01-08 2018-11-07 Vodafone IP Licensing Limited Telecommunications network with optimisation of content delivery
US20150207846A1 (en) * 2014-01-17 2015-07-23 Koninklijke Kpn N.V. Routing Proxy For Adaptive Streaming
US20150236752A1 (en) * 2014-02-20 2015-08-20 Raytheon Bbn Technologies Corp. Method for selection of unique next-time-interval internet protocol address and port
US10277554B2 (en) * 2014-03-04 2019-04-30 Cisco Technology, Inc. Transparent proxy authentication via DNS processing
US9392057B2 (en) * 2014-04-11 2016-07-12 Qualcomm Incorporated Selectively exchanging data between P2P-capable client devices via a server
US9455917B2 (en) * 2014-05-27 2016-09-27 Telefonaktiebolaget Lm Ericsson (Publ) Simplified approach to verify LFAS in deployment
EP3162039B1 (en) * 2014-06-27 2020-01-08 Nokia Solutions and Networks Oy Ultra high-speed mobile network based on layer-2 switching
US9591531B2 (en) * 2014-07-01 2017-03-07 Google Technology Holdings LLC Methods and an apparatus for transferring data communication sessions between radio-access networks
US10291735B2 (en) * 2014-07-23 2019-05-14 Facebook, Inc. Residential cache appliance utilizing a social network
US9923677B2 (en) * 2014-12-26 2018-03-20 Intel Corporation Multiplexing many client streams over a single connection
US9590898B2 (en) * 2015-02-17 2017-03-07 Telefonaktiebolaget L M Ericsson (Publ) Method and system to optimize packet exchange between the control and data plane in a software defined network
US9852147B2 (en) * 2015-04-01 2017-12-26 Dropbox, Inc. Selective synchronization and distributed content item block caching for multi-premises hosting of digital content items
US10609091B2 (en) * 2015-04-03 2020-03-31 Nicira, Inc. Method, apparatus, and system for implementing a content switch
JP2016208175A (ja) * 2015-04-20 2016-12-08 富士通株式会社 通信方法、通信システム、情報処理装置、及びプログラム
US9699205B2 (en) * 2015-08-31 2017-07-04 Splunk Inc. Network security system
US20170068906A1 (en) * 2015-09-09 2017-03-09 Microsoft Technology Licensing, Llc Determining the Destination of a Communication
US10044623B2 (en) * 2016-01-19 2018-08-07 Verizon Patent And Licensing Inc. Methods and systems for efficient routing of multicast media content by data routers at end user premises
US10212072B2 (en) * 2016-06-14 2019-02-19 Arista Networks, Inc. Peer state synchronization mechanism for dynamic network address translation (DNAT) in a network element
US10389837B2 (en) * 2016-06-17 2019-08-20 International Business Machines Corporation Multi-tier dynamic data caching
US10382552B2 (en) * 2016-12-12 2019-08-13 Verizon Patent And Licensing Inc. User device ad-hoc distributed caching of content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212542A1 (en) * 2005-03-15 2006-09-21 1000 Oaks Hu Lian Technology Development Co., Ltd. Method and computer-readable medium for file downloading in a peer-to-peer network
CN1812344A (zh) * 2006-03-09 2006-08-02 杭州华为三康技术有限公司 一种实现负载均衡的方法和系统
CN102833337A (zh) * 2012-08-30 2012-12-19 北京星网锐捷网络技术有限公司 一种ftp文件上传、下载方法及装置
CN104158868A (zh) * 2014-08-06 2014-11-19 杭州华三通信技术有限公司 一种文件传输方法和管理服务器

Also Published As

Publication number Publication date
EP3477910A1 (en) 2019-05-01
CN106302661A (zh) 2017-01-04
EP3477910B1 (en) 2020-06-24
CN106302661B (zh) 2019-08-13
EP3477910A4 (en) 2019-07-17
US20190141158A1 (en) 2019-05-09

Similar Documents

Publication Publication Date Title
US11758013B2 (en) Methods and systems for caching data communications over computer networks
US8510415B2 (en) Data distribution method, data distribution system and relevant devices in edge network
WO2017050117A1 (zh) 网络负载均衡处理系统及其方法和装置
JP2015507380A (ja) ステートレスおよびステートフルなサーバー負荷分散を組み合わせる方法
US20150295823A1 (en) Packet processing method and background server
WO2018023858A1 (zh) P2p数据加速方法、装置和系统
US20160210366A1 (en) Method and apparatus for providing media resource
JP5620881B2 (ja) トランザクション処理システム、トランザクション処理方法、および、トランザクション処理プログラム
CN112929411A (zh) 一种分布式文件传输方法、服务器及私有云设备
EP2975819B1 (en) Reconstructable content objects
EP3384642B1 (en) Forwarding table compression
WO2018018490A1 (zh) 访问分发方法、装置及系统
CN110691139A (zh) 一种数据传输方法、装置、设备及存储介质
US10341292B2 (en) Increased port address space
CN103685367B (zh) 离线下载系统和方法
WO2023284626A1 (zh) 优化数据访问性能的方法和中间设备
CN115865816A (zh) 一种网络负载均衡方法及装置

Legal Events

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

Ref document number: 16911453

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016911453

Country of ref document: EP

Effective date: 20190128

NENP Non-entry into the national phase

Ref country code: DE