摘要:
A method for forwarding resources is provided, which includes the following steps. Content-based routing is performed between a resource request entity and a resource providing entity according to a resource identifier. Information indicating content-based forwarding is generated on an intermediate route entity during routing. A resource-content-based forward path is created between the resource request entity and the resource providing entity. The resource requested by the resource request entity is sent to the resource request entity by the forward path created based on the information indicating content-based forwarding. A network entity and a network system are also provided. Thus, the content-based routing is performed based on the resource identifier, and the content-based forward path is created, so that the path forwarding based on the content is realized.
摘要:
In the field of communications, a source switching method, system, and device are provided, which are applied to a Peer-to-Peer (P2P) network. The method includes the following steps. When sending resources obtained from a first resource providing entity to a resource receiving entity, a network device obtains information for switching a resource providing entity, searches for a second resource providing entity that provides the same resources as the first resource providing entity according to the information, and establishes a transmission path to the second resource providing entity. The network device obtains the resources from the second resource providing entity through the transmission path. The system includes a network device, a first resource providing entity, and a second resource providing entity. In the P2P overlay network, when source switching is needed, the relatively stable network device acting as a Peer node takes charge of source switching, thereby decreasing the effect of dynamic characteristic of source ends that provide a resource service on receiving ends, improving the user experience, and effectively avoiding the request storm caused by new requests simultaneously initiated by multiple receiving ends that receive the resource service.