The present application relates to the technical field of terminal devices. Provided are a network state detection method, a terminal device, and a computer-readable storage medium. By means of the present application, network state detection can be implemented on the basis of a
baseband processor and an
application processor of a terminal device, wherein the
baseband processor may report, to a network detection module in the
application processor, a caching duration of a data message in a cache
queue, and after receiving the caching duration of the data message, which caching duration is reported by the
baseband processor, the network detection module may determine an uplink network state of the terminal device according to the caching duration of the data message, which caching duration is reported by the
baseband processor. In the present application, a caching situation of a data message in a
baseband processor is used to dynamically determine a network state, such that not only can the network quality be obtained in a timely manner, but the accuracy of the network state can also be ensured.