1. A method in an electronic device, comprising: detecting a voice signal and recognizing speech thereof; when the speech is recognized to contain a wakeup command, activating a voice command mode and transmitting a transmit signal containing at least a portion of the detected voice signal to a server; and receiving and processing a control signal or a result signal generated and transmitted by the server in response to a voice command within the transmit signal recognized by the server.