An antenna assembly, comprising: a metal housing comprising a peripheral frame provided with at least one slot zone , the at least one slot zone dividing the peripheral frame into at least one segment of a frame body , each of the at least one slot zone comprising at least three adjacent slots forming metal parts of the peripheral frame being respectively provided between the at least three adjacent slots ; and at least one switch , the switch comprising a first end and at least one second end , wherein the at least three slots are arranged at unequal intervals, the first end is electrically coupled to the frame body divided by the slot zone , the at least one second end is electrically coupled to one of the metal parts , and the at least one segment of the frame body divided by the at least one slot zone is an independent antenna comprised by the antenna assembly, characterized in that the peripheral frame is provided with four slot zones and every two slot zones form one segment of the frame body such that four frame bodies are formed; the frame bodies at least comprise a first frame body and a second frame body , the first frame body is a GPS antenna, and the second frame body is a Wi-Fi antenna; and two switches are provided, the first frame body is electrically coupled to the one or more metal parts within one adjacent slot zone by means of one of the two switches , and the second frame body is electrically coupled to the one or more metal parts within another adjacent slot zone by means of the other of the two switches , wherein the antenna assembly further comprises a matching circuit and a radio frequency circuit , the matching circuit is located between the radio frequency circuit and the first frame body , and is electrically coupled to the radio frequency circuit and the first frame body . a metal housing comprising a peripheral frame provided with at least one slot zone , the at least one slot zone dividing the peripheral frame into at least one segment of a frame body , each of the at least one slot zone comprising at least three adjacent slots forming metal parts of the peripheral frame being respectively provided between the at least three adjacent slots ; and at least one switch , the switch comprising a first end and at least one second end , wherein the at least three slots are arranged at unequal intervals, the first end is electrically coupled to the frame body divided by the slot zone , the at least one second end is electrically coupled to one of the metal parts , and the at least one segment of the frame body divided by the at least one slot zone is an independent antenna comprised by the antenna assembly, characterized in that the peripheral frame is provided with four slot zones and every two slot zones form one segment of the frame body such that four frame bodies are formed; the frame bodies at least comprise a first frame body and a second frame body , the first frame body is a GPS antenna, and the second frame body is a Wi-Fi antenna; and two switches are provided, the first frame body is electrically coupled to the one or more metal parts within one adjacent slot zone by means of one of the two switches , and the second frame body is electrically coupled to the one or more metal parts within another adjacent slot zone by means of the other of the two switches , wherein the antenna assembly further comprises a matching circuit and a radio frequency circuit , the matching circuit is located between the radio frequency circuit and the first frame body , and is electrically coupled to the radio frequency circuit and the first frame body . <EOS>