Abstract:
Disclosed is a packet processing method and system, and a device. A status value used to identify a topology status of service nodes at a specified time is preconfigured for a packet in a packet flow, so that when a service node in a next hop is selected for the packet, selection is performed not based on a topology status of current actual service nodes in the next hop, but based on the topology status, which is identified by the status value, of the service nodes at the specified time. As long as status values carried in packets in a same packet flow are the same, even if a topology status of service nodes changes, a same service node can still be selected for the packets in the same packet flow, thereby avoiding a problem of diversion of the packets in the same packet flow.
Abstract:
A method, an apparatus, and a system are provided for load balancing of a service chain. The method includes: receiving, by a flow classifier, a service chain selection and control policy sent by a policy and charging rules function (PCRF) unit; hashing, by the flow classifier according to a hash quantity, a service flow corresponding to a service chain identifier, to obtain multiple subflows, and adding the service chain identifier and hashing factors to packets of the subflows, where different subflows correspond to different hashing factors; and sending, by the flow classifier, the packets of the subflows after the service chain identifier and the hashing factors are added, to a forwarding device.
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:
This application discloses a multicast forwarding method and a multicast router. The method includes: listening to, by a first multicast router, a plurality of unicast packets passing through the first multicast router, and determining a set of unicast packets that are from a same upstream multicast router and that belong to a same unicast stream; when determining that destination addresses of at least two unicast packets in the unicast packet set are different, sending, by the first multicast router, a prune message to the upstream multicast router; and sending, by the first multicast router, the received unicast packets with the multicast identifier to the destination devices corresponding to the destination address group. The method is used to provide a new multicast method, so as to implement multicast functions of some routers in an existing unicast network architecture.
Abstract:
Disclosed is a packet processing method and system, and a device. A status value used to identify a topology status of service nodes at a specified time is preconfigured for a packet in a packet flow, so that when a service node in a next hop is selected for the packet, selection is performed not based on a topology status of current actual service nodes in the next hop, but based on the topology status, which is identified by the status value, of the service nodes at the specified time. As long as status values carried in packets in a same packet flow are the same, even if a topology status of service nodes changes, a same service node can still be selected for the packets in the same packet flow, thereby avoiding a problem of diversion of the packets in the same packet flow.
Abstract:
Embodiments of the present invention disclose a method and a gateway device for managing an address resource, which relate to the field of Internet technologies and can maximally reduce horizontal traffic between gateway devices, thereby improving system performance. The method in the present invention includes: sending an address delegation request message to a management gateway device in a same gateway group, where the management gateway device is configured to manage an address pool(s) or an address in an address pool; receiving a response message sent by the management gateway device, where the response message includes a delegated address, and the delegated address is an address in the address pool(s) managed by the management gateway device; acquiring the delegated address in the response message; and allocating an address in the delegated address to a user terminal in a same user group. The present invention is used for managing the address resource.
Abstract:
One example packet processing device includes a buffer, and the packet processing device obtains a to-be-measured packet. In response to determining that occupied storage space in the buffer is less than a preset threshold, the packet processing device reads the to-be-measured information from the buffer, and modifies, based on the to-be-measured information and a first algorithm, a pieces of data in first measurement data corresponding to the to-be-measured packet, where a is a positive integer. In response to determining that occupied storage space in the buffer is greater than or equal to a preset threshold, the packet processing device modifies, based on to-be-measured information and a second algorithm, w pieces of data in second measurement data corresponding to the to-be-measured packet, where w is a positive integer, and w is less than a.
Abstract:
A method, an apparatus, and a system are provided for load balancing of a service chain. The method includes: receiving, by a flow classifier, a service chain selection and control policy sent by a policy and charging rules function PCRF unit; hashing, by the flow classifier according to a hash quantity, a service flow corresponding to a service chain identifier, to obtain multiple subflows, and adding the service chain identifier and hashing factors to packets of the subflows, where different subflows correspond to different hashing factors; and sending, by the flow classifier, the packets of the subflows after the service chain identifier and the hashing factors are added, to a forwarding device.
Abstract:
A route determining method and apparatus, and a communications device are provided. The method includes: obtaining startpoint information and endpoint information of a required path, where the startpoint information includes a sequence number of a startpoint POD and a sequence number of a startpoint edge switch, and the endpoint information includes a sequence number of an endpoint POD and a sequence number of an endpoint edge switch; determining, from an n-dimensional Latin square, an element whose row is the sequence number of the startpoint edge switch and column is the sequence number of the endpoint edge switch; and if the sequence number of the startpoint POD is the same as the sequence number of the endpoint POD, determining that the required path is the startpoint edge switch, an aggregation switch corresponding to the element in the POD, and the endpoint edge switch.
Abstract:
This application discloses a network slicing method. The method includes obtaining metadata information of each of multiple traffic flows, determining a classification policy according to metadata information of the multiple traffic flows, determining a network slicing policy according to the classification policy, and the network slicing policy includes a mapping relationship between a traffic flow type and a network slice and a slice weight of the network slice, and determining a resource node policy according to the network slicing policy, where the resource node policy includes a mapping relationship between at least one resource node in the network and the at least one network slice and a resource weight of each resource node, and the resource weight of the resource node indicates a ratio of a resource of each of network slices corresponding to the resource node to a resource of the resource node.