A step-by-step Bogoliubov transformation method for diagonalising a kind of non-Hermitian effective Hamiltonian