A switching power supply for preventing the inflow of an electric current from an external when it stops operating. In an embodiment, a method includes capturing a network data using a virtual software switch, a processor, and a memory. The invention also relates to a terminal comprising the invented transmit scheduler.