Abstract:
The present application discloses a method for caching data. The method includes: a controller calculates a local caching gain of first content for each forwarding device on the first content delivery path, wherein a local caching gain of the first content of an ith forwarding device is generated by calculation according to a first parameter and a popularity of the first content, and the first parameter is used for identifying bandwidth consumed by transmitting the first content between the ith forwarding device and the server. The controller obtains a first caching gain, wherein the first caching gain is a maximum value of local caching gains of all forwarding devices on the first content delivery path. The controller sends the first caching gain to the server and sends the local caching gain of the first content to the ith forwarding device.
Abstract:
A controller receives an access request message of a to-be-served flow that is sent by a network device. The access request message includes an identifier of the to-be-served flow and an identifier of a terminal that sends the to-be-served flow. The controller determines service level information of the to-be-served flow based on the identifier of the terminal and the identifier of the to-be-served flow. The controller determines a transmission path of the to-be-served flow and a transmission path of a being-served flow based on the service level information of the to-be-served flow and service level information of the being-served flow. The controller publishes the transmission path of the to-be-served flow and the transmission path of the being-served flow to the network device.
Abstract:
The present disclosure provide a method for determining a content acquisition path, a method for processing a content request and a corresponding apparatus and system. The method for determining the content acquisition path includes: receiving a request from a user, where the request is used for requesting an original content provider to provide a content, and the request carries a name of the content, a network address of the original content provider and a network address of the user; calculating at least two forwarding paths to the original content provider, and determining a content acquisition path according to link cost on each forwarding path and a cache hit rate of a network node on each forwarding path to the content; and sending the request to a next network node according to the content acquisition path, for enabling the next network node to forward or respond to the request.
Abstract:
The present disclosure provide a method for determining a content acquisition path, a method for processing a content request and a corresponding apparatus and system. The method for determining the content acquisition path includes: receiving a request from a user, where the request is used for requesting an original content provider to provide a content, and the request carries a name of the content, a network address of the original content provider and a network address of the user; calculating at least two forwarding paths to the original content provider, and determining a content acquisition path according to link cost on each forwarding path and a cache hit rate of a network node on each forwarding path to the content; and sending the request to a next network node according to the content acquisition path, for enabling the next network node to forward or respond to the request.
Abstract:
The present disclosure discloses a method for acquiring a content, a user equipment and a cache node. The method includes: a user equipment requests a target content from a management node; receives a first probe packet and a second probe packet, the first probe packet includes an identifier of a fragment of the target content and a shortest distance from the fragment to the user equipment on a first path, and the second probe packet includes the identifier of the fragment of the target content and a shortest distance from the fragment to the user equipment on a second path; determines an optimal path according to the shortest distance from the fragment to the user equipment on the first path and the shortest distance from the fragment to the user equipment on the second path; and sends a second acquiring request used for acquiring the fragment through the optimal path.
Abstract:
An embodiment provides a packet transmission method and apparatus, to resolve a problem that occurs when a packet cannot traverse a NAT device when VTEPs communicate with each other through the NAT device. The method is applied to a VXLAN including a first VTEP, a second VTEP, and a NAT device. The method includes: performing, by the first VTEP, VXLAN encapsulation on a first packet, obtaining a second packet; sending, by the first VTEP, the second packet to the second VTEP through the NAT device; and performing, by the second VTEP, VXLAN decapsulation on the received second packet, to obtain the first packet. The first packet is a packet to be sent by the first VTEP, a destination port number of the second packet is obtained based on a destination IP address of the second packet, and a source port number of the second packet is a preset port number.
Abstract:
The present application discloses a method and device for generating forwarding information. The method includes receiving a first request message used for requesting a first content for a first network element, determining that a second network element is a provider of the first content according to first registration information sent by the second network element, determining a first path from the second network element to the first network element according to a network topology, generating first forwarding information for the first forwarding device, wherein the first forwarding information comprising first matching information and first operating information, the first operating information is used for instructing to obtain a first encapsulation message according to a first data message after determining that the first data message matches the first matching information, and sending the first encapsulation message to the first network element via the first path.
Abstract:
Embodiments of this application provide a resource obtaining method. A server side obtains a resource request that includes information about a resource requested by the server side. The server side sends the resource request to a client. After receiving the resource request, the client obtains, according to the information about the resource requested by the server side, information about a resource allocated to the server side. The client sends, to the server side, a resource response that includes the information about the resource allocated to the server side. In the method provided in the embodiments of this application, the server side actively sends, to the client, the resource request used to request the resource, and the resource that is allocated by the client to the server side according to the resource request of the server side can better meet an actual requirement of the server side.
Abstract:
This application provides a verification method, apparatus, and system that are used for network application access, and the method includes: performing, by a verification server, user identity verification on a terminal, where the user verification request includes first location information; generating, by the verification server, an encrypted token according to the first location information in the user verification request after determining that the terminal succeeds in the user identity verification; and sending, by the verification server, the encrypted token to a control device. It may be determined whether a terminal that performs content access is a terminal used by a user on which user verification is performed. Therefore, this can effectively avoid an application-layer-based network attack such as an MITM attack, and further effectively improve security of the network application access.
Abstract:
The present application discloses a method for caching data, which is capable of determining a caching location of content according to a popularity of the content and impact of caching the content on network bandwidth, so as to save the network bandwidth. The method includes: receiving a first data packet from a server, and a caching gain included in the first data packet is a maximum value of local caching gains of all forwarding devices on a first content delivery path; and caching first content included in the first data packet when determining that the caching gain in the first data packet matches a local caching gain corresponding to an identity of the first content, where the local caching gain corresponding to the identity of the first content is generated by calculation according to a first parameter and a popularity of the first content.