Little and fast scanner with monitoring changes in the state port mapping