An electronic device, comprising an antenna component and a processor, wherein the antenna component comprises a first antenna structure, a second antenna structure, a third antenna structure, a radio frequency module and a control switch, the control switch is coupled to the processor; at least one of the first antenna structure, the second antenna structure and the third antenna structure acts as a master antenna, and at least one other of the first antenna structure, the second antenna structure and the third antenna structure acts as a diversity antenna, wherein the master antenna is configured to transmit and receive signals, the diversity antenna is configured to receive signals; the radio frequency module is coupled to the first antenna structure, the second antenna structure and the third antenna structure through the control switch; and the processor is arranged to: acquire transmit power of the at least one of the first antenna structure, the second antenna structure and the third antenna structure acting as a master antenna, and acquire receive power of the at least one other of the first antenna structure, the second antenna structure and the third antenna structure acting as a diversity antenna; and characterized in that the processor is further arranged to: when the transmit power of one antenna structure of the at least one of the first antenna structure, the second antenna structure and the third antenna structure acting as a master antenna which has the lowest transmit power is lower than a first threshold value, and the receive power of one antenna structure of the at least one other of the first antenna structure, the second antenna structure and the third antenna structure acting as a diversity antenna which has the highest receive power is higher than a second threshold value, control the control switch to switch the one antenna structure acting as a master antenna and having the lowest transmit power to a diversity antenna; and switch the one antenna structure acting as a diversity antenna and having the highest receive power to a master antenna; wherein the first threshold value is smaller than the second threshold value. acquire transmit power of the at least one of the first antenna structure, the second antenna structure and the third antenna structure acting as a master antenna, and acquire receive power of the at least one other of the first antenna structure, the second antenna structure and the third antenna structure acting as a diversity antenna; and characterized in that the processor is further arranged to: when the transmit power of one antenna structure of the at least one of the first antenna structure, the second antenna structure and the third antenna structure acting as a master antenna which has the lowest transmit power is lower than a first threshold value, and the receive power of one antenna structure of the at least one other of the first antenna structure, the second antenna structure and the third antenna structure acting as a diversity antenna which has the highest receive power is higher than a second threshold value, control the control switch to switch the one antenna structure acting as a master antenna and having the lowest transmit power to a diversity antenna; and switch the one antenna structure acting as a diversity antenna and having the highest receive power to a master antenna; wherein the first threshold value is smaller than the second threshold value.