The invention discloses an antenna and power joint allocation algorithm based on group match, which belongs to the field of mobile communication. The algorithm comprises the following steps: firstly, a simulation scene for an MIMO relay network is built; each transmission user transmits channel state information to a base station, and a channel state matrix is formed; the base station sets a threshold, transmission users are grouped, with the group as a unit, power of a transmission antenna in each group is adjusted and allocated, and the power is broadcasted to the transmission users; and finally, the base station uses groups of receiving users as units, power of all base station antennas in each group is adjusted and allocated, antennas inside the base station transmit data of the transmission users to the receiving users according to the power value after adjustment, and the communication process is over. The antenna and power joint allocation algorithm based on group match has the advantages that the group match algorithm is introduced in relay system resource allocation, the system resource allocation complexity is reduced, the calculation time is saved, and while QoS requirements of a user system are ensured, the system spectrum efficiency is maximum.