The embodiment of the invention discloses a method and device for preventing an STA from being disconnected, a storage medium and an AP, and relates to the field of
wireless communication. The method comprises the following steps that: an AP (Access Point) firstly acquires the monitoring intervals of all STAs (
Station) in a low-power-consumption mode, determines the maximum monitoring interval and calculates the integral multiple LI of the maximum monitoring interval and a
Beacon interval; setting an aggregation constraint interval length of a basic time interval formed by LI
Beacon intervals; and when a trigger
signal is detected, sequentially setting an aggregation frame sending interval, a block
acknowledgement frame receiving interval and a
Beacon frame sending interval in the LI basic time intervals of the aggregation constraint interval, and limiting the interval length between the end of the aggregation frame sending interval and the start of the
Beacon frame sending interval. And after
data transmission is completed, waiting for a next trigger
signal appearing according to a Tlos / n period. According to the method, the problem that the STA in the low-power-consumption mode is disconnected due to the fact that the sending duration of the aggregation frame is too long is effectively avoided, and the stability of
data transmission and the communication continuity are guaranteed.