Let A1, A2 be (not necessarily unital or closed) standard operator algebras on locally convex spaces X1, X2, respectively. For k 2, define different kinds of products T1 Tk on elements in Ai, which covers the usual product T1 Tk= T1 Tk, and the Jordan triple product T1 T2= T2T1T2. Let : A1 A2 be a (not necessarily linear) map satisfying that ( (A1) (Ak))= (A1 Ak) whenever any one of Ais is of rank zero or one. It is shown that if the range of contains all rank one and rank two operators then it must be a Jordan isomorphism multiplied by a root of unity. Similar results for self-adjoint operators acting on Hilbert spaces are obtained.