Abstract:
Embodiments of the present invention provide a packet processing method, including: receiving, by a first node, a first packet, where the first packet carries a first bit string, the first bit string includes M bit sets, each bit set corresponds to one node group, a value of the bit set is used to indicate whether one or more target nodes of the first packet include the corresponding node group; and determining, by the first node based on the first bit string and a second bit string, whether to send the first packet to a second node, where the second bit string includes N bit sets, each bit set corresponds to one node group, a value of the bit set is used to indicate whether a node belonging to the corresponding node group exists in one or more related nodes of the first node.
Abstract:
The application provide a packet sending method, a router, and a service switching entity. According to the application, a router determines a flow group identifier of a service packet and information about a next-hop service switching entity according to a user identifier and IP 5-tuple information; and forwards the packet to the next-hop service switching entity according to the information about the next-hop service switching entity, so that the next-hop service switching entity determines a corresponding destination service instance according to the user identifier, the flow group identifier, a router identifier, and a processing result, and forwards the packet to the destination service instance, to perform corresponding service processing, thereby implementing service packet forwarding among service instances. The router in the method provided in the embodiments has a flow steering function, and steers a flow to a specified path to perform node-by-node processing.
Abstract:
This application provides a mapping relationship updating method, applied to deterministic networking. The method includes: A first device sequentially obtains a first packet and a second packet that are sent by a second device; the first device determines a first time difference between a time at which the first packet is received and a time at which the second packet is received; and if the first device determines that the first time difference is not within a preset range, the first device updates a period-based mapping relationship.
Abstract:
The application provide a packet sending method, a router, and a service switching entity. According to the application, a router determines a flow group identifier of a service packet and information about a next-hop service switching entity according to a user identifier and IP 5-tuple information; and forwards the packet to the next-hop service switching entity according to the information about the next-hop service switching entity, so that the next-hop service switching entity determines a corresponding destination service instance according to the user identifier, the flow group identifier, a router identifier, and a processing result, and forwards the packet to the destination service instance, to perform corresponding service processing, thereby implementing service packet forwarding among service instances. The router in the method provided in the embodiments has a flow steering function, and steers a flow to a specified path to perform node-by-node processing.
Abstract:
This application provides an address processing method and a network device. The method includes: obtaining, by a first network device, an address; determining, by the first network device, a length of a valid address of the address, where the valid address of the address is a 1st bit, whose bit value is 1, of the address to a last bit of the address; and adding, by the first network device when the length of the valid address of the address is less than a table width of a target table, S zeros before the valid address of the address to obtain an adjusted address, and processing the adjusted address based on the adjusted address and the target table, where S is a difference between the table width of the target table and the length of the valid address of the address.
Abstract:
This application provides a resource reservation method and an apparatus. The method includes: receiving, by a node, a first message, where the first message carries a bandwidth value r1 of a resource requested to be reserved and a quantity Q1 of cycles occupied by the resource, the node maintains resource reservation states in K cycles, K is a positive integer, and Q1 is less than or equal to K; and updating, by the node, resource reservation states in Q1 of the K cycles based on the bandwidth value r1 and the quantity Q1. The node maintains the resource reservation states at a granularity of cycles. Therefore, the resource reservation states that need to be maintained by the node do not depend on a quantity of data flows processed by the node, and a performance requirement of a resource reservation for the node can be lowered.
Abstract:
A packet transmission method and apparatus, and a system. The method includes: after receiving a first packet, a first device determines, based on a condition met by a first number carried in the first packet, a manner of sending the first packet. When the first number of the first packet meets a first condition, a second device determines a second cycle label corresponding to a first cycle label and sends the first packet to a third device in a cycle corresponding to the second cycle label. When the first number of the first packet meets a second condition, the second device determines a third cycle label corresponding to the first cycle label and sends the first packet to the third device in a cycle corresponding to the third cycle label.
Abstract:
This application provides a packet processing method and apparatus, to avoid chain impact of an abnormal packet caused by an abnormal underlying latency on an uncertain target flow. The method includes: receiving, by a first device, a first packet sent by a second device, where the first packet carries a first label, and the first label is determined based on a cycle in which the second device sends the first packet; determining, by the first device based on the first label, whether the first packet is a normal packet; if determining that the first packet is a normal packet, determining, by the first device, a second packet based on the first packet, where the second packet carries a second label; and sending, by the first device, the second packet to a third device in a first cycle, where the second label is determined based on the first cycle.
Abstract:
Embodiments of this application provide network traffic marking and measurement methods and a node, and relate to the field of communications technologies, and specifically, to network traffic measurement and network traffic distribution. The network traffic measurement method includes: receiving, by a second node, a data packet sent by another node in a network, where the data packet is periodically marked by the another node, and each node has a different period of marking a data packet. According to the application, the second node may distinguish, based on the period of marking the data packet, traffic sent by the another node in the network, to obtain network traffic sent by the another node in the network to the second node. Upon implementing the traffic measurement method, data plane overheads can be reduced, and a hardware implementation process is simplified.
Abstract:
Embodiments of the present invention disclose a method for connecting to a VPN across domains. The method includes: receiving, by a PE, a request message for connecting a VDC to a VPN sent by a DCG, determining an RD/RT list corresponding to a VPN User ID in the request message according to the User ID, so as to configure a VPN instance, determining a connection identity at a local end according to a connection identity at a DCG end of an AC in the request message, and binding a logical port in the connection identity at the local end with the VPN instance so that the VDC is connected to the VPN. Accordingly, the present invention further provides a PE and a DCG device for connecting to a VPN across domains.