A communication method, comprising: receiving, by an access stratum, AS, of a terminal, a groupcast message, wherein the terminal corresponds to a member in a group; determining, by the AS of the terminal, a feedback resource based on a sequence number of the member; and sending, by the AS of the terminal, an acknowledgement, ACK/negative acknowledgement, NACK, message of the groupcast message based on the feedback resource, wherein the feedback resource is used for carrying the ACK/NACK message, wherein an index of the feedback resource corresponds to the sequence number of the member, wherein the determining, by the AS of the terminal, a feedback resource based on a sequence number of the member comprises: obtaining, by an application layer of the terminal, the sequence number of the member; sending, by the application layer of the terminal, the sequence number of the member to a vehicle-to-everything, V2X, layer of the terminal; and sending, by the V2X layer of the terminal, the sequence number of the member to the AS of the terminal, wherein the obtaining, by the application layer of the terminal, the sequence number of the member comprises: determining, by the application layer of the terminal, the sequence number of the member based on value(s) of application layer identifier(s) of one or more reachable members in the groups. receiving, by an access stratum, AS, of a terminal, a groupcast message, wherein the terminal corresponds to a member in a group; determining, by the AS of the terminal, a feedback resource based on a sequence number of the member; and sending, by the AS of the terminal, an acknowledgement, ACK/negative acknowledgement, NACK, message of the groupcast message based on the feedback resource, wherein the feedback resource is used for carrying the ACK/NACK message, wherein an index of the feedback resource corresponds to the sequence number of the member, wherein the determining, by the AS of the terminal, a feedback resource based on a sequence number of the member comprises: obtaining, by an application layer of the terminal, the sequence number of the member; sending, by the application layer of the terminal, the sequence number of the member to a vehicle-to-everything, V2X, layer of the terminal; and sending, by the V2X layer of the terminal, the sequence number of the member to the AS of the terminal, wherein the obtaining, by the application layer of the terminal, the sequence number of the member comprises: determining, by the application layer of the terminal, the sequence number of the member based on value(s) of application layer identifier(s) of one or more reachable members in the groups. obtaining, by an application layer of the terminal, the sequence number of the member; sending, by the application layer of the terminal, the sequence number of the member to a vehicle-to-everything, V2X, layer of the terminal; and sending, by the V2X layer of the terminal, the sequence number of the member to the AS of the terminal, wherein the obtaining, by the application layer of the terminal, the sequence number of the member comprises: determining, by the application layer of the terminal, the sequence number of the member based on value(s) of application layer identifier(s) of one or more reachable members in the groups.