The terminal 40 may further include the power supply 412 (for example, a battery) supplying power to all components. Optionally, the power supply 412 may be logically connected to the processor 411 through a power management system. In this way, functions such as charge management, discharge management, and power consumption management are implemented by using the power management system.
In addition, the terminal 40 includes some functional modules that are not illustrated. Details are not described herein.
Optionally, some embodiments of this disclosure further provide a terminal, including a processor 411, a memory 490, and a computer program that is stored in the memory 490 and capable of running on the processor 411. When the computer program is executed by the processor 411, the processes in the embodiments of the state detection method, for network communication, applied to a terminal side are implemented, and a same technical effect can be achieved. To avoid repetition, details are not described herein again.
Some embodiments of this disclosure further provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processes in the embodiments of the state detection method, for network communication, applied to a terminal side are implemented, and a same technical effect can be achieved. To avoid repetition, details are not described herein again. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disc.