A network access card switching method, wherein the method is applied to an electronic device, at least a first network access card and a second network access card are installed on the electronic device, the first network access card is a default mobile data card of the electronic device, and the method comprises: detecting a first operation of a user, wherein the first operation is an operation that the user enables an automatic network access card switching function; in response to the first operation, enabling the automatic network access card switching function; transmitting a data service by using the first network access card; determining that a network state of the first network access card meets a first preset condition; and in response to the case that the network state of the first network access card meets the first preset condition, automatically disconnecting the data service transmitted by using the first network access card, activating the second network access card, and transmitting the data service by using the second network access card; after activating the second network access card, and transmitting the data service by using the second network access card, determining the network state of the first network access card meets a second preset condition; in response to the case that the network state of the first network access card meets the second preset condition, automatically disconnecting the data service transmitted by using the second network access card, activating the first network access card, and transmitting the data service by using the first network access card, characterised in that the method further comprises: after switching from the first network access card to the second network access card, if a network speed of the second network access card is limited, performing network access card switching from the second network access card back to the first network access card, stopping using the automatic network access card switching function within a preset time, the preset time being the current month, and automatically resuming the automatic network access card switching function after the preset time expires. detecting a first operation of a user, wherein the first operation is an operation that the user enables an automatic network access card switching function; in response to the first operation, enabling the automatic network access card switching function; transmitting a data service by using the first network access card; determining that a network state of the first network access card meets a first preset condition; and in response to the case that the network state of the first network access card meets the first preset condition, automatically disconnecting the data service transmitted by using the first network access card, activating the second network access card, and transmitting the data service by using the second network access card; after activating the second network access card, and transmitting the data service by using the second network access card, determining the network state of the first network access card meets a second preset condition; in response to the case that the network state of the first network access card meets the second preset condition, automatically disconnecting the data service transmitted by using the second network access card, activating the first network access card, and transmitting the data service by using the first network access card, characterised in that the method further comprises: after switching from the first network access card to the second network access card, if a network speed of the second network access card is limited, performing network access card switching from the second network access card back to the first network access card, stopping using the automatic network access card switching function within a preset time, the preset time being the current month, and automatically resuming the automatic network access card switching function after the preset time expires.