The invention discloses a stateless
multicast method and
system based on a multi-layer
bloom filter. The method comprises the following steps that: sending equipment divides
multicast trees according to a layer sequence, judges the proportion of a forwarding port in all ports of the whole layer for each
multicast tree layer, and encodes the layer into a three-layer positive multi-layer
Bloom filter (PMBF) or a two-layer negative multi-layer
Bloom filter (NMBF) according to the situation, after the multicast tree is coded, the filters form a
label according to the hierarchical sequence of the multicast tree, and the
label is added into a data packet header to be sent; and the switching equipment receives the data packet, analyzes the
label of the data packet header, takes out the
byte string of the first filter, deserializes the
byte string to construct the filter, selects a query method according to the type of the filter after obtaining the filter, queries all ports in sequence, identifies all ports needing to be forwarded based on a query result, and forwards data. According to the stateless multicast method, the occupied space of the data packet header is low, and the stateless multicast method is almost lossless.