Similar behaviors between FRB 121102 and solar type III radio bursts