A channel resource allocation method, wherein the method comprises: establishing, by a first network device (AP, 120), at least two links between the first network device (AP, 120) and a second network device (STA, 140), wherein each link supports beamforming data transmission; obtaining, by the first network device (AP, 120), a millimeter-wave radio channel resource between the first network device (AP, 120) and the second network device (STA, 140); dividing the radio channel resource into a plurality of slots, wherein each slot is used for data transmission on one link, and two adjacent slots correspond to two different links; and transmitting, by the first network device (AP, 120), data on a corresponding link in the plurality of slots; wherein the transmitting, by the first network device (AP, 120), data on a corresponding link in the plurality of slots comprises: determining, by the first network device (AP, 120), an optimal link in the at least two links; sending, by the first network device (AP, 120), first information in a slot corresponding to the optimal link, wherein the first information is used to perform channel estimation and data monitoring on the optimal link; and sending second information in a slot corresponding to a link other than the optimal link, wherein the second information is used to maintain a heartbeat; obtaining, by the first network device (AP, 120), reference information of the second network device (STA, 140), wherein the reference information comprises at least one of the following: a signal-to-noise ratio, SNR, a packet loss rate, channel state information, CSI, a channel quality indicator, CQI, a data packet transmission delay, and quality of service, QoS, at a system layer and an application layer; and adjusting, by the first network device (AP, 120) based on the reference information, a length of a slot allocated to each link comprising determining, by the first network device (AP, 120) based on the reference information, that when the optimal link is faulty, a slot allocated to the optimal link is changed to a slot corresponding to the link other than the optimal link. establishing, by a first network device (AP, 120), at least two links between the first network device (AP, 120) and a second network device (STA, 140), wherein each link supports beamforming data transmission; obtaining, by the first network device (AP, 120), a millimeter-wave radio channel resource between the first network device (AP, 120) and the second network device (STA, 140); dividing the radio channel resource into a plurality of slots, wherein each slot is used for data transmission on one link, and two adjacent slots correspond to two different links; and transmitting, by the first network device (AP, 120), data on a corresponding link in the plurality of slots; wherein the transmitting, by the first network device (AP, 120), data on a corresponding link in the plurality of slots comprises: determining, by the first network device (AP, 120), an optimal link in the at least two links; sending, by the first network device (AP, 120), first information in a slot corresponding to the optimal link, wherein the first information is used to perform channel estimation and data monitoring on the optimal link; and sending second information in a slot corresponding to a link other than the optimal link, wherein the second information is used to maintain a heartbeat; obtaining, by the first network device (AP, 120), reference information of the second network device (STA, 140), wherein the reference information comprises at least one of the following: a signal-to-noise ratio, SNR, a packet loss rate, channel state information, CSI, a channel quality indicator, CQI, a data packet transmission delay, and quality of service, QoS, at a system layer and an application layer; and adjusting, by the first network device (AP, 120) based on the reference information, a length of a slot allocated to each link comprising determining, by the first network device (AP, 120) based on the reference information, that when the optimal link is faulty, a slot allocated to the optimal link is changed to a slot corresponding to the link other than the optimal link. determining, by the first network device (AP, 120), an optimal link in the at least two links; sending, by the first network device (AP, 120), first information in a slot corresponding to the optimal link, wherein the first information is used to perform channel estimation and data monitoring on the optimal link; and sending second information in a slot corresponding to a link other than the optimal link, wherein the second information is used to maintain a heartbeat; obtaining, by the first network device (AP, 120), reference information of the second network device (STA, 140), wherein the reference information comprises at least one of the following: a signal-to-noise ratio, SNR, a packet loss rate, channel state information, CSI, a channel quality indicator, CQI, a data packet transmission delay, and quality of service, QoS, at a system layer and an application layer; and adjusting, by the first network device (AP, 120) based on the reference information, a length of a slot allocated to each link comprising determining, by the first network device (AP, 120) based on the reference information, that when the optimal link is faulty, a slot allocated to the optimal link is changed to a slot corresponding to the link other than the optimal link.