Research on oil-well tubing damage monitoring of intelligent well based on FSM technology