A study on mechanism of resistance distribution characteristics of oxide-based resistive memory