The application discloses an
abnormality detection positioning method and
system based on a programmable network and a medium, and belongs to the technical field of
data processing. The method comprises the following steps: S1, adding INT header information at an entry node, and passing a first data packet through an INT source switch to obtain a second data packet by adding an INT header
label and a
metadata field to the first data packet; S2, if an intermediate node is abnormal, adding
abnormality information to the second data packet to obtain a third data packet and outputting the third data packet to a next-hop switch; S3, when a final data packet reaches a last-hop switch, using a
Bloom filter to determine whether the final data packet needs to be sent to an INT
server, and finally updating the
Bloom filter; and S4, emptying the
Bloom filter and a
hash table of the switch after each detection period ends.
Abnormality judgment and recording are performed on a data plane, so that the application can directly perform
abnormality detection in the transmission process of a
data stream, and thus the amount of data sent to the INT
server is significantly reduced.