A Device-to-Device, D2D, communication method, the method comprising: sending, by a first terminal, a first message to a network device, wherein the first message is configured to request acquisition of attribute information of a second terminal; receiving, by the first terminal, a second message sent by the network device, wherein the second message is configured to indicate the attribute information of the second terminal; and performing, by the first terminal, data transmission with the second terminal on the basis of the attribute information of the second terminal, the attribute information of the second terminal being first capability information or second capability information, characterized in that, when the attribute information of the second terminal is the first capability information, performing, by the first terminal, the data transmission with the second terminal on the basis of the attribute information of the second terminal further comprises: performing, by the first terminal, the data transmission with the second terminal on the basis of the first capability information of the second terminal, wherein the first capability information comprises at least one of a maximum receiving bandwidth, a maximum sending bandwidth, a maximum data block size that can be sent, a maximum data block size that can be received, a number of transmit antennas or a number of receive antennas of the second terminal during data transmission with the first terminal. sending, by a first terminal, a first message to a network device, wherein the first message is configured to request acquisition of attribute information of a second terminal; receiving, by the first terminal, a second message sent by the network device, wherein the second message is configured to indicate the attribute information of the second terminal; and performing, by the first terminal, data transmission with the second terminal on the basis of the attribute information of the second terminal, the attribute information of the second terminal being first capability information or second capability information, characterized in that, when the attribute information of the second terminal is the first capability information, performing, by the first terminal, the data transmission with the second terminal on the basis of the attribute information of the second terminal further comprises: performing, by the first terminal, the data transmission with the second terminal on the basis of the first capability information of the second terminal, wherein the first capability information comprises at least one of a maximum receiving bandwidth, a maximum sending bandwidth, a maximum data block size that can be sent, a maximum data block size that can be received, a number of transmit antennas or a number of receive antennas of the second terminal during data transmission with the first terminal. performing, by the first terminal, the data transmission with the second terminal on the basis of the first capability information of the second terminal, wherein the first capability information comprises at least one of a maximum receiving bandwidth, a maximum sending bandwidth, a maximum data block size that can be sent, a maximum data block size that can be received, a number of transmit antennas or a number of receive antennas of the second terminal during data transmission with the first terminal.