CPC H04L 43/022 (2013.01) [H04L 43/028 (2013.01); H04L 43/10 (2013.01)] | 16 Claims |
1. A message sampling method in an In-situ Operation Administration and Maintenance (IOAM) mechanism, comprising:
receiving transmission data; and
executing, according to a configured sampling mode, an IOAM function on a target message matching the sampling mode in the transmission data,
wherein the sampling mode indicates executing the IOAM function on a message of a designated sampling object and adding sampling rate information, and executing, according to the configured sampling mode, the IOAM function on the target message matching the sampling mode in the transmission data comprises: marking the sampled target message according to a configured sampling rate, and adding an IOAM header to the marked target message while setting a sampling rate flag bit and adding a metadata value of sampling rate.
|