| CPC H04L 41/145 (2013.01) [H04L 43/08 (2013.01)] | 20 Claims |

|
1. A method comprising:
obtaining a target time series comprising N elements, wherein the N elements correspond to N moments, and wherein each of the N elements is traffic data received at a corresponding moment;
obtaining a target parameter of the target time series based on the target time series, wherein the target parameter comprises at least one of a periodic factor or a jitter density, wherein the periodic factor represents a wave-shaped change that is presented in the target time series and that is about a trend that represents an overall change of the target time series, and wherein the jitter density represents a deviation between an actual value of the target time series and a target value of the target time series within a target time;
obtaining, based on a first mapping relationship and a first type of the target time series, a first-type decision model, wherein the first mapping relationship comprises correspondences between a plurality of types and a plurality of first-type decision models, wherein the first type of the target time series is based on the plurality of types and on the target parameter, wherein each of the types corresponds to one parameter set and corresponds to a type of decision model, and wherein the target parameter belongs to a parameter set that corresponds to the first type; and
detecting an anomaly of the target time series based on the first-type decision model that corresponds to the first type.
|