A method for identifying a type of an electronic device on a smart socket, the method comprising: obtaining a target power-on state parameter of a target electronic device connected to the smart socket and in a power-on state, wherein the target power-on state parameter is an electrical power stability parameter which is a function of whether or not power consumption of the target electronic device goes above or below predetermined limits during a specific time; identifying a target type of the target electronic device based on the target power-on state parameter, wherein the target type corresponding to the target power-on state parameter is identified based on a target correspondence table, and the target correspondence table contains correspondences between power-on state parameters and respective electronic device types; and outputting the target type, wherein the smart socket has a built-in electrical power meter used to measure power usage of the target electronic device plugged into the smart socket, and wherein said obtaining the electrical power stability parameter of the target electronic device connected to the smart socket and in the power-on state comprises: obtaining, during a predetermined time period, a target electrical power parameter of the target electronic device connected to the smart socket and in the power-on state; and determining the electrical power stability parameter of the target electronic device based on the target electrical power parameter. obtaining a target power-on state parameter of a target electronic device connected to the smart socket and in a power-on state, wherein the target power-on state parameter is an electrical power stability parameter which is a function of whether or not power consumption of the target electronic device goes above or below predetermined limits during a specific time; identifying a target type of the target electronic device based on the target power-on state parameter, wherein the target type corresponding to the target power-on state parameter is identified based on a target correspondence table, and the target correspondence table contains correspondences between power-on state parameters and respective electronic device types; and outputting the target type, wherein the smart socket has a built-in electrical power meter used to measure power usage of the target electronic device plugged into the smart socket, and wherein said obtaining the electrical power stability parameter of the target electronic device connected to the smart socket and in the power-on state comprises: obtaining, during a predetermined time period, a target electrical power parameter of the target electronic device connected to the smart socket and in the power-on state; and determining the electrical power stability parameter of the target electronic device based on the target electrical power parameter. obtaining, during a predetermined time period, a target electrical power parameter of the target electronic device connected to the smart socket and in the power-on state; and determining the electrical power stability parameter of the target electronic device based on the target electrical power parameter.