Method for controlling electric cookers, comprising an internal pot , a heating element , a pressure regulating unit, a spill detection unit , a steamer housed within said internal pot , and said heating element heats up said internal pot , the bottom of said steamer has an open structure that extends towards the bottom wall and/or side wall of said internal pot ; said steamer comprising a water permeable area and a bearing cavity positioned above said water permeable area , an open top space formed by said open structure is interconnected with said bearing cavity through said water permeable area , the detection end of the spill detection unit is interconnected with said bearing cavity , and the top of said steamer is interconnected with the mouth of said internal pot ; said method of controlling electric cookers comprises the following steps: a soaking treatment, during which the heating element of said electric cooker heats up internal pot of said cooker, and said pressure regulating unit controls the pressure difference between said bearing cavity and separating cavity , which is formed by the external surface of said steamer and the internal wall of said internal pot , to push water from said internal pot into said bearing cavity to soak the rice contained within bearing cavity , and after maintaining the soaking up to a fourth preset time (t4), said pressure regulating unit adjusts the pressure difference between said separating cavity and said bearing cavity to draw water back into said internal pot ; a rice washing and cooking step, during which, in a single rice wash-and-cook cycle, said heating element heats up the internal pot within said electric cooker until said spill detection unit comes into contact with boiling water, and at this point, said heating element will stop operating and the cooker continues with the single rice wash-and-cook cycle to a first preset time (t1), and this cycle is repeated N1 times; rice steaming, during which said heating element heats up internal pot in said electric cooker. a soaking treatment, during which the heating element of said electric cooker heats up internal pot of said cooker, and said pressure regulating unit controls the pressure difference between said bearing cavity and separating cavity , which is formed by the external surface of said steamer and the internal wall of said internal pot , to push water from said internal pot into said bearing cavity to soak the rice contained within bearing cavity , and after maintaining the soaking up to a fourth preset time (t4), said pressure regulating unit adjusts the pressure difference between said separating cavity and said bearing cavity to draw water back into said internal pot ; a rice washing and cooking step, during which, in a single rice wash-and-cook cycle, said heating element heats up the internal pot within said electric cooker until said spill detection unit comes into contact with boiling water, and at this point, said heating element will stop operating and the cooker continues with the single rice wash-and-cook cycle to a first preset time (t1), and this cycle is repeated N1 times; rice steaming, during which said heating element heats up internal pot in said electric cooker. <EOS>