1. A method for handling abnormality of a network communication function, comprising:determining that the network communication function of a modem is abnormal;
disconnecting the modem from a current cell;
setting the current cell to be a barred cell, and setting a first barring duration within which the barred cell is barred; and
when a duration within which the barred cell is barred is shorter than the first barring duration, searching for one or more cells corresponding to a Radio Access Technology (RAT) supported by the modem, the cells excluding the barred cell.