Based on an analysis of hidden dangers and security problems existing in current anti-misoperation system design and operation flow, a restraint mechanism is proposed. An anti-misoperation system is developed and applied in practice, which considered many requirements such as real time of the system state, anti-misoperation for the whole grid, integrated control of the operation flow, whole intelligent check, extendable ability, self-define function of the customer requirement and so on.