A non-transitory storage medium storing a set of instructions, the set of instructions capable of being executed by a processor of a wireless communication device to perform a method for switching alert modes of the wireless communication device, the method comprising:
- receiving a message periodically broadcast by a wireless broadcast device placed within a location after the wireless communication device enters the location, and determining a type of the location and a broadcast period of the message by analyzing the message;
- setting a check period for periodically checking whether the wireless communication device receives the message based on the broadcast period of the message;
- checking if a present alert mode of the wireless communication device is suitable for the type of the location after the wireless communication device receives the message in a present check period;
- and
- automatically switching the wireless communication device from the present alert mode to a new alert mode that is suitable for the location type, in response that the present alert mode of the wireless communication device is not suitable for the type of the location.