Most of people have the habit of not cutting off power when equipment is shut down. This wastes a large amount of power. In view of this situation, an intelligent socket is proposed, which can produce operating states of electrical equipment through human-machine interaction and memorize these states in its non-volatile memory. With the number of use increasing, the socket can store more and more the running states of appliances and become more and more intelligent, which can make it cut off the power when appliances stop running and save a lot of power. This paper discusses the basic architecture of this kind of socket, abstracts two-tuple status model memorizing the running states of appliances, and designs the control algorithm based on the status model which can produce new running states or adjust old running states and yield instructions to power on or power off the socket.