主权项 |
1. A switch, comprising:
a storage unit, recording a plurality of modules; a plurality of ports, coupled to a plurality of access points, wherein the plurality of access points serve a plurality of clients; a power control unit, providing a power to the plurality of access points through the plurality of ports, respectively; and a processing unit, coupled to the storage unit, the plurality of ports and the power control unit, executing the plurality of modules in the storage unit, the plurality of modules comprising:
a determination module, determining whether a first system time of the switch is in a preset time interval;a switch module, when the first system time is in the preset time interval, switching the switch to a first mode and sending a first switch signal indicating the first mode to the plurality of access points;a collecting module, collecting a coverage over the plurality of clients sent back by each of the plurality of access points in response to the first switch signal;a searching module, searching for at least one first access point sufficient for serving the plurality of clients among the plurality of access points based on the coverage of each of the plurality of access points; andan adjustment module, disabling at least one second access point among the plurality of access points other than the at least one first access point after a preset time. |