An Internet infrastructure with network devices and end point devices
containing service module manager and service modules supports packet
routing and vectoring based on payload comparison with spatially related
templates. The network device supports packet content analysis on
arriving packet, consists of a plurality of packet switched interface
circuitries, user interface circuitry, local storage comprising the
service module manager software and a plurality of local service modules,
and processing circuitry communicatively coupled to each of the packet
switched interfaces, local storage and user interface circuit. The
service module manager contains, for comparisons, header templates,
spatially related payload trigger templates and spatially related payload
supplemental templates. The spatially related templates attempt to
identify a target data with certainty. The processing circuitry takes one
or more actions on the packet of target data, by applying selected
service modules.