Moving target beamforming based on Bayesian method