A data transmission method, comprising: generating, by a first access point, AP, a first trigger frame, wherein the first trigger frame comprises identification information of at least one second AP and resource allocation information indicating a first communication resource of the at least one second AP, the first communication resource is used for data transmission between the at least one second AP and an associated station, and the first trigger frame is used to trigger the at least one second AP to perform data transmission with the associated station by using the first communication resource, wherein the first trigger frame comprises at least one user information field, and one user information field in the at least one user information field corresponds to one second AP in the at least one second AP; the user information field comprises an AID subfield and a resource allocation subfield, the AID subfield comprises identification information of the second AP corresponding to the user information field, and the resource allocation subfield comprises resource allocation information of the second AP corresponding to the user information field; or the user information field comprises an AID subfield, a first subfield, and a resource allocation subfield, the AID subfield is a preset AID value, the first subfield comprises identification information of the second AP corresponding to the user information field, and the resource allocation subfield comprises resource allocation information of the second AP corresponding to the user information field, wherein the user information field further comprises a temporary primary channel identifier, and the temporary primary channel identifier is used to indicate a primary channel used by the second AP corresponding to the user information field to perform data transmission with the associated station; and sending, by the first AP, the first trigger frame to the at least one second AP. generating, by a first access point, AP, a first trigger frame, wherein the first trigger frame comprises identification information of at least one second AP and resource allocation information indicating a first communication resource of the at least one second AP, the first communication resource is used for data transmission between the at least one second AP and an associated station, and the first trigger frame is used to trigger the at least one second AP to perform data transmission with the associated station by using the first communication resource, wherein the first trigger frame comprises at least one user information field, and one user information field in the at least one user information field corresponds to one second AP in the at least one second AP; the user information field comprises an AID subfield and a resource allocation subfield, the AID subfield comprises identification information of the second AP corresponding to the user information field, and the resource allocation subfield comprises resource allocation information of the second AP corresponding to the user information field; or the user information field comprises an AID subfield, a first subfield, and a resource allocation subfield, the AID subfield is a preset AID value, the first subfield comprises identification information of the second AP corresponding to the user information field, and the resource allocation subfield comprises resource allocation information of the second AP corresponding to the user information field, wherein the user information field further comprises a temporary primary channel identifier, and the temporary primary channel identifier is used to indicate a primary channel used by the second AP corresponding to the user information field to perform data transmission with the associated station; and sending, by the first AP, the first trigger frame to the at least one second AP.