By turning the power security control of power transfer into non-linear programming, a new power flow transferring control algorithm based on node lopsided powers is proposed. The equality constraints are transformed into power mismatch and processed as the optimization target. It avoids the drawback of the conventional intelligent optimization algorithm that optimal solution must succeed to the satisfaction of power flow equations, thus improving the computing speed. Then a particle swarm optimization(PSO) algorithm with fully communicated information is utilized to solve the optimization problem. In order to avoid premature in PSO optimization process, chaotic sequence is used to initiate individual position, so as to strengthen the diversity of searching. Constraints of the optimization problem can be effectively handled by the proposed method. When system is heavily loaded, conventional methods cannot be used, but the algorithm proposed is still valid. New England 39-bus system is employed to verify the effectiveness of the proposed method.