An electronic device comprising: - a plurality of microphones; - a first signal processing module; - a second signal processing unit; - a direction of arrival, DOA, decision unit; and - a beamforming module, wherein the first signal processing module is configured to - detect specific audio data by comparing audio data, collected by a microphone of the plurality of microphones, with a voice recognition model, and - when the specific audio data is detected, transfer a wakeup command to the DOA decision unit, wherein the DOA decision unit is configured to: - when the wakeup command is received, determine a direction of arrival, and generate information comprising a weight parameter associated with weighting the plurality of microphones, based on audio data collected from the plurality of microphones, and - transfer the weight parameter to the beamforming module, wherein the beamforming module is configured to: - compute audio data obtained by performing beamforming of audio data collected by the plurality of microphones by applying weights to the plurality of microphones according to the weight parameter, and - transfer the beamformed audio data to the second signal processing unit, and wherein the second signal processing unit is configured to: - execute voice recognition on the transferred beamformed audio data to obtain a voice recognition result for controlling to perform a specific function according to the recognition result. - a plurality of microphones; - a first signal processing module; - a second signal processing unit; - a direction of arrival, DOA, decision unit; and - a beamforming module, wherein the first signal processing module is configured to - detect specific audio data by comparing audio data, collected by a microphone of the plurality of microphones, with a voice recognition model, and - when the specific audio data is detected, transfer a wakeup command to the DOA decision unit, - detect specific audio data by comparing audio data, collected by a microphone of the plurality of microphones, with a voice recognition model, and - when the specific audio data is detected, transfer a wakeup command to the DOA decision unit, wherein the DOA decision unit is configured to: - when the wakeup command is received, determine a direction of arrival, and generate information comprising a weight parameter associated with weighting the plurality of microphones, based on audio data collected from the plurality of microphones, and - transfer the weight parameter to the beamforming module, - when the wakeup command is received, determine a direction of arrival, and generate information comprising a weight parameter associated with weighting the plurality of microphones, based on audio data collected from the plurality of microphones, and - transfer the weight parameter to the beamforming module, wherein the beamforming module is configured to: - compute audio data obtained by performing beamforming of audio data collected by the plurality of microphones by applying weights to the plurality of microphones according to the weight parameter, and - transfer the beamformed audio data to the second signal processing unit, and - compute audio data obtained by performing beamforming of audio data collected by the plurality of microphones by applying weights to the plurality of microphones according to the weight parameter, and - transfer the beamformed audio data to the second signal processing unit, and wherein the second signal processing unit is configured to: - execute voice recognition on the transferred beamformed audio data to obtain a voice recognition result for controlling to perform a specific function according to the recognition result. - execute voice recognition on the transferred beamformed audio data to obtain a voice recognition result for controlling to perform a specific function according to the recognition result.